Unit Converter
Convert length, weight, temperature, speed, volume and area units.
Reviewed by Aygul Dovletova · Last reviewed
Using the Quick Unit Converter
- Pick a category tab at the top: Length, Weight, Temperature, Speed, Volume or Area. This converter is tuned for quick jumps between the most common measurements in each of those six domains.
- Pick the "From" unit inside the active tab. Each category ships a curated short list rather than every obscure variant.
- Type a number. The output recomputes on every keystroke via a Preact
onInputhandler - no submit button to press. - Pick the "To" unit.
- Swap direction with the swap button, or Copy the result to your clipboard through the Clipboard API.
Quick vs Full Catalog - What This Tool Optimizes For
This page exposes a tight set of units per category - the ones 95% of users need. The sibling "All-in-One Unit Converter" (/tools/unit-converter-all/) carries a broader catalog with extras like astronomical units, nautical miles, Imperial gallons and acres. Pick this page when you want speed and a small, non-confusing dropdown; pick the full-catalog page when you need an exotic unit. Under the hood both tools use the same strategy: every unit is stored as a factor relative to an SI base (meter, kilogram, second, kelvin), and conversion is one multiplication and one division in IEEE 754 double precision. Temperature is the exception - it uses affine formulas (slope + offset) because the Celsius, Fahrenheit and Kelvin scales do not share a zero point. Everything runs inside the Preact component in your browser; nothing is sent to a server for the math itself.
When to Reach For It
- Converting a recipe ingredient amount between cups and milliliters on the fly in the kitchen.
- Translating a single dimension on a shipping label between cm and inches.
- Checking an oven temperature from a European cookbook in Celsius against a US dial in Fahrenheit.
- Comparing a car\'s top speed in mph against the km/h figure on a European spec sheet.
- Sanity-checking an apartment listing\'s floor area quoted in square meters against square feet.
- Filling out a customs or medical form that wants weight in kilograms when you only know the pound figure.
Pitfalls
Three worth highlighting. First, temperature is not linear between Celsius and Fahrenheit - it is affine. That means a 10 C interval equals an 18 F interval (slope only), whereas 10 C equals 50 F (the offset matters). The tool applies the right affine formula automatically for readings; if you are converting an interval, work it out manually. Second, US vs Imperial ambiguity: this page uses US gallons, US tons and US cups by default because US traffic dominates. If you are in the UK or a commonwealth country, cross-check with the all-in-one converter, which exposes Imperial variants. Third, category boundaries: you cannot convert a length to a volume. If you want to know "how many liters fit in a 1 m cube", use the length tool to get the cube\'s edge, cube it to get cubic meters, then use the volume tool - the converter will not do it in one shot.
Where the Conversion Factors Come From
Length, mass, time, temperature: SI Brochure (BIPM, 9th edition, 2019). US customary definitions (inch, foot, mile, pound, ounce): the 1959 international yard and pound agreement, codified in NIST Special Publication 811. Volume: US gallon = 3.785411784 L exactly, US cup = 236.5882365 mL exactly (NIST), US fluid ounce = 1/128 gallon = 29.5735295625 mL exactly. Area: acre = 4046.8564224 m^2 exactly (64 / 10000 of a square mile). Speed factors inherit from length and time definitions: mph, km/h, m/s, knot. Since the 2019 SI redefinition, every base unit is fixed by a defining constant (Planck h, elementary charge e, Boltzmann k, Avogadro N_A), making every derived conversion mathematically exact at the definition level. The only rounding you see is the 10-significant-digit output cap.
Alternatives
Spotlight on macOS and the Windows calculator both handle common conversions inline. Google\'s search box handles "10 miles in km" with zero clicks but sends your query through a server. The GNU units CLI handles every unit imaginable (barleycorns, furlongs, hands, cubits, Planck length) plus unit algebra like cc/min versus L/s. Scientific stacks - Python\'s pint, MATLAB unit types, Julia\'s Unitful.jl - propagate units through formulas and catch mismatches at compile or run time. Choose this page when you want six-category speed with no installation; choose the all-in-one sibling for broader unit coverage; choose a language library for scripted arithmetic.
Frequently Asked Questions
How is this different from the all-in-one converter?
This quick converter exposes a curated short list of units per category - the most common five or six, sized for fast visual scanning. The all-in-one converter (/tools/unit-converter-all/) carries a broader catalog including Imperial variants, astronomical units, nautical miles, acres and so on. Same arithmetic core, different UI philosophy: quick lookup versus comprehensive reference. Pick based on whether you need speed or breadth.
Does the tool handle Imperial (UK) gallons and ounces?
The volume tab uses US units by default (US gallon = 3.785 L, US fluid ounce = 29.574 mL). For Imperial gallon (4.546 L) and Imperial fluid ounce (28.413 mL), switch to the all-in-one converter or use the cooking-measurement converter, which exposes both. Mixing the two silently is a common source of recipe disasters, especially between American cookbooks and older UK references.
Why is temperature handled differently?
Length, weight, speed and volume share a zero point - zero meters is zero feet. Temperature does not: 0 C equals 32 F, not 0 F. The relationship is affine (y = ax + b with b != 0), so conversion requires both multiplication (slope) and addition (offset). The tool applies the right formula automatically; you only see the answer. The -40 point (-40 C = -40 F = 233.15 K) is a useful memorized check.
Is my input sent anywhere?
No. The conversion runs inside a Preact component in your browser. There is no fetch call or websocket for the values you type. PostHog logs the pageview for aggregate analytics but does not capture your input. Open DevTools, switch to the Network panel, and you will see no request fires when the output updates. The tool works offline after the first page load.
Why do small numbers sometimes display as 0 in the output?
The output formatter rounds to 10 significant digits. Converting 1 picogram to grams (1e-12) rounds to the right value, but converting 1 picogram to tons (1e-18) shows as essentially zero at 10-digit display precision. For arithmetic use, copy the internal value - or use scientific notation in the input, which the tool preserves.
Can I convert between two different categories, like inches to liters?
No, because they measure different physical quantities. Length (meters) and volume (cubic meters) are related but not interchangeable without context - you have to specify a shape. To go from a single linear dimension to a volume you need three linear dimensions and a shape formula. If you want "cubic inches to liters" (inch^3 is volume, not length), use the volume tab, which may expose cubic inches as a unit option.
How precise are the underlying factors?
Every factor traces to a treaty or SI definition. Inch = 0.0254 m exactly (1959 agreement). Pound = 0.45359237 kg exactly. US gallon = 3.785411784 L exactly. Meter, kilogram, second and kelvin are defined in the SI Brochure via fixed constants. The tool stores factors at full IEEE 754 double precision (15-17 significant digits) and rounds only for display. For metrology-grade precision, use a manufacturer-supplied converter traceable to NIST.
What units are in each category?
Length: mm, cm, m, km, in, ft, yd, mi. Weight: mg, g, kg, t, oz, lb. Temperature: C, F, K. Speed: m/s, km/h, mph, kn. Volume: mL, L, tsp, tbsp, cup, fl oz, pt, qt, gal. Area: mm^2, cm^2, m^2, km^2, in^2, ft^2, yd^2, mi^2. The all-in-one converter has more in each; this page picks the short list for speed.
How is an acre defined?
An acre is 4840 square yards exactly, or 43,560 square feet, or 4046.8564224 square meters. Historically it was the area a yoke of oxen could plow in a day - a useful approximation when farm technology was oxen-based. Modern surveying and real estate use the 4840 square yard definition. The area tab in this converter includes it by default in the full-catalog version.
Why are there small rounding differences in round trips?
IEEE 754 doubles cannot represent every decimal ratio exactly. Converting 1 meter to feet (1 / 0.3048) gives 3.280839895013123 with a final bit of drift; converting that back to meters rounds to 0.9999999999999999. The error is in the 15th significant digit, well below any physical measurement precision. For arbitrary-precision arithmetic, use Python's <code>decimal</code> module or Mathematica.
More Math & Calculators
Age Calculator
Calculate exact age in years, months and days from a birthdate.
Open toolArea & Volume Calculator
Calculate area of 2D shapes and volume of 3D solids.
Open toolBMI Calculator
Calculate your Body Mass Index and find your weight category.
Open toolByte / Bit Converter
Convert between bits, bytes, KB, MB, GB, TB and PB.
Open toolDiscount Calculator
Calculate discount amount, sale price, savings, and discounted value with optional sales tax. Supports stacked coupons.
Open toolFibonacci Sequence Generator
Generate Fibonacci numbers up to any length.
Open tool