Skip to content

Free online calculator

This online calculator works from your keyboard or with the mouse, and takes a decimal point or a comma. The answer updates with every digit you type.

What you enter stays on this device.

A calculator that follows the order of operations works out brackets first, then multiplication and division, then addition and subtraction, which is why 10 − 6 ÷ 2 gives 7 rather than 2.

Diagram of the order of operations on the example 10 − 6 ÷ 2: the division 6 ÷ 2 = 3 comes first, then the subtraction 10 − 3 = 7. The answer is 7, not 2.

Keys and keyboard shortcuts

On a computer you can do everything from the keyboard, number pad included. Enter gives the answer and Esc wipes the slate clean.

KeyWhat it doesOn your keyboard
+ − × ÷Add, subtract, multiply, divide+ - * /
%Percentage%
( )Brackets( )
.Decimal point. or ,
=AnswerEnter
⌫Delete last characterBackspace
CClear allEsc

Your last six calculations stay listed below the calculator. Tap one to put it back on the display and carry on, say when you forgot an item in a total.

Why 2 + 3 × 4 is 14, not 20

Some basic calculators work through a sum in the order you key it in and show 20. This one follows BODMAS, as taught at school. Brackets come first, then division and multiplication, then addition and subtraction.

2 + 3 × 4 = 14  ·  (2 + 3) × 4 = 20

You can write 2(3 + 4) without the × sign, and it comes to 14. A bracket left open at the end is closed for you, so “(2 + 3” gives 5.

The % key and the VAT trap

It follows pocket-calculator logic. “200 + 10%” adds 10% of 200 and gives 220, “200 − 10%” gives 180, and “200 × 10%” simply gives 20.

To add VAT at the standard 20% rate to a £50 price, type 50 + 20% and you get 60. Going back the other way is where people slip up. 60 − 20% gives 48, not 50, because the 20% is now taken from the VAT-inclusive price. To strip VAT out, divide by 1.2 instead: 60 ÷ 1.2 = 50.

For the change between two prices, or one discount on top of another, the percentage calculator shows every step.

What this calculator won't do

Method and sources

References used:

This tool is checked by automated tests against known cases. Spotted a mistake? Report it on the contact page.

Last updated

Frequently asked questions

Why does 200 + 10% give 220 rather than 200.1?
Because the percentage applies to the number in front of it, as on pocket and phone calculators. On its own, “10%” is 0.1.
Does the number pad work?
Yes, like the rest of the keyboard.
What if I type a comma instead of a decimal point?
Both are accepted: 1.5 + 2.25 and 1,5 + 2,25 both give 3.75.
0.1 + 0.2 = 0.3: why make a point of it?
Because plenty of software shows 0.30000000000000004. Computers work in binary under the IEEE 754 standard, and some decimals can't be stored exactly. Here the result is rounded to 12 significant figures before it is displayed, which is enough to show 0.3. For the same reason, 10 ÷ 3 appears as 3.33333333333.
How do I work out an average?
(12 + 15 + 9) ÷ 3 = 12. Leave out the brackets and only the last number gets divided.
How do I take 25% off an £80 price?
Type 80 − 25% and you get 60. For £150 with 20% off, 150 − 20% gives 120.
Do I need a different calculator for a square root?
Yes, the scientific calculator on this site, where √(2) gives 1.41421356237. It also does sines, logarithms and factorials.
What happens if I divide by zero?
You get the message “You cannot divide by zero.” instead of an answer.