About this tool
A unit converter that shows a value in every unit of its category at once: length, mass (weight), temperature, area, volume, speed, data size, time and pressure, plus the traditional Chinese market units (jin, liang, chi, cun, zhang, li, mu). Factors use the exact SI and US NIST definitions — 1 inch is exactly 2.54 cm and 1 pound exactly 0.45359237 kg — and are computed as fractions, so results never show floating-point noise.
Typical uses
- Convert cm to inches or kg to pounds for shopping and travel
- Read US recipes in cups, fluid ounces and °F
- See why a 1 TB drive shows about 931 GB on a computer
How to use
Choose a category (length, weight, temperature and so on), type a value and its unit, and pick a target unit if you like.
The result and a table of every unit update as you type; choose the significant digits and copy the result or any row.
Factors follow the exact SI, US NIST and Chinese market-unit definitions and are calculated as fractions, so 1 in = 2.54 cm has no floating-point noise; “≈” marks values rounded to the chosen significant digits. kB, MB and GB step by 1000; KiB, MiB and GiB by 1024. Runs in your browser.
Common conversions at a glance
This table is generated by the converter’s own exact arithmetic at 10 significant digits; values without “≈” are exact. Each pair is shown both ways: an inch is exactly 2.54 cm, so a centimeter is about 0.3937 in.
| Conversion | Result | Reverse | Result |
|---|---|---|---|
| 1 cm → in | ≈ 0.3937007874 | 1 in → cm | 2.54 |
| 1 m → ft | ≈ 3.280839895 | 1 ft → m | 0.3048 |
| 1 km → mi | ≈ 0.6213711922 | 1 mi → km | 1.609344 |
| 1 kg → lb | ≈ 2.204622622 | 1 lb → kg | 0.45359237 |
| 1 g → oz | ≈ 0.03527396195 | 1 oz → g | ≈ 28.34952313 |
| 1 斤 → lb | ≈ 1.102311311 | 1 lb → 斤 | 0.90718474 |
| 1 L → gal (US) | ≈ 0.2641720524 | 1 gal (US) → L | 3.785411784 |
| 1 mL → fl oz (US) | ≈ 0.0338140227 | 1 fl oz (US) → mL | ≈ 29.57352956 |
| 1 m² → ft² | ≈ 10.76391042 | 1 ft² → m² | 0.09290304 |
| 1 ha → ac | ≈ 2.471053815 | 1 ac → ha | ≈ 0.4046856422 |
| 1 km/h → mph | ≈ 0.6213711922 | 1 mph → km/h | 1.609344 |
| 1 bar → psi | ≈ 14.50377377 | 1 psi → bar | ≈ 0.06894757293 |
Exact definitions of US and imperial units
Inches, feet, yards and pounds are defined in terms of the meter and kilogram. Under the 1959 international yard and pound agreement, 1 yard is exactly 0.9144 m and 1 pound exactly 0.45359237 kg, so 1 inch = 25.4 mm and 1 mile = 1.609344 km are exact. The US gallon is defined as 231 cubic inches and the imperial gallon as 4.54609 liters, so they are different units. NIST SP 811 lists some of these factors rounded (it prints 4.535 924 E−01 kg for the pound); the converter uses the full definitions as fractions.
| Unit | Definition | Value |
|---|---|---|
| inch (in) | 1/36 yard | 2.54 cm |
| foot (ft) | 12 inches | 30.48 cm |
| yard (yd) | 0.9144 m (international yard, 1959) | 0.9144 m |
| mile (mi) | 1760 yards | 1.609344 km |
| nautical mile (nmi) | 1852 m | 1.852 km |
| pound (lb) | 0.45359237 kg (international pound, 1959) | 0.45359237 kg |
| ounce (oz, avoirdupois) | 1/16 pound | 28.349523125 g |
| US gallon | 231 cubic inches | 3.785411784 L |
| imperial gallon | 4.54609 L | 4.54609 L |
| acre (ac) | 4840 square yards | 4,046.8564224 m² |
| standard atmosphere (atm) | 101,325 Pa | 101,325 Pa |
| conventional mmHg | mercury at 13.5951 g/cm³ under 9.80665 m/s² | 133.322387415 Pa |
| psi | 1 pound-force per square inch | ≈ 6,894.757293 Pa |
A US pint is 473.176473 mL and an imperial pint 568.26125 mL; a US fluid ounce is 29.5735295625 mL and an imperial one 28.4130625 mL. A US recipe cup is 236.5882365 mL (US nutrition labels round it to 240 mL), while the metric cup used in Australia and elsewhere is 250 mL, so check where a recipe comes from.
Chinese market units: jin, liang, chi, cun, mu
China’s market system (市制) was fixed by a 1959 State Council order. The 1984 order adopting legal (SI-based) units allowed market units in everyday life until 1990, after which official use moved to legal units, yet people still buy food by the jin and measure farmland in mu. The ratios to metric are simple: 1 jin = 0.5 kg, 1 chi = 1/3 m, 1 mu = 60 square zhang. So 3 chi is exactly 1 m and 1 hectare exactly 15 mu, while the chi and mu themselves are repeating decimals and carry “≈”.
| Unit | Definition | Value |
|---|---|---|
| li 市里 | 150 丈 | 500 m |
| zhang 市丈 | 10 尺 | ≈ 3.333333333 m |
| chi 市尺 | 1/3 m | ≈ 33.33333333 cm · ≈ 13.1234 in |
| cun 市寸 | 1/10 尺 | ≈ 3.333333333 cm |
| jin 市斤 | 1/2 kg | 500 g · ≈ 1.10231 lb |
| liang 市两 | 1/10 斤 | 50 g |
| mu 市亩 | 60 平方丈 | ≈ 666.6666667 m² · ≈ 0.164737 ac |
- 1 kg = 2 jin and 1 jin = 10 liang = 500 g. Before 1959 a jin had 16 liang.
- 1 acre ≈ 6.07 mu, and 1 mu ≈ 7,175.94 sq ft.
- The catty used in Hong Kong and Macau is 1⅓ lb ≈ 604.79 g and Taiwan’s catty is 600 g; neither is the mainland jin used here.
Why a 1 TB drive shows about 931 GB
Drive and memory-card makers use decimal prefixes: 1 GB = 10⁹ bytes and 1 TB = 10¹² bytes. Windows File Explorer divides by powers of 1024 but still writes “GB”; those are really the binary units the IEC defined in 1998, where 1 GiB = 2³⁰ = 1,073,741,824 bytes. Dividing the same bytes by a bigger unit gives a smaller number, so 1 TB appears as about 931.3 GB with nothing missing. macOS has used decimal units since version 10.6, so a Mac shows 1 TB. Compare them in the “Data size” category.
| Advertised | Bytes | Shown by Windows (binary) |
|---|---|---|
| 128 GB | 128,000,000,000 | 119.2 GiB |
| 256 GB | 256,000,000,000 | 238.4 GiB |
| 512 GB | 512,000,000,000 | 476.8 GiB |
| 1 TB | 1,000,000,000,000 | 931.3 GiB |
| 2 TB | 2,000,000,000,000 | 1.819 TiB |
| 4 TB | 4,000,000,000,000 | 3.638 TiB |
| Binary unit | Decimal unit | Binary is larger by |
|---|---|---|
| 1 KiB = 1,024 B | 1 kB = 1,000 B | 2.4% |
| 1 MiB = 1,048,576 B | 1 MB = 1,000,000 B | 4.9% |
| 1 GiB = 1,073,741,824 B | 1 GB = 1,000,000,000 B | 7.4% |
| 1 TiB = 1,099,511,627,776 B | 1 TB = 1,000,000,000,000 B | 10% |
A 100 Mbit/s connection moves 100 million bits per second. With 8 bits per byte that is at most 12.5 MB/s, and 1 Gbit/s is 125 MB/s before protocol overhead.
Temperature formulas and reference points
Temperatures cannot be converted with a factor alone because the scales start at different zeros: °F = °C × 9/5 + 32, °C = (°F − 32) × 5/9, K = °C + 273.15 and °R = °F + 459.67. Kelvin and Rankine start at absolute zero and have no negative values; the converter warns if you enter something colder.
| Reference point | °C | °F | K |
|---|---|---|---|
| Absolute zero | −273.15 | −459.67 | 0 |
| Celsius equals Fahrenheit | −40 | −40 | 233.15 |
| Water freezes | 0 | 32 | 273.15 |
| Room temperature | 20 | 68 | 293.15 |
| Normal body temperature (common reference) | 37 | 98.6 | 310.15 |
| Fever threshold (100.4 °F) | 38 | 100.4 | 311.15 |
| Water boils (1 atm) | 100 | 212 | 373.15 |
| Typical oven setting | 180 | 356 | 453.15 |
−40 is the only temperature that reads the same in °C and °F. A US recipe’s 350 °F is about 176.7 °C. Strictly, on the current ITS-90 scale water boils at about 99.97 °C at one standard atmosphere; “100 °C” is a legacy of the old definition. Since 2019 the kelvin has been defined through the Boltzmann constant.
Exact arithmetic, significant digits and input
In ordinary floating-point arithmetic 0.1 + 0.2 = 0.30000000000000004, which is why many online converters show long tails of noise. This tool stores every factor as an exact fraction (1 chi = 1/3 m, 1 US gallon = 3.785411784 L) and computes with whole-number fractions, rounding only once for display, to the number chosen under “Significant digits”. Results that end within those digits are shown as they are; others get “≈”. Here is 1 kg in pounds at each setting:
| Significant digits | 1 kg = ? lb |
|---|---|
| 4 | 2.205 |
| 6 | 2.20462 |
| 10 | 2.204622622 |
| 15 | 2.20462262184878 |
- Use “.” for decimals. Thousands may be separated with commas or spaces (1,234.5 or 1 234.5); exponents such as 1.5e-3 and full-width digits also work.
- A comma that cannot be a thousands separator, as in “1,5”, is read as a decimal comma, and the line under the input says which number was used.
- Results below 10⁻⁶ or at least 10¹⁵ use scientific notation, for example 1 bit ≈ 1.136868377 × 10⁻¹³ TiB.
- “Copy result” copies the whole equation; each table row’s Copy button copies the number and unit symbol without thousands separators. The “Swap the two units” button swaps the units and keeps the number you typed.
- Months and years have no fixed length, so the time category stops at weeks; use the date calculator for calendar months and years.
Sources
Frequently asked questions
How many centimeters are in an inch?
Exactly 2.54. The international inch has been defined as 25.4 mm since 1959, so 12 in = 30.48 cm and 1 mile = 1.609344 km, all exact.
Why do some results start with “≈”?
Values such as 1 kg in pounds (2.20462262…) do not end, so they are rounded to the significant digits you choose and marked “≈”. Results without it are exact.
What is the difference between GB and GiB?
GB is decimal (10⁹ bytes); GiB is binary (2³⁰ = 1,073,741,824 bytes). Drive makers use GB, while Windows shows GiB but labels it “GB”.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.