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)

αž…αŸ†αž“αž½αž“ αž‚αžΊβ€‹αž‡αžΆβ€‹αž…αŸ†αž“αž½αž“β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αž˜αŸ’αž›αŸ‚αž„Β αŸ”

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

αžαž½αž‚αž»αžŽ

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

αžαž½αž‚αž»αžŽ

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!