Template:Convert/list of units

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The table below lists units supported by this template. It is divided up according to the quantity being measured. Not all supported units are listed here; there are links to more complete lists for each quantity.

The codes listed in the unit-code column (column 3) are accepted as input by the template. These can be used as the second or third unnamed parameter. For some units there exist alternative codes. These are listed in brackets and have been incorporated to make the code more flexible for editors, e.g. °F or F may be entered.

The codes listed in the combinations column (column 7) can be used to produce multiple conversions. They can only be used as the third unnamed parameter, e.g. {{convert|55|nmi|km mi}} produces "55 nautical miles (102 km; 63 mi)".

Abridged list of units supported by {{Convert}}
Explanation
system unit unit-
code
symbol or
abbrev.
notes conversion factor combination output units
the system(s) to which the unit belongs units listed by name unit-code to use in template symbols shown in output other notes about the units conversion factors used to convert to and from the SI base unit output codes for multiple conversions


LENGTH
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion
factor/m
combination output units
SI megameter Mm Mm UK spelling: megametre
1,000,000
kilometer km km UK spelling: kilometre
1,000
  • km mi
meter m m UK spelling: metre
1
  • m ft
  • m ftin
centimeter cm cm UK spelling: centimetre
0.01
  • cm in
millimeter mm mm UK spelling: millimetre
0.001
  • mm in
micrometer μm (um) µm UK spelling: micrometre
0.000001
nanometer nm nm UK spelling: nanometre
0.000000001
non-SI metric ångström Å
(angstrom)
Å 0.0000000001
Imperial
&
US customary
mile mi mi 1,609.344
  • mi km
furlong furlong 201.168
chain chain 20.1168
rod rd rd For other names of this unit see the full list. 5.0292
fathom fathom assumes 1 fathom ≡ 6 ft 1.8288
yard yd yd assumes the international definition 0.9144
foot ft (foot) ft Code "foot" will show "foot" if plural. 0.3048
  • ftin (feet and inches)
  • ft m (foot m)
inch in in 0.0254
  • in cm
  • in mm
Other nautical mile nmi nmi the international standard nautical mile
For other nautical miles see the full list.
1,852
parsec pc pc 3.0856775814672×10^16
light-year ly ly 9.4607304725808×10^15
astronomical unit AU AU 149,597,870,700


AREA
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/m2 combinations
SI square kilometer km2 km2 UK spelling: square kilometre
1,000,000
  • km2 sqmi
square meter m2 m2 UK spelling: square metre
1
  • m2 sqft
square centimeter cm2 cm2 UK spelling: square centimetre
0.0001
  • cm2 sqin
square millimeter mm2 mm² UK spelling: square millimetre
0.000001
  • mm2 sqin
non-SI metric hectare ha ha 10,000
Imperial
&
US customary
square mile sqmi sq mi 2,589,988.110336
  • sqmi km2
acre acre 4,046.856422
square yard sqyd sq yd 0.83612736
square foot sqft
(sqfoot)
sq ft Code "sqfoot" will show "square foot" if plural. 0.09290304
  • sqft m2 (sqfoot m2)
square inch sqin sq in 0.00064516
  • sqin cm2
Other square nautical mile sqnmi sq nmi 3,429,904
dunam dunam For alternative spellings and definitions see the full list 1,000
tsubo tsubo (400/121)


VOLUME
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/m3 combinations
SI cubic meter m3 m3 UK spelling: cubic metre
one kiloliter
1
cubic centimeter cm3 cm3 UK spelling: cubic centimetre
one milliliter
0.000001
cc cc
cubic millimeter mm3 mm³ UK spelling: cubic millimetre
0.000000001
non-SI metric kiloliter kl kl UK spelling: kilolitre
one cubic meter
1
kL kL
liter l l UK spelling: litre
one cubic decimeter
Allows triple output units. See: full list.
0.001
  • l impgal
  • l USgal
  • l USdrygal
L L
  • L impgal
  • L USgal
  • L USdrygal
centiliter cl cl UK spelling: centilitre
0.00001
cL cL
milliliter ml ml UK spelling: millilitre
one cubic centimeter
0.000001
  • ml impoz
  • ml USoz
mL mL
  • mL impoz
  • mL USoz
Imperial
&
US customary
cubic yard cuyd cu yd 0.764554857984
cubic foot cuft (cufoot) cu ft Code "cufoot" will show "cubic foot" if plural. 0.028316846592
cubic inch cuin cu in 0.000016387064
Imperial imperial barrel impbbl imp bbl 36 imp gal 0.16365924
imperial bushel impbsh imp bsh 8 imp gal 0.03636872
impbu imp bu
imperial gallon impgal imp gal 4.54609 liters by definition, also
4 imp qt or 8 imp pt or 160 imp fl oz
Allows triple output units. See: full list.
0.00454609
  • impgal l
  • impgal L
  • impgal USgal
  • impgal USdrygal
quart impqt imp qt 1/4 imp gal or 40 imp fl oz 0.0011365225
pint imppt imp pt 1/8 imp gal or 20 imp fl oz 0.00056826125
fluid ounce impoz(impfloz) imp fl oz 1/160 imp gal 0.0000284130625
  • impoz USoz
  • impoz ml
  • impoz mL
US customary
liquid measure
barrel USbbl UK bbl 31½ US gal
used for liquids except for oil and beer (see the full list)
0.119240471196
barrel oilbbl bbl 42 US gal 0.158987294928
beer barrel USbeerbbl
(usbeerbbl)
US bbl 0.117347765304
US gallon USgal US gal 231 cubic inches by definition, also
4 US qt or 8 US pt or 128 US fl oz
Allows triple output units. See: full list.
0.003785411784
  • USgal l
  • USgal L
  • USgal impgal
quart USqt US qt 1/4 US gal or 32 US fl oz 0.000946352946
pint USpt US pt 1/8 US gal or 16 US fl oz 0.000473176473
fluid ounce USoz
(USfloz)
US fl oz 1/128 US gal 0.0000295735295625
  • USoz ml
  • USoz mL
  • USoz impoz
US customary
dry measure
barrel USdrybbl UK bbl 105/32 US bsh 0.11562819898508
bushel USbsh US bsh 2150.42 cubic inches by definition 0.03523907016688
bushel USbu US bu 2150.42 cubic inches by definition 0.03523907016688
dry gallon USdrygal US dry gal 1/8 US bsh
Allows triple output units. See: full list.
0.00440488377086
  • USdrygal l
  • USdrygal L
  • USdrygal impgal
dry quart USdryqt US dry qt 1/32 US bsh 0.001101220942715
dry pint USdrypt US dry pt 1/32 US bsh 0.0005506104713575


SPEED
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/(m/s) combinations
SI meter per second m/s m/s UK spelling: metre per second
1
  • m/s ft/s (m/s foot/s)
non-SI metric kilometer per hour km/h km/h UK spelling: kilometre per hour
(5/18)
  • km/h mph
Imperial
&
US customary
mile per hour mph mph 0.44704
  • mph km/h
  • mph kn
foot per second ft/s (foot/s) ft/s Code "foot/s" will show "foot per second" if plural. 0.3048
  • ft/s m/s
Maritime units knot kn (knot) kn (4.63/9)
  • kn mph


FORCE
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/N combination output units
SI giganewton GN GN Allows triple output units. See: full list. 1,000,000,000
  • GN LT-f
  • GN LTf
  • GN ST-f
  • GN STf
meganewton MN MN Allows triple output units. See: full list. 1,000,000
  • MN LT-f
  • MN LTf
  • MN ST-f
  • MN STf
kilonewton kN kN Allows triple output units. See: full list. 1,000
  • kN LT-f
  • kN LTf
  • kN ST-f
  • kN STf
newton N N 1
  • N lb-f
  • N lbf
  • N oz-f
  • N ozf
millinewton mN mN 0.001
  • mN oz-f
  • mN ozf
  • mN gr-f
  • mN grf
micronewton μN (uN) µN 0.000001
  • μN gr-f
  • μN grf
nanonewton nN nN 0.000000001
  • nN gr-f
  • nN grf
cgs megadyne Mdyn Mdyn 10
kilodyne kdyn kdyn 0.01
dyne dyn
(dyne)
dyn 0.00001
millidyne mdyn mdyn 0.00000001
Metric gravitational units tonne-force t-f tf 9,806.65
tf tf
kilogram-force kg-f kgf 9.80665
kgf kgf
gram-force g-f gf 0.00980665
gf gf
milligram-force mg-f mgf 0.00000980665
mgf mgf
Avoirdupois-based units poundal pdl pdl 0.138254954376
long ton-force LT-f LTf 9,964.01641818352
  • LT-f ST-f
LTf LTf
  • LTf STf
short ton-force ST-f STf 8,896.443230521
  • ST-f LT-f
STf STf
  • STf LTf
pound-force lb-f lbf 4.4482216152605
lbf lbf
grain-force gr-f grf 0.0006354602307515
grf grf


ENERGY
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/J combinations
SI gigajoule GJ GJ 1,000,000,000
megajoule MJ MJ 1,000,000
kilojoule kJ kJ 1,000
hectojoule hJ hJ 100
dekajoule daJ daJ 10
joule J J 1
decijoule dJ dJ 0.1
centijoule cJ cJ 0.01
millijoule mJ mJ 0.001
microjoule μJ (uJ) µJ 0.000001
nanojoule nJ nJ 0.000000001
cgs megaerg Merg Merg 0.1
kiloerg kerg kerg 0.0001
erg erg erg 0.0000001
Watt-hour multiples terawatt-hour TWh TWh 3.6×10^15
TW.h TW·h
gigawatt-hour GWh GWh 3.6×10^12
GW.h GW·h
megawatt-hour MWh MWh 3,600,000,000
MW.h MW·h
kilowatt-hour kWh kWh 3,600,000
kW.h kW·h
watt-hour Wh Wh 3,600
W.h W·h
Electron-
volt
multiples
gigaelectronvolt GeV GeV 0.0000000001602176487
megaelectronvolt MeV MeV 1.602176487×10^−13
kiloelectronvolt keV keV 1.602176487×10^−16
electronvolt eV eV 1.602176487×10^−19
millielectronvolt meV meV 1.602176487×10^−22
Calorie multiples calorie Cal Cal The thermo-chemical calorie is the default definition. For others, see the full list. 4,184
megacalorie Mcal Mcal 4,184,000
kilocalorie kcal kcal 4,184
calorie cal cal 4.184
millicalorie mcal mcal 0.004184
pound/
ounce
-foot/
inch-hour-minute-second
foot-poundal ftpdl ft·pdl 0.0421401100938048
foot-pound force ftlbf ft·lbf 1.3558179483314003
ftlb-f ft·lbf
inch-pound force inlbf in·lbf 0.1129848290276167
inlb-f in·lbf
inch-ounce force inozf in·ozf 0.00706155181422604350
inoz-f in·ozf
horsepower-hour hph hp·h 2,684,519.537696172792
British thermal unit British thermal unit Btu Btu The International Steam Table British thermal unit is used. For others, see the full list. 1,055.05585262
BTU BTU
TNT-based units gigatonne of TNT GtTNT 4.1840×10^18
gigaton of TNT GtonTNT
megatonne of TNT MtTNT 4.184×10^15
megaton of TNT MtonTNT Mt
kilotonne of TNT ktTNT 4.184×10^12
kiloton of TNT ktonTNT kt
tonne of TNT tTNT 4,184,000,000
ton of TNT tonTNT
Other
Hartree Eh Eh 4.35974417×10^−18
rydberg Ry Ry 2.1798741×10^−18
tonne of oil equivalent toe toe 41,868,000,000
barrel of oil equivalent BOE BOE 6,117,863,200
cubic foot of natural gas cuftnaturalgas (cufootnaturalgas) Unit-code cufootnaturalgas will show "cubic foot of natural gas" if plural. 1,055,055.85262
liter-atmosphere latm l·atm 101.325
Latm L·atm
gallon-atmosphere impgalatm imp gal·atm 460.63256925
gallon-atmosphere USgalatm
(usgalatm)
US gal·atm 383.5568490138


TEMPERATURE
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion
to kelvin
combinations
SI kelvin K K Allows triple output units. See: full list. [K]
  • K °C (K C)
  • K °R (K R)
  • K °F (K F)
degree Celsius °C (C) °C ([°C]+273.15)
  • °C K (C K)
  • °C °R (C R)
  • °C °F (C F)
Imperial
&
US customary
degree Rankine °R (R) °R ([°R]/1.8)
  • °R K (R K)
  • °R °C (R C)
  • °R °F (R F)
degree Fahrenheit °F (F) °F (([°F]+459.67)/1.8)
  • °F K (F K)
  • °F °C (F C)
  • °F °R (F R)
Celsius change C-change Used for temperature intervals instead of absolute temperatures
Example:  {{convert|5|C-change|0}} warmer
Result: 5 °C (9 °F) warmer
Fahrenheit change F-change Used for temperature intervals instead of absolute temperatures
Example:  {{convert|10|F-change|0}} colder
Result: 10 °F (6 °C) colder


MASS
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/kg combination output units
SI kilogram kg kg Allows triple output units. See: full list. 1
  • kg lb
  • kg st
gram g g 0.001
  • g oz
milligram mg mg 0.000001
  • mg gr
microgram μg (ug) µg 0.000000001
non-SI metric metric ton t t Allows triple output units. See: full list. 1,000
  • t LT
  • t ST
metric ton MT t
  • MT LT
  • MT ST
Avoirdupois long ton LT 2,240 lb
used mostly in the British Commonwealth.
Allows triple output units. See: full list.
1,016.0469088
  • LT t
  • LT MT
  • LT ST
long ton
short ton ST 2,000 lb
used mostly in the US.
Allows triple output units. See: full list.
907.18474
  • ST t
  • ST MT
  • ST LT
short ton
stone st st 14 lb
used mostly in the British Commonwealth except Canada.
Allows triple output units. See: full list.
6.35029318
  • st kg
  • st lb
pound lb lb Allows triple output units. See: full list. 0.45359237
  • lb kg
  • lb st
ounce oz oz 0.028349523
  • oz g
dram drachm 0.001771845195
dram dram
grain gr gr equivalent to the troy grain 0.00006479891
Troy troy ounce ozt ozt 0.0311034768
other carat carat 0.0002


TORQUE
(Full list)
system unit unit-
code
abbrev-
iation
notes conversion factor/N·m combinations
Industrial
SI newton meter Nm N·m Triple combinations are also possible. See the full list. 1
  • Nm kg-m
  • Nm ft-lb
Non-SI metric kilogram-meter kg-m kg-m 9.80665
  • kg-m Nm
  • kg-m ft-lb
Imperial
&
US customary
foot-pound ft-lb ft-lb 1.3558
  • ft-lb Nm
  • ft-lb kg-m
Scientific
SI newton meter N-m N·m Triple combinations are also possible. See the full list. 1
  • N-m kgf-m
  • N-m lbf-ft
Non-SI metric kilogram-force meter kgf-m kgf·m 9.80665
  • kgf-m N-m
  • kgf-m lbf-ft
Imperial
&
US customary
pound-foot lbf-ft lbf·ft 1.3558
  • lbf-ft N-m
  • lbf-ft kgf-m
PRESSURE
unit unit-
code
abbrev-
iation
conversion factor/Pa
gigapascal GPa GPa 1,000,000,000
megapascal MPa MPa 1,000,000
kilopascal kPa kPa 1,000
hectopascal hPa hPa 100
pascal Pa Pa 1
millipascal ‎mPa‎ mPa 0.001
millibar mbar mbar 100
mb mb
decibar ‎dbar dbar 10,000
bar bar bar 100,000
kilobarye kBa kBa 100
barye ‎Ba Ba 0.1
standard atmosphere atm atm 101,325
torr Torr Torr (20,265/152)
millimeter of mercury mmHg mmHg 133.322387415
inch of mercury inHg inHg 3,386.388640341
pound per square inch psi psi (444,822,161.52605
/ 64,516)
FUEL EFFICIENCY
unit unit-
code
notes combinations
kilometers per liter km/l (km/L) Use km/L to get "km/L"
  • km/l mpgimp
  • km/l mpgus
liters per 100 kilometers l/100 km (L/100 km) Use L/100 km to get "L/100 km"
  • l/100 km mpgimp
  • l/100 km mpgus
liters per kilometer l/km (L/km) Use L/km to get "L/km"
  • l/km impgal/mi
  • l/km usgal/mi
miles per imperial gallon mpgimp
  • mpgimp mpgus
miles per US gallon mpgUS (mpgus)
  • mpgus mpgimp
imperial gallons per mile impgal/mi
  • impgal/mi
US gallons per mile USgal/mi (usgal/mi)
  • usgal/mi
The mpgUS, USgal/mi, km/L, L/100 km and L/km variants work within combinations also.
POWER
Watts, kilowatts, milliwatts, etc. are supported. As is horsepower (English & metric). Use standard abbreviations as input code (lowercase hp for horsepower, for example)
POPULATION DENSITY
unit unit-
code
notes combinations
inhabitants per square kilometer PD/km2 (PD/sqkm) PD stands for population density, i.e. humans (inhabitants)
  • PD/km2 PD/sqmi
per square kilometer /km2 (/sqkm) Used when the word 'inhabitants' would be inappropriate.
  • /km2 /sqmi
inhabitants per hectare PD/ha
  • PD/ha PD/acre
per hectare /ha
  • /ha /acre
inhabitants per square mile PD/sqmi PD stands for population density, i.e. humans (inhabitants)
  • PD/sqmi PD/km2
per square mile /sqmi Used when the word 'inhabitants' would be inappropriate.
  • /sqmi /km2
inhabitants per acre PD/acre
  • PD/acre PD/ha
per acre /acre
  • /acre /ha
COST PER UNIT MASS
unit unit-
code
notes combinations
dollars per pound $/lb "$" can mean US$, HK$, etc.
  • (none)
dollars per kilogram $/kg
  • (none)
dollars per acre $/acre
  • (none)
dollars per hectare $/ha
  • (none)
dollars per square meter $/m2
  • (none)
dollars per square foot $/sqft
  • (none)