How do I use this calculator?
This online calculator works from the keys or the keyboard: digits, the four operators, a decimal point, Enter for equals, Backspace to erase one digit and Esc to clear. Every finished sum prints on the paper tape beside the keypad (below it on a phone). Tap the result on a line to drop that number back into the calculation, or tap the sum on the left to load it again and change a figure.
This is an online calculator that follows the same order of operations as a maths class: multiplication and division before addition and subtraction. Press 2 + 3 × 4 and you get 14, not 20. The line above the big number shows what has been entered so far, and the big number shows the running total as you go.
What is the order of operations?
Brackets first, then powers, then multiplication and division from left to right, then addition and subtraction from left to right. School mnemonics (PEMDAS in the United States, BODMAS in the UK) are the same rule with different letters. The sum below shows each pass; the part being worked on is underlined.
| You press | Order of operations | Left to right only |
|---|---|---|
| 2 + 3 × 4 | 14 | 20 |
| 10 − 4 ÷ 2 | 8 | 3 |
| 8 ÷ 2 × 4 | 16 | 16 |
| 6 + 2 × 5 − 1 | 15 | 39 |
Source: Computed with this calculator. Simple four-function calculators that act on each key as it is pressed give the right-hand column.
Many basic pocket calculators act on every operator the moment you press it, which is why the right-hand column exists. This page waits until you press equals, so the answer matches what a written sum means.
How does the percent key work?
The % key changes the number you just typed, and what it turns it into depends on the operator before it. After + or −, it becomes that percentage of the number so far. After × or ÷, or on its own, it becomes the number divided by 100. This matches the way a printing calculator behaves.
| Keys | Percent turns into | Answer |
|---|---|---|
| 200 + 10 % = | 20 (10% of 200) | 220 |
| 200 − 10 % = | 20 (10% of 200) | 180 |
| 200 × 10 % = | 0.1 | 20 |
| 200 ÷ 50 % = | 0.5 | 400 |
| 50 % | 0.5 | 0.5 |
Source: Computed with this calculator. The same rules apply to a typed % on the keyboard.
A $80 jacket at 15% off: type 80 − 15 % =, and the tape prints 80 − 15% = 68. Sales tax of 8% on $50: 50 + 8 % = gives 54. The percent key works on the total so far, so you never have to work out the percentage separately.
Keyboard shortcuts
You can use the whole calculator from the keyboard whenever no text box has focus.
| Key | Does this |
|---|---|
| 0 to 9, . | Enters digits and the decimal point (a comma also works as a decimal point) |
| + − * / | Add, subtract, multiply, divide (the letter x also multiplies) |
| % | Percent key |
| Enter or = | Equals; press again to repeat the last operation |
| Backspace | Erases the last digit, or the last operator |
| Esc or Delete | Clears the current calculation (memory and tape stay) |
Why does 0.1 + 0.2 show 0.3 here?
Computers store most decimals as binary fractions that cannot be written exactly, so 0.1 + 0.2 comes out as 0.30000000000000004 in plain JavaScript and many other languages. This calculator rounds away that last-digit noise after every step, so you see the 0.3 you expect, and a follow-up such as subtracting 0.3 gives a clean 0.
| Sum | Raw double result | Shown here |
|---|---|---|
| 0.1 + 0.2 | 0.30000000000000004 | 0.3 |
| 0.1 × 3 | 0.30000000000000004 | 0.3 |
| 1.1 × 1.1 | 1.2100000000000002 | 1.21 |
| 4.35 × 100 | 434.99999999999994 | 435 |
Source: Raw values from IEEE 754 double-precision arithmetic, as returned by JavaScript.
Numbers that really are long, such as 1 ÷ 3 or π, are not trimmed to a short decimal. The display shows up to 12 significant digits, and whole numbers below 1,000,000,000,000,000 show every digit.
What do the memory keys and the tape do?
| Key | Action |
|---|---|
| M+ | Adds the number on the display to the memory |
| M− | Subtracts the number on the display from the memory |
| MR | Puts the memory value on the display as a new number |
| MC | Empties the memory; a small M beside the display shows when it holds something |
The tape keeps the last 60 sums on this device. Tap a result to reuse the number, tap the sum to reload it for editing, and press Tear off to wipe the roll. The memory is stored the same way, so both are still there when you come back.
Common mistakes
- Expecting left-to-right answers. 2 + 3 × 4 is 14. If you meant 20, group it: type the 2 + 3 first, press =, then × 4.
- Reading 10% of 200 as 10. After a plus or minus, the % key takes a percentage of what is already entered, so 200 + 10 % adds 20, not 10. For a percentage on its own, such as what percent 27 is of 36, use the percentage calculator.
- Dividing by a typed zero. The display says so and the next key press starts fresh. Memory is kept.
- Rounding by eye. 1 ÷ 3 shows 0.333333333333; the stored value is more precise, so multiplying it back by 3 gives exactly 1. When you need an exact answer instead, our fraction calculator keeps 1/3 as 1/3.
- Typing more than 15 digits. Entry stops at 15 digits, the limit up to which a computer double keeps whole numbers reliably.
Common questions
Does it use the real order of operations?
Yes. It reads the whole sum with proper precedence and evaluates it when you press equals; the big number is the running total.
Is anything I type stored or sent?
The tape and memory are saved in your browser on this device so they survive a reload. The numbers you enter are not sent to us; the site does count page views.
How big a number can it handle?
Results up to about 1.8 × 10308 display as e-notation, such as 1.5e21. Beyond that it reports the result as too large.
Where is the scientific version?
The scientific calculator takes typed expressions with trig, logs, powers and brackets. For everyday tasks there are also the tip calculator and the discount calculator.
Sources
- Wikipedia: Order of operations
- Wikipedia: Percentage
- The Floating-Point Guide
- Wikipedia: Double-precision floating-point format
- MDN Web Docs: Number.MAX_VALUE
- Wikipedia: Calculator
Last reviewed November 9, 2026.
Related tools