
Calculate This — A clean, full-featured calculator.
Keyboard supported: numbers, operators, Enter (=), Backspace, Esc (clear). Use sqrt( for square roots.
What it calculates
Calculate This handles ordinary arithmetic and a little more: addition, subtraction, multiplication, division, decimals, percentages, parentheses, square roots and exponents. It keeps the last 20 calculations in a history list and accepts direct keyboard entry on a desktop. It does not have memory keys, variables, trigonometry or logarithms, and it is not a spreadsheet.
Worked examples
| Entry | Result | Why |
|---|---|---|
(18 + 6) * 3 | 72 | Parentheses are evaluated first. |
2^10 | 1024 | The caret raises a number to a power. |
sqrt(144) | 12 | Square root of a non-negative number. |
200*10% | 20 | A trailing % divides that number by 100. |
84*1.18 | 99.12 | A bill of 84 with 18% added. |
One behaviour is worth knowing before it surprises you. The percent sign divides the number in front of it by 100; it does not mean “this percentage of the previous number”. So 1250 - 18% is 1249.82, because it reads as 1250 minus 0.18. To take 18% off, write 1250 - (1250 * 18%), which gives 1025, or multiply by 0.82.
When you see an error
Errors describe the entry, not a fault in the page. The message appears in place of the result and nothing is added to the history.
- Mismatched parentheses
- An opening or closing bracket has no partner. Count them, or clear and retype the expression.
- Invalid expression
- The expression ends with an operator, or two numbers are not joined by one — for example 2+ or 3 4.
- Math error
- The result is not a finite number, usually a division by zero such as 5/0.
- Unexpected character
- A letter or symbol the calculator does not accept. Only numbers, + - * / % ^ ( ) and sqrt( are read.
- Unknown function
- A word other than sqrt was entered, such as sin or log.
- Empty expression
- Equals was pressed with nothing in the display.
Precision and limits
Results are computed at full precision and rounded to at most ten decimal places, which removes the tiny artifacts that otherwise appear in decimal arithmetic. Very large results that exceed the browser's numeric range are reported as a math error rather than shown as Infinity. History is held in the page only: it is not saved to your account, and it clears when you reload.
Frequently asked questions
Does the calculator follow the order of operations?
Yes. Parentheses are worked out first, then exponents and square roots, then multiplication and division, then addition and subtraction. So 2+3*4 is 14, and (2+3)*4 is 20.
How does the percent key behave?
A percent sign after a number divides that number by 100, so 200*10% gives 20 and 50% on its own gives 0.5. It has to follow a number: the key is for percentages, not for calculating a remainder.
How precise is the answer?
Results are calculated at full precision and then rounded to at most ten decimal places, which removes the tiny rounding artefacts that otherwise appear in decimal arithmetic.
Is my calculation history saved or sent anywhere?
The history list is held in the page only. It is not uploaded, it is not stored in your account, and it clears when you reload the page.