Universal Unit Converter (Length, Weight, Area, Volume)

Kilometers to miles, kg to pounds, liters to gallons, °C to °F, KB to GB — one box for the everyday conversions you keep Googling.

—
—
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/unit-converter" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/unit-converter" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Universal Unit Converter</a></div>

Conversions worth knowing

How the estimate is derived

CATS holds one table per category, and every unit is a [symbol, factor] pair relative to that category's base unit. toBase() converts your input into the base, fromBase() multiplies it out to each of the others, and fill() rewrites the whole table from a single edit — which is why changing one field updates every row at once. Temperature is the exception: it carries a named unit and uses offset formulas instead of a factor, because Celsius and Fahrenheit do not share a zero point and a pure multiplication cannot express that.

When not to rely on it

Conversions are linear, so quantities whose factor itself depends on temperature, pressure or concentration — density, viscosity, some fuel volumes — come out approximate. Extreme magnitudes run into floating-point limits beyond about the sixth significant digit, so a value like 1e-9 metres is displayed but not trustworthy. Currency is absent on purpose: rates move, and a static table would be wrong within a day.

Privacy: health data never leaves your device

Every factor is a number in the page source and the arithmetic runs on your input directly — no lookup service, so the value you type is never transmitted.

Frequently asked questions

Why is a high-temperature conversion slightly off?

Temperature uses offset formulas rather than factors, and the constants are rounded. The error is in the last displayed digit, not in the method.

How precise is the output?

Six significant digits are shown. Beyond that you are reading floating-point noise, which is why very small or very large values look odd.

Can I add my own units?

Not in the UI. The tables are fixed in the page source, so a custom unit means editing the array — which keeps the conversions consistent rather than letting arbitrary factors in.