Skip to content

Converting Units

Use to or in or as to convert into a particular unit.

See all the available units in the Unit Reference.

Notes Calculator
Calculation example
CalculationResult
10 km in m10.000 m
3 weeks in days21 days
100 pounds in kg45,36 kg

When the left-hand side is a plain number or an expression with no source unit, in <unit> (or just the unit, with no in) attaches the unit without conversion. This works for variables, parenthesised expressions, and user-function parameters.

Notes Calculator
Calculation example
CalculationResult
20 in EUR€20
(5 + 3) m8 m
50 in km50 km

When mixing plain numbers with units, the nearest unit will be used automatically.

Notes Calculator
Calculation example
CalculationResult
300 + 20 km320 km
$20 + 30$50

When doing calculations with mixed unit types, the lowest common unit will be used.

Notes Calculator
Calculation example
CalculationResult
1km + 1.000m2.000 m

When units don’t share a common base unit, the last used unit wins. The currency result below uses an illustrative rate of USD 1 = EUR 0.8; live currency results vary with the app’s current rate.

Notes Calculator
Calculation example
CalculationResult
$200 + 200€360

When multiplying units, the result will be a supported math compound unit:

Notes Calculator
Calculation example
CalculationResult
10m x 10m100 m²

An implicit rate will be made when a supported unit cannot be created through multiplication:

Notes Calculator
Calculation example
CalculationResult
$30 × 4 days$120