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

설명

접두사

"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"

Byte


Length and distance

Unit symbol

설명

접두사

"ang"

Angstrom

"ell"

Ell

아니요

"ft"

feet

아니요

"in"

인치

아니요

"ly" ; "lightyear"

Light-year

"m"

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