Unit Converter
- Runs in your browser: what you type is not uploaded
- Free, no sign-up
- Formula explained below
About Unit Converter
The all-in-one unit converter handles eight measurement types — length, weight, area, volume, temperature, speed, data and time — in a single tool. Pick a category and convert instantly as you type.
Most categories are linear: each unit has a fixed factor relative to a base unit, so conversion is a single multiply and divide. Temperature is the exception and is handled through a Celsius base because its scales have different zero points.
Formula
- value — the number you enter
- factorFrom — base units in one 'from' unit
- factorTo — base units in one 'to' unit
Temperature is non-linear: °F = °C × 9/5 + 32 and K = °C + 273.15.
How to use the Unit Converter
- Choose a measurement type (length, weight, area, and so on).
- Enter your value and pick the 'from' and 'to' units.
- Read the highlighted result and the grid of every unit in that category.
- Switch category or swap units at any time.
Good to know
- Each category converts through a single base unit (metre, gram, litre, byte, second, and so on) to keep results consistent.
- Area and volume scale with the square and cube of length respectively, so their factors grow faster than length factors.
- Volume and speed use US customary definitions where they differ from imperial (for example the US gallon).
Frequently asked questions about the Unit Converter
Why is temperature handled differently?
Length or weight units share a zero point, so converting is just scaling. Temperature scales are offset (0 °C = 32 °F), so the tool must both scale and shift, converting via Celsius.
Can I convert between different measurement types?
No — you can only convert within a category (length to length, mass to mass). Converting, say, litres to kilograms needs a substance density and is outside a pure unit converter.
Which system do the units use?
Metric (SI) units alongside imperial/US customary. Where US and imperial differ, such as gallons, the US definition is used.