CONVERT function

Converts a value from one unit of measurement to the corresponding value in another unit of measurement. Enter the units of measurement directly as text in quotation marks or as a reference. The units of measurement specified through the arguments must match the supported unit symbols, which are case-sensitive. For example, the symbol for the unit "newton" is the uppercase "N".

The measurement units recognized by CONVERT fall into 13 groups, which are listed below. CONVERT will perform conversions between any two units within one group but reject any request to convert between units in different groups.

You can also add binary and decimal prefixes to units of measurement that support them. The list of all prefixes and their corresponding multipliers are shown below.

warning

This function may not be compatible with other spreadsheet software.


āϏāĻŋāύāĻŸā§āϝāĻžāĻ•ā§āϏ

CONVERT(Number; FromUnit; ToUnit)

Number āĻšāϞ⧋ āĻāĻŽāύ āĻāĻ•āϟāĻŋ āϏāĻ‚āĻ–ā§āϝāĻž, āϝāĻž āϰ⧂āĻĒāĻžāĻ¨ā§āϤāϰ āĻ•āϰāĻž āĻšāĻŦ⧇āĨ¤

FromUnit āĻšāϞ⧋ āĻāĻŽāύ āĻāĻ•āϟāĻŋ āĻāĻ•āĻ•, āϝ⧇āĻ–āĻžāύ āĻšāϤ⧇ āϰ⧂āĻĒāĻžāĻ¨ā§āϤāϰ āϏāĻŽā§āĻĒāĻ¨ā§āύ āĻ•āϰāĻž āĻšā§ŸāĨ¤

ToUnit āĻšāϞ⧋ āĻāĻ•āϟāĻŋ āĻāĻ•āĻ• āϝāĻž āϰ⧂āĻĒāĻžāĻ¨ā§āϤāϰāĻŋāϤ āĻšā§ŸāĨ¤ āωāĻ­āĻž āĻāĻ•āĻ• āĻāĻ•āχ āϧāϰāύ⧇āϰ āĻšāϤ⧇ āĻšāĻŦ⧇āĨ¤

warning

If FromUnit and ToUnit are not valid units from the same group, then CONVERT reports an invalid argument error (Err:502).


āωāĻĻāĻžāĻšāϰāĻŖāϏāĻŽā§‚āĻš

=CONVERT(-10; "C"; "F")

Here the function converts -10 degrees Celsius to degrees Fahrenheit, returning the value 14. There is not a simple multiplicative relationship between temperature units, as different reference points are used. Hence, as in this case, an input negative number may be converted to a positive value.

=CONVERT(3.5; "mi"; "yd")

Here the function converts 3.5 international miles to yards, returning the value 6160. Both units are in the Length and distance group.

=CONVERT(256; "Gibit"; "Mibyte")

Here the function converts 256 gigibits to mebibytes, returning the value 32768. Both units (bit and byte) are in the Information group and support binary prefixes.

=CONVERT(1; "dyn"; "e")

Here the function returns an invalid argument error (Err:502) because the two units (dyne and erg) are in different groups (Force and Energy respectively).

Units of measurement

Below are the unit measurement groups supported by the CONVERT function. Be aware that conversions can only happen between units that belong to the same group.

note

The column Prefix indicates whether or not a given unit of measurement supports prefixes.


āĻāϞāĻžāĻ•āĻž

note

Some measurement units have more than one accepted symbol. The accepted unit symbols are separated by semicolons in the Unit symbol column.


Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"ang2" ; "ang^2"

Square angstrom

āĻšā§āϝāĻžāρ

"ar"

Are

āĻšā§āϝāĻžāρ

"ft2" ; "ft^2"

Square foot

āύāĻž

"ha"

Hectare

āύāĻž

"in2" ; "in^2"

Square inch

āύāĻž

"ly2" ; "ly^2"

Square light-year

āύāĻž

"m2" ; "m^2"

Square meter

āĻšā§āϝāĻžāρ

"mi2" ; "mi^2"

Square international mile

āύāĻž

"Morgen"

Morgen

āύāĻž

"Nmi2" ; "Nmi^2"

Square nautical mile

āύāĻž

"Pica2" ; "Pica^2" ; "picapt2" ; "picapt^2"

Square pica point

āύāĻž

"pica2" ; "pica^2"

Square pica

āύāĻž

"uk_acre" ; "acre"

International acre

āύāĻž

"us_acre"

US survey acre

āύāĻž

"yd2" ; "yd^2"

Square yard

āύāĻž


āĻļāĻ•ā§āϤāĻŋ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"BTU" ; "btu"

British thermal unit

āύāĻž

"c"

Thermochemical calorie

āĻšā§āϝāĻžāρ

"cal"

International Steam Table calorie

āĻšā§āϝāĻžāρ

"e"

erg

āĻšā§āϝāĻžāρ

"eV" ; "ev"

Electron volt

āĻšā§āϝāĻžāρ

"flb"

Foot-pound

āύāĻž

"HPh" ; "hh"

Horsepower-hour

āύāĻž

"J"

Joule

āĻšā§āϝāĻžāρ

"Wh" ; "wh"

Watt-hour

āĻšā§āϝāĻžāρ


Flux density

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"ga"

Gauss

āĻšā§āϝāĻžāρ

"T"

Tesla

āĻšā§āϝāĻžāρ


āĻŦāϞ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"dyn" ; "dy"

Dyne

āĻšā§āϝāĻžāρ

"N"

Newton

āĻšā§āϝāĻžāρ

"lbf"

Pound-force

āύāĻž

"pond"

Pond

āĻšā§āϝāĻžāρ


āϤāĻĨā§āϝ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"bit"

Bit

āĻšā§āϝāĻžāρ

"byte"

āĻŦāĻžāχāϟ

āĻšā§āϝāĻžāρ


Length and distance

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"ang"

Angstrom

āĻšā§āϝāĻžāρ

"ell"

Ell

āύāĻž

"ft"

āĻĢ⧁āϟ

āύāĻž

"in"

āχāĻžā§āϚāĻŋ

āύāĻž

"ly" ; "lightyear"

Light-year

āĻšā§āϝāĻžāρ

"m"

āĻŽāĻŋāϟāĻžāϰ

āĻšā§āϝāĻžāρ

"mi"

International mile

āύāĻž

"Nmi"

Nautical mile

āύāĻž

"parsec" ; "pc"

Parsec

āĻšā§āϝāĻžāρ

"Pica" ; "picapt"

Pica point

āύāĻž

"pica"

āĻĒāĻŋāĻ•āĻž

āύāĻž

"survey_mi"

US survey mile

āύāĻž

"yd"

Yard

āύāĻž


Mass and weight

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"cwt" ; "shweight"

Short hundredweight

āύāĻž

"g"

Gram

āĻšā§āϝāĻžāρ

"grain"

Grain

āύāĻž

"lbm"

Pound

āύāĻž

"ozm"

Ounce

āύāĻž

"pweight"

Pennyweight

āύāĻž

"sg"

Slug

āύāĻž

"stone"

Stone

āύāĻž

"ton"

Short ton

āύāĻž

"u"

Unified atomic mass unit

āĻšā§āϝāĻžāρ

"uk_cwt" ; "lcwt" ; "hweight"

Long hundredweight

āύāĻž

"uk_ton" ; "LTON" ; "brton"

Long ton

āύāĻž


āĻļāĻ•ā§āϤāĻŋ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"HP" ; "h"

Mechanical horsepower

āύāĻž

"PS"

Pferdestärke or metric horsepower

āύāĻž

"W" ; "w"

Watt

āĻšā§āϝāĻžāρ


āϚāĻžāĻĒ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"atm" ; ("at")(1)

Standard atmosphere

āĻšā§āϝāĻžāρ

"mmHg"

Millimeter of mercury

āĻšā§āϝāĻžāρ

"Pa"

Pascal

āĻšā§āϝāĻžāρ

"psi"

Pound per square inch

āύāĻž

"Torr"

Torr

āύāĻž


warning

1 - The "at" unit is deprecated. Use "atm" instead.


āĻ—āϤāĻŋ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"admkn"

Admiralty knot

āύāĻž

"kn"

International knot

āύāĻž

"m/h" ; "m/hr"

Meters per hour

āĻšā§āϝāĻžāρ

"m/s" ; "m/sec"

Meters per second

āĻšā§āϝāĻžāρ

"mph"

Miles per hour

āύāĻž


āϤāĻžāĻĒāĻŽāĻžāĻ¤ā§āϰāĻž

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"C" ; "cel"

Degree Celsius

āύāĻž

"F" ; "fah"

Degree Fahrenheit

āύāĻž

"K" ; "kel"

Kelvin

āĻšā§āϝāĻžāρ

"Rank"

Degree Rankine

āύāĻž

"Reau"

Degree RÊaumur

āύāĻž


āϏāĻŽāϝāĻŧ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"day" ; "d"

āĻĻāĻŋāύ

āύāĻž

"hr"

āϘāĻ¨ā§āϟāĻž

āύāĻž

"mn" ; "min"

āĻŽāĻŋāύāĻŋāϟ

āύāĻž

"sec" ; "s"

āϏ⧇āϕ⧇āĻ¨ā§āĻĄ

āĻšā§āϝāĻžāρ

"yr"

āĻŦāĻ›āϰ

āύāĻž


āĻ­āϞāĻŋāωāĻŽ

Unit symbol

āĻŦāĻŋāĻŦāϰāĻŖ

Prefix

"ang3" ; "ang^3"

Cubic angstrom

āĻšā§āϝāĻžāρ

"barrel"

Oil barrel

āύāĻž

"bushel"

US bushel

āύāĻž

"cup"

US cup

āύāĻž

"ft3" ; "ft^3"

Cubic foot

āύāĻž

"gal"

US gallon

āύāĻž

"Glass"(2)

Australian glass (200 milliliters)

āύāĻž

"GRT" ; "regton"

Gross register tonnage

āύāĻž

"Humpen"(2)

Humpen (500 milliliters)

āύāĻž

"in3" ; "in^3"

Cubic inch

āύāĻž

"l" ; "L" ; "lt"

Liter

āĻšā§āϝāĻžāρ

"ly3" ; "ly^3"

Cubic light-year

āύāĻž

"m3" ; "m^3"

Cubic meter

āĻšā§āϝāĻžāρ

"mi3" ; "mi^3"

Cubic international mile

āύāĻž

"Middy"(2)

Australian middy (285 milliliters)

āύāĻž

"MTON"

Measurement ton

āύāĻž

"Nmi3" ; "Nmi^3"

Cubic nautical mile

āύāĻž

"oz"

US fluid ounce

āύāĻž

"Pica3" ; "Pica^3" ; "picapt3" ; "picapt^3"

Cubic pica point

āύāĻž

"pica3" ; "pica^3"

Cubic pica

āύāĻž

"pt" ; "us_pt"

US pint

āύāĻž

"qt"

US quart

āύāĻž

"Schooner"(2)

Australian schooner (425 milliliters)

āύāĻž

"Sixpack"(2)

Six pack (2 liters)

āύāĻž

"tbs"

US tablespoon

āύāĻž

"tsp"

US teaspoon

āύāĻž

"tspm"

Metric teaspoon

āύāĻž

"uk_gal"

Imperial gallon

āύāĻž

"uk_pt"

Imperial pint

āύāĻž

"uk_qt"

Imperial quart

āύāĻž

"yd3" ; "yd^3"

Cubic yard

āύāĻž


note

2 - These units are not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard for the CONVERT function. They are preserved for backward compatibility.


Prefixes

Decimal prefixes

Prefix

Multiplier

Y (yotta)

1024

Z (zetta)

1021

E (exa)

1018

P (peta)

1015

T (tera)

1012

G (giga)

109

M (mega)

106

k (kilo)

103

h (hecto)

102

e (deca)

101

d (deci)

10-1

c (centi)

10-2

m (milli)

10-3

u (micro)

10-6

n (nano)

10-9

p (pico)

10-12

f (femto)

10-15

a (atto)

10-18

z (zepto)

10-21

y (yocto)

10-24


Binary prefixes

Prefix

Multiplier

Yi (yobi)

280

Zi (zebi)

270

Ei (exbi)

260

Pi (pebi)

250

Ti (tebi)

240

Gi (gibi)

230

Mi (mebi)

220

ki (kibi)

210


Technical information

This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

ORG.OPENOFFICE.CONVERT

Please support us!