ToolsForWeb

Saved

Tap ☆ on any tool to keep it here.

toolsforweb

Unit Converter

Convert length, mass, temperature, data size and more.

Runs in your browser — nothing is uploaded

Loading tool…

Results are provided as is, for general information. Check anything important before relying on it. See the Terms of Use.

About this tool

Pick a category, a from-unit and a to-unit, and the converted value updates as you type. Ten categories are covered: length, mass, temperature, area, volume, speed, data size, time, pressure and energy, each with the common SI and imperial/US units. Every category except temperature converts through a fixed base unit using exact factors (1 mile is 1609.344 m, 1 hour is 3600 s); temperature uses the real offset formulas, so 0 °C becomes 32 °F rather than 0. Everything runs in your browser.

How it works

°F = °C × 9 ÷ 5 + 32      °C = (°F − 32) × 5 ÷ 9
1 mile = 1.609344 km      1 lb = 0.45359237 kg

Most units convert by multiplying by a fixed factor, using the exact international definitions. Temperature is the exception: Celsius and Fahrenheit have different zero points, so the conversion adds or subtracts an offset as well.

Worked examples
QuestionWorkingAnswer
20 °C in Fahrenheit20 × 9 ÷ 5 + 3268 °F
100 °F in Celsius(100 − 32) × 5 ÷ 937.7778 °C
10 km in miles10 ÷ 1.6093446.21371 mi
5 lb in kilograms5 × 0.453592372.26796 kg

When to use it

Converting between metric and imperial for recipes, travel, DIY or spec sheets.
Translating a temperature with the correct offset instead of a naive scale.
Checking whether a storage figure is quoted in decimal (kB = 1000 bytes) or binary (KiB = 1024 bytes) units.
Converting speeds, pressures or energies where the factor is easy to get wrong from memory.

Questions

Why does the data category list both kB and KiB?

They are different. A kilobyte (kB) is 1000 bytes, the decimal unit drive makers and network speeds use; a kibibyte (KiB) is 1024 bytes, the binary unit operating systems use when they report file and memory sizes. The same distinction applies to MB vs MiB, GB vs GiB and TB vs TiB, and the gap grows at each step.

Why is temperature handled differently from the other categories?

Celsius, Fahrenheit and Kelvin scales have different zero points, so a single multiplier cannot convert them. The tool applies the proper formulas — Fahrenheit is (°C × 9/5) + 32, Kelvin is °C + 273.15 — which is why −40 °C and −40 °F come out equal.

How precise are the results?

Conversions use exact standard factors and are shown to about six significant figures, with trailing zeros trimmed and scientific notation for very large or very small values. The year unit is a flat 365 days.

Which categories does it cover?

Ten: length, mass, temperature, area, volume, speed, data size, time, pressure and energy — the everyday SI and imperial/US units in each (metres and miles, kilograms and pounds, litres and US gallons, kilopascals and psi, kilocalories and BTU). The list favors units people actually convert day to day over encyclopaedic completeness; specialist units like troy ounces are one fixed factor away from any calculator.

How exact are the results?

Exact standard factors, full floating-point precision, displayed to about six significant figures: 26.2 miles returns 42.1648128 km, 98.6 °F returns exactly 37 °C, and exact integers print in full rather than rounding away. Nothing is sent to a server, and no factor silently updates behind you — a conversion produces the same answer today and tomorrow.

Why is temperature its own case?

Its scales differ in zero point, not just in step size, so one multiplier cannot convert them. The tool applies the offset formulas directly — °F = (°C × 9/5) + 32, K = °C + 273.15 — which is why −40 reads identically in Celsius and Fahrenheit, and why converting 'naively' by scale alone is wrong by tens of degrees every time.

Why both GB and GiB?

They are different quantities: a gigabyte is decimal — 1,000,000,000 bytes, the unit drive makers and network speeds use — while a gibibyte is binary — 1,073,741,824 bytes, the unit operating systems report for memory and files. A new '1 TB' drive showing about 931 GiB is the same gap at scale, not lost bytes. The other magnitude pairs (MB/MiB, TB/TiB) drift the same way, and the tool keeps them explicit so a data-cap calculation never mixes them.

Can it convert litres to kilograms?

No — that needs a density (water is 1 kg/L, honey about 1.42), and a converter that guessed one would be wrong for every substance except water. The tool rejects cross-category requests for the same reason it rejects 'watts to BTU per hour' confusion: dimensions must match. Convert the units within a category here, apply the physics constant yourself at the edge.

Why is a 'year' 365 days here?

A flat 365 keeps time-unit conversions simple and reproducible: a year is exactly 31,536,000 seconds, with no leap-day wobble. That is the right semantics for durations — a 3-year warranty, a half-year of interest. For calendar questions (what date is 3 years from today), that convention is the wrong tool; the date tools count real calendar years.

How does it handle absurdly large or small numbers?

Through scientific notation, cleanly: a mebibyte in kilobytes is exactly 1.048576, while values beyond 1e15 or below 1e-4 display as a trimmed exponential rather than a wall of zeros. The underlying arithmetic stays float-exact for the factors involved — the display layer, not the math, is what changes at the extremes.

Related tools