CONVERT

The CONVERT function converts a number from one measurement system to its corresponding value in another measurement system.

CONVERT(convert-num, from-unit, to-unit)

convert-num: The number value to be converted.

from-unit: A string value representing the current unit of the number to be converted. It must be one of the constants specified in the tables below.

to-unit: A string value representing the new unit of the number to be converted. It must be one of the constants specified in the tables below.

Notes

Examples

=CONVERT(9, “lbm”, “kg”) returns 4.08233133 (9 pounds is approximately 4.08 kilograms).

=CONVERT (26.2, “mi”, “m”) returns 42,164.8128 (26.2 miles is approximately 42, 164.8 meters).

=CONVERT(1, “tsp”, “ml”) returns 4.92892159375 (1 teaspoon is approximately 4.9 milliliters).

Weight and mass units

Distance units

Duration units

Speed units

Pressure units

Force units

Energy units

Power units

Magnetism units

Temperature units

Liquid measurement units

Area units

Information units

Metric prefixes

Binary prefixes