The exact conversion factors behind every unit converter on this site, free to download and reuse: 59 units across 8 quantities, each given as an exact fraction to its SI unit, with the definition it comes from.
Multiply a value by its unit’s factor to get the SI value. To go from unit A to unit B of the same quantity, multiply by the factor of A and divide by the factor of B.
5 miles to kilometres = 5 × 1609.344 ÷ 1000 = 8.04672 km
150 pounds to kilograms = 150 × 0.45359237 ÷ 1 = 68.0388555 kg
Temperature scales have different zero points, so they also carry an offset: kelvin = value × factor + offset. For example, 98.6 °F = 98.6 × 5/9 + 45967/180 = 310.15 K, which is 37 °C.
“Exact by definition” means the value is fixed by an international or legal definition, not measured. Where NIST publishes the factor, its printed value is shown for comparison.
Length — factor to metre (m)
Unit
Symbol
Factor (m)
Exact fraction
Basis
NIST SP 811
millimetre
mm
0.001
1/1000
SI prefix
—
centimetre
cm
0.01
1/100
SI prefix
—
metre
m
1
1/1
SI unit
—
kilometre
km
1000
1000/1
SI prefix
—
inch
in
0.0254
127/5000
Exact by definition
2.54E-02 (exact)
foot
ft
0.3048
381/1250
Exact by definition
3.048E-01 (exact)
yard
yd
0.9144
1143/1250
Exact by definition
9.144E-01 (exact)
mile
mi
1609.344
201168/125
Exact by definition
1.609344E+03 (exact)
nautical mile
nmi
1852
1852/1
Exact by definition
1.852E+03 (exact)
Mass — factor to kilogram (kg)
Unit
Symbol
Factor (kg)
Exact fraction
Basis
NIST SP 811
milligram
mg
0.000001
1/1000000
SI prefix
—
gram
g
0.001
1/1000
SI prefix
—
kilogram
kg
1
1/1
SI unit
—
tonne (metric ton)
t
1000
1000/1
Exact by definition
1.0E+03 (exact)
ounce (avoirdupois)
oz
0.028349523125
45359237/1600000000
Exact by definition
2.834952E-02
pound (avoirdupois)
lb
0.45359237
45359237/100000000
Exact by definition
4.535924E-01
stone
st
6.35029318
317514659/50000000
Exact by definition
—
Volume — factor to cubic metre (m³)
Unit
Symbol
Factor (m³)
Exact fraction
Basis
NIST SP 811
millilitre
mL
0.000001
1/1000000
SI prefix
—
litre
L
0.001
1/1000
Exact by definition
—
cubic metre
m³
1
1/1
SI unit
—
cubic centimetre
cm³
0.000001
1/1000000
SI prefix
—
teaspoon (US)
tsp
0.00000492892159375
157725491/32000000000000
Exact by definition
4.928922E-06
tablespoon (US)
tbsp
0.00001478676478125
473176473/32000000000000
Exact by definition
1.478676E-05
fluid ounce (US)
fl oz
0.0000295735295625
473176473/16000000000000
Exact by definition
2.957353E-05
cup (US)
cup
0.0002365882365
473176473/2000000000000
Exact by definition
2.365882E-04
pint (US liquid)
pt
0.000473176473
473176473/1000000000000
Exact by definition
4.731765E-04
quart (US liquid)
qt
0.000946352946
473176473/500000000000
Exact by definition
9.463529E-04
gallon (US)
gal
0.003785411784
473176473/125000000000
Exact by definition
3.785412E-03
Speed — factor to metre per second (m/s)
Unit
Symbol
Factor (m/s)
Exact fraction
Basis
NIST SP 811
metre per second
m/s
1
1/1
SI unit
—
kilometre per hour
km/h
0.27777777777777778… (rounded)
5/18
Exact by definition
—
mile per hour
mph
0.44704
1397/3125
Exact by definition
4.4704E-01 (exact)
knot
kn
0.51444444444444444… (rounded)
463/900
Exact by definition
5.144444E-01
foot per second
ft/s
0.3048
381/1250
Exact by definition
3.048E-01 (exact)
Area — factor to square metre (m²)
Unit
Symbol
Factor (m²)
Exact fraction
Basis
NIST SP 811
square centimetre
cm²
0.0001
1/10000
SI prefix
—
square metre
m²
1
1/1
SI unit
—
square kilometre
km²
1000000
1000000/1
SI prefix
—
square foot
ft²
0.09290304
145161/1562500
Exact by definition
9.290304E-02 (exact)
square yard
yd²
0.83612736
1306449/1562500
Exact by definition
8.361274E-01
acre
ac
4046.8564224
316160658/78125
Exact by definition
—
hectare
ha
10000
10000/1
Exact by definition
1.0E+04 (exact)
square mile
mi²
2589988.110336
40468564224/15625
Exact by definition
2.589988E+06
Temperature — factor to kelvin (K)
Unit
Symbol
Factor
Offset (K)
Exact fraction
Basis
NIST SP 811
kelvin
K
1
0
1/1
SI unit
—
degree Celsius
°C
1
273.15
1/1, offset 5463/20
Exact by definition
—
degree Fahrenheit
°F
0.55555555555555556… (rounded)
255.37222222222222… (rounded)
5/9, offset 45967/180
Exact by definition
—
Energy — factor to joule (J)
Unit
Symbol
Factor (J)
Exact fraction
Basis
NIST SP 811
joule
J
1
1/1
SI unit
—
kilojoule
kJ
1000
1000/1
SI prefix
—
calorie (thermochemical)
cal
4.184
523/125
Exact by definition
4.184E+00 (exact)
kilocalorie (food Calorie)
kcal
4184
4184/1
Exact by definition
4.184E+03 (exact)
watt-hour
Wh
3600
3600/1
Exact by definition
3.6E+03 (exact)
kilowatt-hour
kWh
3600000
3600000/1
Exact by definition
3.6E+06 (exact)
Pressure — factor to pascal (Pa)
Unit
Symbol
Factor (Pa)
Exact fraction
Basis
NIST SP 811
pascal
Pa
1
1/1
SI unit
—
hectopascal
hPa
100
100/1
SI prefix
—
kilopascal
kPa
1000
1000/1
SI prefix
—
megapascal
MPa
1000000
1000000/1
SI prefix
—
bar
bar
100000
100000/1
Exact by definition
1.0E+05 (exact)
pound-force per square inch
psi
6894.7572931683613… (rounded)
8896443230521/1290320000
Exact by definition
6.894757E+03
standard atmosphere
atm
101325
101325/1
Exact by definition
1.01325E+05 (exact)
millimetre of mercury (conventional)
mmHg
133.322387415
26664477483/200000000
Conventional value
1.333224E+02
torr
Torr
133.32236842105263… (rounded)
20265/152
Exact by definition
1.333224E+02
inch of mercury (conventional)
inHg
3386.388640341
3386388640341/1000000000
Conventional value
3.386389E+03
How the values were checked
Every factor is built from its definition with exact fraction arithmetic, never from a rounded decimal. The US gallon, for instance, is 231 × (254/10000)³ cubic metres.
32 of the 59 factors appear in NIST Special Publication 811, Appendix B.8. All 32 match the NIST value to every digit NIST prints, and every factor NIST marks as exact is exact here too.
An automated test repeats both checks on every build of this site and stops the release if a value drifts.
The same test confirms that the converters on this site use these factors, so the dataset and the tools cannot disagree. See our calculation methodology.
Notes and limits
Feet, yards, miles and acres use the international foot (exactly 0.3048 m). The slightly longer U.S. survey foot was retired after 31 December 2022, and NIST SP 811 still lists the older survey-based acre, so the acre has no NIST comparison.
U.S. food labels use rounded metric sizes (1 teaspoon = 5 mL, 1 tablespoon = 15 mL, 1 cup = 240 mL under 21 CFR 101.9). Those are labelling conventions, not the unit definitions given here.
Millimetres and inches of mercury are the conventional units (mercury at 13 595.1 kg/m³ under standard gravity), not a reading that depends on temperature.
Not included in this version: imperial (UK) volumes, troy and apothecary weights, and any unit whose value changes over time, such as currencies.
Fields in the files
Field
Meaning
quantity
length, mass, volume, speed, area, temperature, energy or pressure
key, name, symbol
Identifier, English name and symbol of the unit
siSymbol
The SI unit the factor converts to
fraction
Exact factor as a reduced fraction, numerator/denominator
decimal, decimalIsExact
The factor as a decimal, and whether that decimal is complete or rounded to 17 significant digits
offsetFraction, offsetDecimal
Temperature only: kelvin = value × factor + offset
basis
si-unit, si-prefix, exact-definition or conventional
definition, source
The defining statement and where it comes from
nistValue
The factor as printed in NIST SP 811 Appendix B.8, when listed
1.0.0 (2026-11-13): first release, 59 units in 8 quantities.
Found a mistake? Tell us through the correction policy and we will fix the value and note it here.
Frequently asked questions
Can I use this dataset in a commercial product?
Yes. It is licensed under Creative Commons Attribution 4.0 (CC BY 4.0), so you can copy, change and ship it in free or paid products. The one condition is credit: name HIFreeTools and link to this page.
Why are some factors given as fractions instead of decimals?
A few factors have decimals that never end. A knot is 463/900 metres per second and a torr is 20265/152 pascals. The fraction is the exact value; the decimal beside it is rounded to 17 significant digits and marked as rounded.
Are the volume units US or imperial?
US customary liquid measures: the US gallon of exactly 231 cubic inches (3.785411784 litres) and the pint, quart, cup, fluid ounce, tablespoon and teaspoon derived from it. Imperial (UK) gallons and pints are different sizes and are not in this version.
Which calorie does the dataset use?
The thermochemical calorie, defined as exactly 4.184 joules. The kilocalorie row (4184 joules) is the Calorie printed on food labels.