units.imperial
imperial units like feet, pounds and miles, plus the British gallon and pint
Imperial units, as used in the UK and, for lengths and weights, the US. It holds feet, inches, miles, pounds, ounces and stones, and the British gallon and pint, which differ from the US ones.
| kind | units |
|---|---|
| length | mi, mile, miles; yd, yard, yards; ft, foot, feet; in, inch, inches; nmi; thou, mil, mils; fathom, fathoms; chain, chains; rod, rods, perch, perches, pole, poles; span, spans; barleycorn, barleycorns; link, links |
| mass | lb, lbs, pound, pounds; oz, ounce, ounces; st, stone; gr, grain, grains; dr, dram, drams; ozt; lbt; scruple, scruples; dwt, pennyweight, pennyweights; long_ton, long_tons |
| temperature | F, fahrenheit, degF; Ra, rankine |
| volume | gal_uk; qt_uk; pt_uk; gill_uk; floz_uk |
| area | acre, acres; rood, roods; cmil; kcmil, MCM |
| speed | mph; kn, knot, knots |
| energy | BTU, btu; thm, therm, therms |
| power | hp, horsepower |
| pressure | psi; inHg; inH2O; ksi |
| force | lbf; ozf; pdl, poundal, poundals |
| illuminance | fc, footcandle, footcandles; fL, foot_lambert, foot_lamberts |
| fuel_economy | mpg_uk |
More examples
Section titled “More examples”imperial
Section titled “imperial”1# 150 pounds in kilograms2150 lb to kg68.0389 kg3# a long ton in kilograms41 long_ton to kg1016.05 kg5# 60 mph in kilometers per hour660 mph to km/h96.5606 km/hExample outputCtrl+Enter to run
Example results generated on 2026-11-04. Ones using now, today or randomness will differ when you run them.