Excel Function

Excel CONVERT function

Convert measurements between any units — metres to feet, Celsius to Fahrenheit, kg to pounds — with one formula.

CONVERT transforms a number from one measurement unit to another. It covers length, weight, temperature, time, pressure, energy, speed, and more — all using standardised unit abbreviation strings.

Syntax

CONVERT(number, from_unit, to_unit)
ArgumentWhat it means
number requiredThe value to convert.
from_unit requiredThe unit the number is currently in. Must be a recognised text string.
to_unit requiredThe unit to convert to. Must be in the same category as from_unit.

Common unit abbreviations

CategoryFrom / To examples
Length"m" metres, "ft" feet, "in" inches, "km" kilometres, "mi" miles
Weight"kg" kilograms, "lbm" pounds, "g" grams, "oz" ounces
Temperature"C" Celsius, "F" Fahrenheit, "K" Kelvin
Time"day" days, "hr" hours, "mn" minutes, "sec" seconds
Speed"m/s" metres/sec, "mph" miles/hour, "kn" knots

Examples

=CONVERT(100, "km", "mi") -- 100 kilometres to miles → 62.14 =CONVERT(A2, "C", "F") -- Celsius in A2 to Fahrenheit =CONVERT(5, "lbm", "kg") -- 5 pounds to kilograms → 2.27 =CONVERT(1, "day", "hr") -- 1 day to hours → 24
💡 Unit strings are case-sensitive

"C" is Celsius but "c" is not. "m" is metres but "M" is not. If CONVERT returns #N/A, the most likely cause is a capitalisation error in the unit string.

What if I get a #N/A error?
Either the unit string is not recognised, or you're trying to convert between incompatible categories (e.g. metres to kilograms). Check the exact unit abbreviation — they must match Excel's built-in list exactly.
Can CONVERT handle currency conversion?
No — currency is not a supported category since exchange rates change constantly. Use a separate exchange rate cell and multiply instead.

Practice CONVERT for real

Type it in a live spreadsheet, get instant feedback. No videos, no downloads.

Start practising free →