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.


Syntax

CONVERT(Number; FromUnit; ToUnit)

Number is the number to be converted.

FromUnit is the unit from which conversion is taking place.

ToUnit is the unit to which conversion is taking place. Both units must be of the same type.

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

विवरण

उपसर्ग

"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

विवरण

उपसर्ग

"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

विवरण

उपसर्ग

"ga"

Gauss

हाँ

"T"

Tesla

हाँ


बल

Unit symbol

विवरण

उपसर्ग

"dyn" ; "dy"

Dyne

हाँ

"N"

Newton

हाँ

"lbf"

Pound-force

नहीं

"pond"

Pond

हाँ


सूचना

Unit symbol

विवरण

उपसर्ग

"bit"

Bit

हाँ

"byte"

बाइट

हाँ


Length and distance

Unit symbol

विवरण

उपसर्ग

"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

विवरण

उपसर्ग

"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

विवरण

उपसर्ग

"HP" ; "h"

Mechanical horsepower

नहीं

"PS"

Pferdestärke or metric horsepower

नहीं

"W" ; "w"

Watt

हाँ


दबाव

Unit symbol

विवरण

उपसर्ग

"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

विवरण

उपसर्ग

"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

विवरण

उपसर्ग

"C" ; "cel"

Degree Celsius

नहीं

"F" ; "fah"

Degree Fahrenheit

नहीं

"K" ; "kel"

Kelvin

हाँ

"Rank"

Degree Rankine

नहीं

"Reau"

Degree Réaumur

नहीं


समय

Unit symbol

विवरण

उपसर्ग

"day" ; "d"

दिन

नहीं

"hr"

घंटा

नहीं

"mn" ; "min"

मिनट

नहीं

"sec" ; "s"

सेकेंड

हाँ

"yr"

वर्ष

नहीं


आवाज़ निर्धारक

Unit symbol

विवरण

उपसर्ग

"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

उपसर्ग

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

उपसर्ग

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