What you can type
| Feature | Examples | Notes |
|---|---|---|
| Numbers | 1 1.5 001 .25 1,000 2e-3 0xFF 0b1010 | 1.1.1 is rejected as an invalid number |
| Scale | 5k 2.5M $3B 1.2T 3 lakh 2 crore 4 million 1 bn 2 tn | k, 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) |
| Percent | 50% 200 g + 10% 10% of 200 10 % 3 | a + b% adds b percent of a; % between numbers is modulo |
| Factorial | 5! (3+2)! | Whole numbers from 0 to 170 |
| Compare | 1 km = 1000 m 1 kg ≠ 1 lb < > ≤ ≥ | Returns True or False; != and == work too |
| Units | 1cm + 1 metre 5 ft 11 in 5'11" 3 m × 4 m | Symbols, names, plurals, US and UK spellings |
| Convert | … to cm … in km/h … as GiB … to ft in | Split results for feet and inches, hours and minutes |
| Money | $20 + €15 in INR 0.5 ETH to USD $2.5B + $800M | Live rates, fiat and crypto |
| Bytes | 1 GB to MB 512B + 1 KB 1 Kb to bit 2 GiB to MB | KB, 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 |
| Formats | 255 to hex 2026 to roman 0.25 to % 12 to binary | |
| Lines | One calculation per line; ans is the line above; # or // starts a comment |
Examples with answers
| You type | You get |
|---|---|
1 cm + 1 m | 1.01 m |
1 cm + 1 m to cm | 101 cm |
5 ft 11 in to cm | 180.34 cm |
180 cm to ft in | 5 ft 10.866 in |
3 m × 4 m | 12 m² |
100 km / 2 h to mph | 31.06855961 mph |
98.6 °F to °C | 37 °C |
200 g + 10% | 220 g |
2^10 | 1,024 |
√(9 + 16) | 5 |
5! | 120 |
2π | 6.28318 |
1 km = 1000 m | True |
2 lakh + 50k | 250,000 |
$2.5B + $800M | 3,300,000,000.00 USD |
1.2T / 8B | 150 |
1 GB to MB | 1,000 MB |
1 GB to MiB | 953.6743164 MiB |
255 to hex | 0xFF |
100000 s to d h min s | 1 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.