Template:Convert/list of units

From Wiki
Jump to: navigation, 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 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 sample default
conversion
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 sample of the default conversion for the unit output codes for multiple conversions


LENGTH
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI megametre Mm Mm US spelling: megameter
1.0 Mm (620 mi)
kilometre km km US spelling: kilometer
1.0 km (0.62 mi)
  • km mi
metre m m US spelling: meter
1.0 m (3 ftin)
  • m ft
  • m ftin
centimetre cm cm US spelling: centimeter
1.0 cm (0.39 in)
  • cm in
millimetre mm mm US spelling: millimeter
1.0 mm (0.039 in)
  • mm in
micrometre μm (um) µm US spelling: micrometer
1.0 µm (3.9×10−5 in)
nanometre nm nm US spelling: nanometer
1.0 nm (3.9×10−8 in)
non-SI metric ångström Å
(angstrom)
Å 1.0 Å (3.9×10−9 in)
Imperial
&
US customary
mile mi mi 1.0 mi (1.6 km)
  • mi km
furlong furlong (none) 1.0 furlong (660 ft; 200 m)
chain chain (none) 1.0 chain (66 ft; 20 m)
rod rd rd For other names of this unit see the full list. 1.0 rd (17 ft; 5.0 m)
fathom fathom (none) assumes 1 fathom ≡ 6 ft 1.0 fathom (6.0 ft; 1.8 m)
yard yd yd assumes the international definition 1.0 yd (0.91 m)
foot ft (foot) ft code "foot" will show "foot" if plural.

code "ft" will show "foot" or "feet" depending on value.

1.0 ft (0.30 m)
  • ftin (feet and inches)
  • ft m (foot m)
inch in in 1.0 in (25 mm)
  • in cm
  • in mm
Other nautical mile nmi nmi the international standard nautical mile
For other nautical miles see the full list.
1.0 nmi (1.9 km; 1.2 mi)
parsec pc pc 1.0 pc (3.3 ly)
light-year ly ly 1.0 ly (63,000 AU)
astronomical unit AU AU 1.0 AU (150,000,000 km; 93,000,000 mi)


AREA
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI square kilometre km2 km2 US spelling: square kilometer
1.0 km2 (0.39 sq mi)
  • km2 sqmi
square metre m2 m2 US spelling: square meter
1.0 m2 (11 sq ft)
  • m2 sqft
square centimetre cm2 cm2 US spelling: square centimeter
1.0 cm2 (0.16 sq in)
  • cm2 sqin
square millimetre mm2 mm2 US spelling: square millimeter
1.0 mm2 (0.0016 sq in)
  • mm2 sqin
non-SI metric hectare ha ha 1.0 ha (2.5 acres)
Imperial
&
US customary
square mile sqmi sq mi 1.0 sq mi (2.6 km2)
  • sqmi km2
acre acre (none) 1.0 acre (0.40 ha)
square yard sqyd sq yd 1.0 sq yd (0.84 m2)
square foot sqft
(sqfoot)
sq ft code "sqfoot" will show "square foot" if plural.

code "sqfoot" will show "foot" or "feet" depending on value.

1.0 sq ft (0.093 m2)
  • sqft m2 (sqfoot m2)
square inch sqin sq in 1.0 sq in (6.5 cm2)
  • sqin cm2
Other square nautical mile sqnmi sq nmi 1.0 sq nmi (3.4 km2; 1.3 sq mi)
dunam dunam (none) For alternative spellings and definitions see the full list 1.0 dunam (0.0010 km2; 0.00039 sq mi)
tsubo tsubo (none) 1.0 tsubo (3.3 m2)


VOLUME
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI cubic metre m3 m3 US spelling: cubic meter
one kilolitre
1.0 m3 (35 cu ft)
cubic centimetre cm3 cm3 US spelling: cubic centimeter
one millilitre
1.0 cm3 (0.061 cu in)
cc cc
cubic millimetre mm3 mm3 US spelling: cubic millimeter
1.0 mm3 (6.1×10−5 cu in)
non-SI metric kilolitre kl kl US spelling: kiloliter
one cubic metre
1.0 kl (35 cu ft)
kL kL
litre l l US spelling: liter
one cubic decimetre
Allows triple output units. See: full list.
1.0 l (0.22 imp gal; 0.26 US gal)
  • l impgal
  • l USgal
  • l U.S.gal
  • l USdrygal
  • l U.S.drygal
L L
  • L impgal
  • L impqt
  • L USgal
  • L U.S.gal
  • L USdrygal
  • L U.S.drygal
centilitre cl cl US spelling: centiliter
1.0 cl (0.35 imp fl oz; 0.34 US fl oz)
cL cL
millilitre ml ml US spelling: milliliter
one cubic centimetre
1.0 ml (0.035 imp fl oz; 0.034 US fl oz)
  • ml impoz
  • ml USoz
  • ml U.S.oz
mL mL
  • mL impoz
  • mL USoz
  • mL U.S.oz
Imperial
&
US customary
cubic yard cuyd cu yd 1.0 cu yd (0.76 m3)
cubic foot cuft (cufoot) cu ft code "cufoot" will show "cubic foot" if plural.

code "cufoot" will show "foot" or "feet" depending on value.

1.0 cu ft (0.028 m3)
cubic inch cuin cu in 1.0 cu in (16 cm3)
Imperial imperial barrel impbbl imp bbl 36 imp gal 1.0 imp bbl (160 l; 36 imp gal; 43 US gal)
imperial bushel impbsh imp bsh 8 imp gal 1.0 imp bsh (36 l; 8.0 imp gal; 8.3 US dry gal)
impbu imp bu
imperial gallon impgal imp gal 4.54609 litres by definition, also
4 imp qt or 8 imp pt or 160 imp fl oz
Allows triple output units. See: full list.
1.0 imp gal (4.5 l; 1.2 US gal)
  • impgal l
  • impgal L
  • impgal USgal
  • impgal U.S.gal
  • impgal USdrygal
  • impgal U.S.drygal
imperial quart impqt imp qt 1/4 imp gal or 40 imp fl oz 1.0 imp qt (1,100 ml; 38 US fl oz)
imperial pint imppt imp pt 1/8 imp gal or 20 imp fl oz 1.0 imp pt (0.57 l)
imperial fluid ounce impoz (impfloz) imp fl oz 1/160 imp gal 1.0 imp fl oz (28 ml; 0.96 US fl oz)
  • impoz USoz
  • impoz U.S.oz
  • impoz ml
  • impoz mL
US customary
liquid measure
US barrel USbbl US bbl 31½ US gal
used for liquids except for oil and beer (see the full list)
1.0 US bbl (120 l; 32 US gal; 26 imp gal)
U.S.bbl U.S. bbl
barrel oilbbl bbl 42 US gal 1.0 bbl (0.16 m3)
US beer barrel USbeerbbl
(usbeerbbl)
US bbl 1.0 US bbl (120 l; 31 US gal; 26 imp gal)
U.S.beerbbl
(usbeerbbl)
U.S. bbl
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.
1.0 US gal (3.8 l; 0.83 imp gal)
  • USgal l
  • USgal L
  • USgal impgal
U.S.gal U.S. gal
  • USgal l
  • USgal L
  • USgal impgal
US quart USqt US qt 1/4 US gal or 32 US fl oz 1.0 US qt (950 ml)
U.S.qt U.S. qt
US pint USpt US pt 1/8 US gal or 16 US fl oz 1.0 US pt (0.47 l; 0.83 imp pt)
U.S.pt U.S. pt
US fluid ounce USoz
(USfloz)
US fl oz 1/128 US gal 1.0 US fl oz (30 ml)
  • USoz ml
  • USoz mL
  • USoz impoz
U.S.oz
(U.S.floz)
U.S. fl oz
  • U.S.oz ml
  • U.S.oz mL
  • U.S.oz impoz
US customary
dry measure
US dry barrel USdrybbl US dry bbl 105/32 US bsh 1.0 US dry bbl (0.12 m3)
U.S.drybbl U.S. dry bbl
US bushel USbsh US bsh 2150.42 cubic inches by definition 1.0 US bsh (35 l; 8.0 US dry gal; 7.8 imp gal)
U.S.bsh U.S. bsh
US bushel USbu US bu 2150.42 cubic inches by definition 1.0 US bu (35 l; 8.0 US dry gal; 7.8 imp gal)
U.S.bu U.S. bu
US dry gallon USdrygal US dry gal 1/8 US bsh
Allows triple output units. See: full list.
1.0 US dry gal (4.4 l)
  • USdrygal l
  • USdrygal L
  • USdrygal impgal
U.S.drygal U.S. dry gal
  • U.S.drygal l
  • U.S.drygal L
  • U.S.drygal impgal
US dry quart USdryqt US dry qt 1/32 US bsh 1.0 US dry qt (1,100 ml)
U.S.dryqt U.S. dry qt
US dry pint USdrypt US dry pt 1/32 US bsh 1.0 US dry pt (550 ml)
U.S.drypt U.S. dry pt


SPEED
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI metre per second m/s m/s US spelling: meter per second
1.0 m/s (3.3 ft/s)
  • m/s ft/s (m/s foot/s)
non-SI metric kilometre per hour km/h km/h US spelling: kilometer per hour
1.0 km/h (0.62 mph)
  • km/h mph
Imperial
&
US customary
mile per hour mph mph 1.0 mph (1.6 km/h)
  • mph km/h
  • mph kn
foot per second ft/s (foot/s) ft/s code "foot/s" will show "foot per second" if plural.

code "foot/s" will show "foot" or "feet" depending on value.

1.0 ft/s (0.30 m/s)
  • ft/s m/s
Maritime units knot kn (knot) kn 1.0 kn (1.9 km/h; 1.2 mph)
  • kn mph


FORCE
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI giganewton GN GN Allows triple output units. See: full list. 1.0 GN (220,000,000 lbf)
  • GN LT-f
  • GN LTf
  • GN ST-f
  • GN STf
meganewton MN MN Allows triple output units. See: full list. 1.0 MN (220,000 lbf)
  • MN LT-f
  • MN LTf
  • MN ST-f
  • MN STf
kilonewton kN kN Allows triple output units. See: full list. 1.0 kN (220 lbf)
  • kN LT-f
  • kN LTf
  • kN ST-f
  • kN STf
newton N N 1.0 N (0.22 lbf)
  • N lb-f
  • N lbf
  • N oz-f
  • N ozf
millinewton mN mN 1.0 mN (0.0036 ozf)
  • mN oz-f
  • mN ozf
  • mN gr-f
  • mN grf
micronewton μN (uN) µN 1.0 µN (0.0016 grf)
  • μN gr-f
  • μN grf
nanonewton nN nN 1.0 nN (1.6×10−6 grf)
  • nN gr-f
  • nN grf
cgs megadyne Mdyn Mdyn 1.0 Mdyn (2.2 lbf)
kilodyne kdyn kdyn 1.0 kdyn (0.036 ozf)
dyne dyn
(dyne)
dyn 1.0 dyn (0.016 grf)
millidyne mdyn mdyn 1.0 mdyn (1.6×10−5 grf)
Metric gravitational units tonne-force t-f tf 1.0 tf (9.8 kN; 0.98 LTf; 1.1 STf)
tf tf
kilogram-force kg-f kgf 1.0 kgf (9.8 N; 2.2 lbf)
kgf kgf
gram-force g-f Script error Script error
gf Script error
Script error mg-f Script error Script error
mgf Script error
Avoirdupois-based units Script error pdl Script error Script error
Script error LT-f Script error Script error
  • LT-f ST-f
LTf Script error
  • LTf STf
Script error ST-f Script error Script error
  • ST-f LT-f
STf Script error
  • STf LTf
Script error lb-f Script error Script error
lbf Script error
Script error gr-f Script error Script error
grf Script error


ENERGY
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI Script error GJ Script error Script error
Script error MJ Script error Script error
Script error kJ Script error Script error
Script error hJ Script error Script error
Script error daJ Script error Script error
Script error J Script error Script error
Script error dJ Script error Script error
Script error cJ Script error Script error
Script error mJ Script error Script error
Script error μJ (uJ) Script error Script error
Script error nJ Script error Script error
cgs Script error Merg Script error Script error
Script error kerg Script error Script error
Script error erg Script error Script error
Watt-hour multiples Script error TWh Script error Script error
TW.h Script error
Script error GWh Script error Script error
GW.h Script error
Script error MWh Script error Script error
MW.h Script error
Script error kWh Script error Script error
kW.h Script error
Script error Wh Script error Script error
W.h Script error
Electron-
volt
multiples
Script error GeV Script error Script error
Script error MeV Script error Script error
Script error keV Script error Script error
Script error eV Script error Script error
Script error meV Script error Script error
Calorie multiples Script error Cal Script error The thermo-chemical calorie is the default definition. For others, see the full list. Script error
Script error Mcal Script error Script error
Script error kcal Script error Script error
Script error cal Script error Script error
Script error mcal Script error Script error
pound/
ounce
-foot/
inch-hour-minute-second
Script error ftpdl Script error Script error
Script error ftlbf Script error Script error
ftlb-f Script error
Script error inlbf Script error Script error
inlb-f Script error
Script error inozf Script error Script error
inoz-f Script error
Script error hph Script error Script error
British thermal unit Script error Btu Script error The International Steam Table British thermal unit is used. For others, see the full list. Script error
BTU Script error
TNT-based units Script error GtTNT Script error Script error
Script error GtonTNT Script error
Script error MtTNT Script error Script error
Script error MtonTNT Script error
Script error ktTNT Script error Script error
Script error ktonTNT Script error
Script error tTNT Script error Script error
Script error tonTNT Script error
Other
Script error Eh Script error Script error
Script error Ry Script error Script error
Script error toe Script error Script error
Script error BOE Script error Script error
cubic foot of natural gas cuftnaturalgas (cufootnaturalgas) Unit-code cufootnaturalgas will show "cubic foot of natural gas" if plural. Script error
Script error latm Script error Script error
Latm Script error
Script error impgalatm Script error Script error
Script error USgalatm
(usgalatm)
Script error Script error
U.S.galatm
(usgalatm)
Script error


TEMPERATURE
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI Script error K Script error Allows triple output units. See: full list. Script error
  • K °C (K C)
  • K °R (K R)
  • K °F (K F)
Script error °C (C) Script error Script error
  • °C K (C K)
  • °C °R (C R)
  • °C °F (C F)
Imperial
&
US customary
Script error °R (R) Script error Script error
  • °R K (R K)
  • °R °C (R C)
  • °R °F (R F)
Script error °F (F) Script error Script error
  • °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: Script error warmer
Fahrenheit change F-change Used for temperature intervals instead of absolute temperatures
Example:  {{convert|10|F-change|0}} colder
Result: Script error colder


MASS
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
SI Script error kg Script error Allows triple output units. See: full list. Script error
  • kg lb
  • kg st
Script error g Script error Script error
  • g oz
Script error mg Script error Script error
  • mg gr
Script error μg (ug) Script error Script error
non-SI metric Script error t Script error Allows triple output units. See: full list. Script error
  • t LT
  • t ST
Script error MT Script error
  • MT LT
  • MT ST
Avoirdupois Script error LT Script error 2,240 lb
used mostly in the British Commonwealth.
Allows triple output units. See: full list.
Script error
  • LT t
  • LT MT
  • LT ST
long ton Script error
Script error ST Script error 2,000 lb
used mostly in the US.
Allows triple output units. See: full list.
Script error
  • ST t
  • ST MT
  • ST LT
short ton Script error
Script error st Script error 14 lb
used mostly in the British Commonwealth except Canada.
Allows triple output units. See: full list.
Script error
  • st kg
  • st lb
Script error lb Script error Allows triple output units. See: full list. Script error
  • lb kg
  • lb st
Script error oz Script error Script error
  • oz g
Script error drachm Script error Script error
Script error dram Script error
Script error gr Script error equivalent to the troy grain Script error
Troy Script error ozt Script error Script error
other Script error carat Script error Script error


TORQUE
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
Industrial
SI Script error Nm Script error Triple combinations are also possible. See the full list. Script error
  • Nm kg.m
  • Nm lb.ft
Non-SI metric Script error kg.m Script error Script error
  • kg.m Nm
  • kg.m lb.ft
Imperial
&
US customary
Script error lb.ft Script error Script error
  • lb.ft Nm
  • lb.ft kg-m
Scientific
SI Script error N.m Script error Triple combinations are also possible. See the full list. Script error
  • N.m kgf.m
  • N.m lbf.ft
Non-SI metric Script error kgf.m Script error Script error
  • kgf.m N.m
  • kgf.m lbf.ft
Imperial
&
US customary
Script error lbf.ft Script error Script error
  • lbf.ft N.m
  • lbf.ft kgf.m
DENSITY
(Full list)
system unit unit-
code
abbrev-
iation
notes sample default
conversion
combination
output units
Metric Script error kg/m3 Script error Script error
  • kg/m3 lb/ft3 (kg/m3 lb/cuft)
  • kg/m3 lb/yd3 (kg/m3 lb/cuyd)
Script error g/m3 Script error Script error
  • g/m3 kg/m3
  • g/m3 lb/ft3 (g/cm3 lb/cuft)
  • g/m3 lb/yd3 (g/cm3 lb/cuyd)
Imperial
&
US customary
Script error lb/ft3 Script error Script error
  • lb/ft3 kg/m3 (lb/cu ft g/m3)
  • lb/ft3 g/m3 (lb/cu ft g/m3)
Script error lb/yd3 Script error Script error
  • lb/yd3 kg/m3 (lb/cuyd kg/m3)
  • lb/yd3 g/m3 (lb/cuyd g/m3)


PRESSURE
unit unit-
code
abbrev-
iation
sample default
conversion
Script error GPa Script error Script error
Script error MPa Script error Script error
Script error kPa Script error Script error
Script error hPa Script error Script error
Script error Pa Script error Script error
Script error mPa Script error Script error
Script error mbar Script error Script error
mb Script error
Script error dbar Script error Script error
Script error bar Script error Script error
Script error kBa Script error Script error
Script error Ba Script error Script error
Script error atm Script error Script error
Script error Torr Script error Script error
Script error mmHg Script error Script error
Script error inHg Script error Script error
Script error psi Script error Script error
FUEL EFFICIENCY
unit unit-
code
notes combinations
kilometres per litre km/l (km/L) Use km/L to get "km/L"
  • km/l mpgimp
  • km/l mpgus
litres per 100 kilometres l/100 km (L/100 km) Use L/100 km to get "L/100 km"
  • l/100 km mpgimp
  • l/100 km mpgus
litres per kilometre 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, mpgU.S.) Use mpgUS to get "US"

Use mpgU.S. to get "U.S."
mpgus will give "U.S." if spelling is
set to US & "US" otherwise

  • mpgus mpgimp
imperial gallons per mile impgal/mi
  • impgal/mi
US gallons per mile usgal/mi (USgal/mi, U.S.gal/mi) As above with the us vs US vs U.S.
  • usgal/mi
The mpgUS, mpgU.S., USgal/mi vs U.S.gal/mi, km/L, L/100 km and L/km variants work within combinations also (making 36 combinations in total).
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 kilometre PD/sqkm PD stands for population density, i.e. humans (inhabitants)
  • PD/sqkm PD/sqmi
per square kilometre /sqkm Used when the word 'inhabitants' would be inappropriate.
  • /sqkm /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/sqkm
per square mile /sqmi Used when the word 'inhabitants' would be inappropriate.
  • /sqmi /sqkm
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 troy ounce $/ozt 12 troy ounces in 1 troy pound
  • (none)