Unit converter
Eight quantities on one page: length, area, volume, mass, temperature, computer data, time and speed. Pick the source unit, type a value, and the whole category fills in below. Nothing is sent to a server.
The conversion runs in your browser, so the result does not depend on a connection, keeps no history, and is not read by anyone. Close the tab and come back later: the field is empty again, because nothing here stores what you typed.
The distinction most sites get wrong is stated plainly here: a kilobyte (kB) is 1,000 bytes and a kibibyte (KiB) is 1,024 bytes. That is why a drive sold as "1 TB" shows roughly 931 GiB in your operating system — the label uses the decimal family and the software uses the binary one. Neither calculation is wrong; the wrong thing is a table that shows only one of them.
Temperature is the odd case: it has an offset, not a ratio, so 20 °C is not twice 10 °C in Fahrenheit. The check that the arithmetic is right is the point where the two scales cross: convert -40 °F and it comes back as -40 °C.
How to use
- Choose the source unit in the first selector. It is grouped by the eight quantities, so there is no separate category to pick: the category comes from the unit.
- Choose the target unit. That selector only offers units from the same category, because turning litres into square metres has no answer.
- Type the value. A comma and a point both work as the decimal mark (1,5 and 1.5 give the same result), and thousands grouping is accepted in both styles (1.234,5).
- Read the table: it shows the value in every unit of the category, not only in the pair you asked for. Swap the two units and the number comes back.
The two prefix families, and the year nobody agrees on
Data prefixes come in two families. The decimal one follows the SI and counts in thousands: 1 kB = 1,000 B, 1 MB = 1,000,000 B, 1 TB = 1,000,000,000,000 B. The binary one (its names end in "bi") counts in 1,024s: 1 KiB = 1,024 B, 1 MiB = 1,048,576 B, 1 TiB = 1,099,511,627,776 B. The gap between 1 TB and 1 TiB is 99,511,627,776 bytes, close to 100 GB, and it widens as the size grows — that is the distance between the box label and what your operating system reports.
Time carries the other famous disagreement: how many days a year has. On this page 1 year = 365.25 days = 31,557,600 seconds, the Julian year. It is chosen because it is a round, stable number, not because a calendar year really lasts 365.25 days: the mean tropical year is about 365.2422 days, and the Gregorian calendar absorbs the difference by dropping three days every 400 years. When you convert a duration into seconds what matters is a consistent definition; if you need the civil year, use 365 or 366 days and count the calendar in the date calculator.
The imperial and US customary units used here have exact metric values, because that is how they were defined: 1 in = 2.54 cm by the 1959 international agreement, 1 ft = 0.3048 m, 1 lb = 0.45359237 kg and 1 mi = 1,609.344 m. There is no rounding error between the two sides — there is only more than one gallon and more than one ton in the world, and one of them has to be chosen.
What this page does not do: it carries the US gallon (3.785411784 litres, derived from exactly 231 cubic inches) and not the British imperial gallon (4.54609 litres). It carries the metric tonne of 1,000 kg, not the US short ton of 907.185 kg or the UK long ton of 1,016.047 kg. It carries the international acre of 4,046.8564224 m², not the US survey acre. When your calculation depends on which variant is meant, check the source column in the table below.
| Unit | In base units | Where it comes from |
|---|---|---|
| 1 tebibyte (TiB) | 1,099,511,627,776 B | Binary family: 1024⁴ bytes, the value your operating system reports |
| 1 terabyte (TB) | 1,000,000,000,000 B | Decimal SI family: 10¹² bytes, the value printed on the box |
| 1 gallon (gal) | 3.785411784 l | United States: defined as exactly 231 cubic inches |
| 1 mile (mi) | 1,609.344 m | International statute mile: 5,280 feet of exactly 0.3048 m |
| 1 nautical mile (nmi) | 1,852 m | Shipping and aviation: adopted by international convention |
| 1 acre | 4,046.8564224 m² | 43,560 square feet, with the foot of exactly 0.3048 m |
| 1 year | 31,557,600 s | Julian year: 365.25 days of 86,400 s |