Unit Converter

Convert length, weight and volume units in your browser — pick a category, type a value, and see the result instantly. Every conversion goes through a fixed base unit using standard factors.

Utility ToolsPopular Free No upload Instant

Loading Unit Converter…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

Choose a category — Length, Weight or Volume — pick the 'from' and 'to' units, and type a value; the converted figure appears straight away, rounded to six decimals. Each conversion runs through a base unit (metre, kilogram or litre) using fixed, standard factors, so it is exact and reproducible. The volume units are US customary (a 3.785-litre gallon), and 'ton' means the metric tonne. Everything runs locally in your browser.

What the Unit Converter Does

Pick Length, Weight or Volume; the unit menus fill with that category's options, and the result updates live as you type. Length covers metre, kilometre, centimetre, mile, yard, foot and inch; Weight covers kilogram, gram, pound, ounce and tonne; Volume covers litre, millilitre, US gallon, US cup and cubic metre.

There is no rounding surprise to hunt for: the answer is shown to six decimal places with trailing zeros trimmed, and the maths is the same every time. Nothing is sent anywhere — the conversion happens entirely on your device.

How It Works

Every unit is stored as a factor relative to one base unit per category — the metre for length, the kilogram for weight, the litre for volume. To convert, the tool turns your value into the base unit (value times the 'from' factor), then out of it (divide by the 'to' factor). One multiply, one divide.

Those factors come from the standard definitions: an inch is exactly 25.4 mm, a foot 0.3048 m, a yard 0.9144 m, and a pound 0.45359237 kg (held here to six figures). Because the route always passes through the base unit, any pair in a category converts correctly without storing a separate factor for every combination.

Data source & conversion logic

Conversion factors are the internationally agreed definitions — the 1959 international yard-and-pound agreement (inch 25.4 mm, yard 0.9144 m, pound 0.45359237 kg) for imperial length and weight, US customary definitions for volume (gallon 3.785 L, cup 236.6 mL), and the metric tonne (1,000 kg). They are constants baked into the tool, so the result never depends on a network call.

  1. Read the value and units. Take your number plus the chosen 'from' and 'to' units within one category (Length, Weight or Volume).
  2. Convert into the base unit. Multiply by the 'from' factor to express the value in the category's base unit — metre, kilogram or litre.
  3. Convert out to the target. Divide by the 'to' factor to land on the requested unit.
  4. Round and show. Round to six decimal places, trim trailing zeros, and display the result live.

Conversion through a base unit

result = value × factor(from) ÷ factor(to) (factor = the unit's size in the category's base unit: metre, kilogram or litre)
Worked examples
5 miles → kilometres: 5 × 1609.34 ÷ 1000 = 8.0467 km
2 pounds → grams: 2 × 0.453592 ÷ 0.001 = 907.184 g
3 US gallons → litres: 3 × 3.78541 ÷ 1 = 11.35623 L

Results are rounded to six decimal places with trailing zeros removed. The mile and pound factors are held to six significant figures (true values 1609.344 m and 0.45359237 kg), so very large conversions can differ in the last digit.

Technical Details

CategoriesLength, Weight, Volume
Length unitsmetre, km, cm, mile, yard, foot, inch
Weight unitskilogram, gram, pound, ounce, tonne
Volume unitslitre, millilitre, US gallon, US cup, cubic metre
MethodFactor through a base unit (metre / kg / litre)
Volume systemUS customary (not imperial)
'ton'Metric tonne — 1,000 kg
Rounding6 decimal places, trailing zeros trimmed
Where it runsIn your browser — nothing uploaded

Standards & references

  • 1959 international yard and pound — fixes the inch at 25.4 mm, the yard at 0.9144 m and the avoirdupois pound at 0.45359237 kg — the basis for the length and weight factors.
  • SI base units — the metre, kilogram and litre act as the base units each conversion passes through.
  • US customary volume — the gallon (3.78541 L) and cup (236.588 mL) here are US, not imperial — a UK gallon is about 20% larger.

Accuracy & Limitations

Volume is US customary. The gallon is 3.785 L and the cup 236.6 mL — a UK (imperial) gallon is about 20% larger at 4.546 L, so do not use these for a British recipe or fuel figure.

'Ton' here is the metric tonne (1,000 kg), not the US short ton (907 kg) or the UK long ton (1,016 kg). Check which one your source means.

The mile and pound factors are held to six figures (1609.34 m, 0.453592 kg) rather than their full exact values (1609.344 m, 0.45359237 kg). The difference is microscopic for everyday use but can show in the last digit of a very large conversion.

Results round to six decimal places, so an exact fraction such as one-third of a unit is shown rounded, not as a repeating decimal.

It covers length, weight and volume only — not temperature, area, speed, data size, pressure or time. Temperature in particular is not a simple factor (it has an offset), which is why it is a separate tool.

Real-World Use Cases

Recipes and cooking

Convert cups, millilitres and grams while following a recipe from another country.

DIY and measuring

Switch between inches, centimetres, feet and metres for a build or a room.

Travel

Make sense of miles, kilometres, pounds and kilograms when you are abroad.

Homework and study

Check unit-conversion answers with the factor shown so you can reproduce them.

When to use it — and when not to

Good for

  • Everyday length, weight and volume conversions
  • Quick checks where six-decimal precision is plenty
  • US customary cooking and measuring
  • Seeing the conversion factor, not just the answer

Not the best choice for

  • Imperial (UK) gallons, pints or fluid ounces
  • Temperature, area, speed, data or pressure
  • Distinguishing short ton vs long ton vs tonne
  • Trade or legal measurement needing certified exactness

Converting temperatures? Use the temperature converter — it needs an offset, not a factor. Need imperial UK volumes, or units outside length, weight and volume? This tool does not cover them.

Frequently Asked Questions

Which gallon and cup does it use?
US customary: the gallon is 3.78541 L and the cup 236.588 mL. A UK imperial gallon is about 20% bigger (4.546 L), so do not mix the two systems up.
Is 'ton' a metric tonne or a US ton?
The metric tonne, 1,000 kg. It is not the US short ton (about 907 kg) or the UK long ton (about 1,016 kg).
How does it convert between two units?
It turns your value into the category's base unit (metre, kilogram or litre) using the 'from' factor, then divides by the 'to' factor. One multiply and one divide.
Where do the conversion factors come from?
Standard definitions: the 1959 international yard-and-pound agreement for length and weight, and US customary definitions for volume. They are constants in the tool, with no lookup or network call.
Why six decimal places?
It is a balance — enough precision for everyday use without a wall of digits. Trailing zeros are trimmed so the answer stays readable.
Can it convert temperature?
No. Temperature is not a simple ratio — it has an offset (0 °C is 273.15 K) — so it lives in a separate temperature converter.
Does it do area, speed or data sizes?
Not at the moment. It covers length, weight and volume; area, speed, time, pressure and data size are out of scope.
Is the mile factor exact?
It is 1609.34 m, rounded from the exact 1609.344 m, and the pound is 0.453592 kg versus the exact 0.45359237 kg. The gap only shows in the last digit of very large conversions.
Is an ounce weight or volume here?
Weight — the avoirdupois ounce, about 28.35 g. A US fluid ounce is a unit of volume and a different thing; it is not offered.
Is my data sent anywhere?
No. The conversion runs entirely in your browser with no network call.
Why does my answer differ from another converter?
Usually because the other one used imperial volume, a different kind of 'ton', or more decimal places. Check that the units and system match before comparing.
Can it convert nautical miles or light-years?
No. Length here is metre, kilometre, centimetre, mile, yard, foot and inch only.

References

Uses the internationally agreed factors — the 1959 yard-and-pound definitions and US customary volume — held as constants in the page; the conversion is exact and runs entirely in your browser.

PopularHot

QR Code Generator

QR Code Generator online: fast, lightweight and always one click away.

UtilityOpen Tool
Popular

Stopwatch and Timer

Use Stopwatch and Timer anytime, free and private, with no app to install.

UtilityOpen Tool
Popular

Online Notepad

Use Online Notepad anytime, free and private, with no app to install.

UtilityOpen Tool
Trending

Barcode Generator

Barcode Generator online: fast, lightweight and always one click away.

UtilityOpen Tool
Trending

Random Name Picker

Use Random Name Picker anytime, free and private, with no app to install.

UtilityOpen Tool
Trending

Pomodoro Timer

Use Pomodoro Timer anytime, free and private, with no app to install.

UtilityOpen Tool

Ready to try the Unit Converter?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.