ConvertEasy
Offline

Quick math

Smart calculator that understands units

Not a keypad: a text box. Type math with units, currencies, percentages and roots; suggestions below the box offer the units and operators that make sense next.

1 cm + 1 m = 1.01 m (or 101 cm, your choice). Units of the same kind mix freely; the answer unit is a dropdown away.

What you can type

Calculator syntax
FeatureExamplesNotes
Numbers1 1.5 001 .25 1,000 2e-3 0xFF 0b10101.1.1 is rejected as an invalid number
Scale5k 2.5M $3B 1.2T 3 lakh 2 crore 4 million 1 bn 2 tnk, M, B (billion) and T (trillion) when attached to the number. With a space, or in a line that already has bytes or spoons, B is a byte and T a tablespoon
Operators+ - * × / ÷ ^ ( )Usual precedence; 2(3+4) and 2π multiply
Roots and π√16 √(9+16) sqrt 2 π piπ is 3.14159 (five decimals)
Percent50% 200 g + 10% 10% of 200 10 % 3a + b% adds b percent of a; % between numbers is modulo
Factorial5! (3+2)!Whole numbers from 0 to 170
Compare1 km = 1000 m 1 kg ≠ 1 lb < > Returns True or False; != and == work too
Units1cm + 1 metre 5 ft 11 in 5'11" 3 m × 4 mSymbols, names, plurals, US and UK spellings
Convert… to cm … in km/h … as GiB … to ft inSplit results for feet and inches, hours and minutes
Money$20 + €15 in INR 0.5 ETH to USD $2.5B + $800MLive rates, fiat and crypto
Bytes1 GB to MB 512B + 1 KB 1 Kb to bit 2 GiB to MBKB, MB, GB and TB follow the Decimal / Binary switch (1,000 or 1,024). Bits are always 1,000-based; KiB, MiB and GiB always 1,024
Formats255 to hex 2026 to roman 0.25 to % 12 to binary
LinesOne calculation per line; ans is the line above; # or // starts a comment

Examples with answers

Example calculations
You typeYou get
1 cm + 1 m1.01 m
1 cm + 1 m to cm101 cm
5 ft 11 in to cm180.34 cm
180 cm to ft in5 ft 10.866 in
3 m × 4 m12 m²
100 km / 2 h to mph31.06855961 mph
98.6 °F to °C37 °C
200 g + 10%220 g
2^101,024
√(9 + 16)5
5!120
6.28318
1 km = 1000 mTrue
2 lakh + 50k250,000
$2.5B + $800M3,300,000,000.00 USD
1.2T / 8B150
1 GB to MB1,000 MB
1 GB to MiB953.6743164 MiB
255 to hex0xFF
100000 s to d h min s1 d 3 h 46 min 40 s

How suggestions work

As you type, the chips under the box follow your cursor. After a number they offer units; once a line has a unit, only units of the same kind appear (type 2 g + and you will see grams, kilograms, pounds and ounces, not meters). After a value they offer operators, and after to the units your answer can be shown in. Press Tab to take the first unit suggestion while typing.

Questions and answers

Can I add different units, like centimeters and meters?

Yes. 1 cm + 1 m gives 1.01 m, and the dropdown next to the answer switches it to 101 cm, inches or any other length unit. Units must be the same kind: 1 kg + 1 m is rejected with an explanation.

What does the calculator do with 3 m × 4 m?

It tracks dimensions, so length × length is an area: 12 m². Distance ÷ time is a speed, mass ÷ volume a density, power × time an energy.

How do I pick the unit of the answer?

Use the unit dropdown on the result, or end the line with "to", "in" or "as" and a unit: 180 cm to ft in gives 5 ft 10.866 in.

Is 1 GB 1,000 MB or 1,024 MB in the calculator?

Your choice. When a line involves bytes, a Decimal / Binary switch appears on the result: decimal counts 1 KB = 1,000 B (drives, macOS, phones) and binary counts 1 KB = 1,024 B (Windows, RAM). Bits stay decimal, so 1 Kb = 1,000 b, and 1 B is always 8 b. The same switch drives the data converters.

Can I type 5B for five billion?

Yes. k, M, B and T written straight after a number mean thousand, million, billion and trillion: $2.5B + $800M = $3.3 billion. Written with a space (5 B) or in a line that already has data units (512B + 1 KB), B means bytes instead.

Does it work with currency?

Yes. $20 + €15 in INR uses live exchange rates, and crypto such as BTC and ETH works the same way.

Is my calculation history private?

Yes. Everything stays in your browser. Nothing you type is sent anywhere; only exchange rates are fetched.