Unit of Measure conversion
Share
Explore

# HomeHome

Formulas to convert between Units of Measurement (SI and non-SI)
The Packs
The Flexible UoM Conversions pack includes the following formulas:
uomConversionLength(sourceUnit, destinationUnit, quantity)
This formula will convert between any two of the following units of measure of length:
"inch", "foot", "yard", "mile", "nautical mile", "millimeter", "centimeter", "meter", "kilometer"
uomConversionArea(sourceUnit, destinationUnit, quantity)
This formula will convert between any two of the following units of measure of area:
"acre", "square inch", "square foot", "square yard", "square mile", "hectare", "square millimeter", "square centimeter", "Square meter", "square kilometer"
uomConversionWeight(sourceUnit, destinationUnit, quantity)
This formula will convert between any two of the following units of measure of weight:
"ounce", "troy ounce", "pound", "stone", "short ton", "long ton", "milligram", "gram", "kilogram"
uomConversionVolume(sourceType, sourceUnit, destinationType, destinationUnit, quantity)
Gallons, and it’s related units of measure, are defined in four different ways
Imperial, US Customary - Liquid, US Customary - Dry, US Customary for food labeling
I have created conversions for the following types of measures:
“Imperial”, “US liquid”, “Metric”
The formula will convert between selected pairs of the following units of measure of volume:
“fluid ounce”, “pint”, “quart”, “gallon”, “milliliter”, “liter”

This companion doc
This doc is a companion doc to pack providing additional formulas to the basic Coda formula language.
It provides details about the formulas themselves, as well as background information where useful or interesting
(It will grow over time as I add more formulas, and as subscribers request more formulas.)
This companion doc covers the following areas:
Included in this documentation is
The list of the 7 basic SI units of measure -
The prefixes that are applied to the above -
The names of some the most common Imperial measurements, and where they differ, the US versions. -
Some common used kitchen measurements, translated to SI units using both Imperial and US conversion factors. (A future separate pack will be created for this.)
The list of conversions from imperial to metric. -