Unit Conversions provide conversions for units, such as meter ⟹ foot, so that a source units can be converted into what is needed for localized Unit Preferences. There are many possible units, and additional units and conversions will be added in future releases.
- Each Source Unit is converted to the Target Unit by multiplying it by the Factor and adding the Offset (if any).
- The unit identifiers are internal, and are to be localized for display to users. See Hectare, for example.
- Each numeric value is an exact rational. The format is a terminating decimal where possible; otherwise a repeating decimal if possible (where ˙ marks the start of the reptend); otherwise a rational number (of the form numerator/denominator).
- The Systems column indicates which systems the units are used in. For now, they just show the two ‘inch-pound’ systems.
- The units are grouped and ordered by Quantity (which are based on the NIST quantities, see NIST 811). Note that the quantities are informative.
- The LDML specification should be consulted for more details, such as how to handle complex units (such as foot-per-minute) by converting the elements.
Warning: Do not scrape this chart for production data.
Instead, for the meaning of the fields and data consult the LDML specification, and for machine-readable source data, access common/supplemental/units.xml, and for test data, access common/testData/units/unitsTest.txt.
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| candela |
1 |
|
candela |
metric, si |
luminous-intensity |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| grain |
0.00006479891 |
|
kilogram |
ussystem, uksystem |
mass |
| carat |
0.0002 |
metric |
| gram |
0.001 |
metric, si |
| ounce |
0.028349523125 |
ussystem, uksystem |
| ounce-troy |
0.03110348 |
| pound |
0.45359237 |
| kilogram |
1 |
metric, si |
| stone |
6.35029318 |
uksystem |
| ton |
907.18474 |
ussystem, uksystem |
| tonne |
1,000 |
metric |
| earth-mass |
5,972,200,000,000,000,000,000,000 |
|
| solar-mass |
1,988,470,000,000,000,000,000,000,000,000 |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| drop |
0.0000000513429332682291˙6 |
|
cubic-meter |
ussystem |
volume |
| pinch |
0.00000023104319970703125 |
| dessert-spoon |
0.00000184834559765625 |
| dessert-spoon-imperial |
0.0000022197705078125 |
uksystem |
| dram |
0.0000036966911953125 |
ussystem |
| teaspoon |
0.00000492892159375 |
| tablespoon |
0.00001478676478125 |
| fluid-ounce-imperial |
0.0000284130625 |
uksystem |
| fluid-ounce |
0.0000295735295625 |
ussystem |
| jigger |
0.00004436029434375 |
| cup |
0.0002365882365 |
| cup-metric |
0.00025 |
metric |
| pint |
0.000473176473 |
ussystem |
| pint-metric |
0.0005 |
metric |
| quart |
0.000946352946 |
ussystem |
| liter |
0.001 |
metric |
| quart-imperial |
0.0011365225 |
uksystem |
| gallon |
0.003785411784 |
ussystem |
| gallon-imperial |
0.00454609 |
uksystem |
| bushel |
0.03523907016688 |
ussystem |
| barrel |
0.158987294928 |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| dunam |
1,000 |
|
square-meter |
|
area |
| acre |
4,046.8564224 |
ussystem, uksystem |
| hectare |
10,000 |
metric |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| point |
0.000352˙7 |
|
meter |
ussystem, uksystem |
length |
| inch |
0.0254 |
| foot |
0.3048 |
| yard |
0.9144 |
| meter |
1 |
metric, si |
| fathom |
1.8288 |
ussystem, uksystem |
| furlong |
201.168 |
| mile |
1,609.344 |
| nautical-mile |
1,852 |
| mile-scandinavian |
10,000 |
metric |
| 100-kilometer |
100,000 |
| earth-radius |
6,378,100 |
|
| solar-radius |
695,700,000 |
| astronomical-unit |
149,597,870,700 |
| light-year |
9,460,730,472,580,800 |
| parsec |
12,699,352,539,696,155,673,600,000/411,557,987 |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| second |
1 |
|
second |
si, metric |
duration |
| minute |
60 |
metric |
| hour |
3,600 |
| day |
86,400 |
| day-person |
|
| week |
604,800 |
metric |
| week-person |
|
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| month |
0.08˙3 |
|
year |
metric |
year-duration |
| month-person |
|
| quarter |
0.25 |
metric |
| year |
1 |
| year-person |
|
| decade |
10 |
metric |
| century |
100 |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| ampere |
1 |
|
ampere |
metric, si |
electric-current |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| fahrenheit |
0.˙5 |
255.37˙2 |
kelvin |
ussystem, uksystem |
temperature |
| kelvin |
1 |
|
metric, si |
| celsius |
273.15 |
metric |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| arc-second |
0.0000007˙716049382 |
|
revolution |
metric |
angle |
| arc-minute |
0.00004˙629 |
| degree |
0.002˙7 |
| radian |
65,501,488/411,557,987 |
metric, si |
| revolution |
1 |
metric |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| item |
1 |
|
item |
metric |
substance-amount |
| mole |
602,214,076,000,000,000,000,000 |
metric, si |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| permillion |
0.000001 |
|
portion |
metric |
portion |
| permyriad |
0.0001 |
| permille |
0.001 |
| percent |
0.01 |
| karat |
0.041˙6 |
|
| portion |
1 |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| bit |
1 |
|
bit |
metric |
digital |
| byte |
8 |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| dot |
1 |
|
pixel |
|
graphics |
| pixel |
metric |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| em |
1 |
|
em |
metric |
typewidth |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| hertz |
1 |
|
revolution-per-second |
metric, si |
frequency |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| newton |
1 |
|
kilogram-meter-per-square-second |
metric, si |
force |
| pound-force |
4.4482216152605 |
ussystem, uksystem |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| pascal |
1 |
|
kilogram-per-meter-square-second |
metric, si |
pressure |
| bar |
100,000 |
metric |
| atmosphere |
101,325 |
|
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| ofhg |
133,322.387415 |
|
kilogram-per-square-meter-square-second |
|
pressure-per-length |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| electronvolt |
0.0000000000000000001602177 |
|
kilogram-square-meter-per-square-second |
|
energy |
| dalton |
0.00000000014924180856 |
| joule |
1 |
metric, si |
| calorie |
4.184 |
|
| british-thermal-unit |
1,054.3502644˙8 |
ussystem, uksystem |
| foodcalorie |
4,184 |
| therm-us |
105,480,400 |
ussystem |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| watt |
1 |
|
kilogram-square-meter-per-cubic-second |
metric, si |
power |
| horsepower |
745.69987158227022 |
ussystem, uksystem |
| solar-luminosity |
382,800,000,000,000,000,000,000,000 |
|
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| volt |
1 |
|
kilogram-square-meter-per-cubic-second-ampere |
metric, si |
voltage |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| ohm |
1 |
|
kilogram-square-meter-per-cubic-second-square-ampere |
metric, si |
electric-resistance |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| knot |
0.51˙4 |
|
meter-per-second |
ussystem, uksystem |
speed |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| g-force |
9.80665 |
|
meter-per-square-second |
|
acceleration |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| lux |
1 |
|
candela-per-square-meter |
metric, si |
illuminance |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| lumen |
1 |
|
candela-square-meter-per-square-meter |
metric, si |
luminous-flux |
| Source Unit |
Factor |
Offset |
Target |
Systems |
Quantity |
| ofglucose |
6,022,140,760,000,000,000,000,000,000,000/1,801,557 |
|
item-per-kilogram |
|
concentration-mass |