How the basic calculator works
A simple on-screen calculator for everyday sums: add, subtract, multiply, divide, powers, brackets and percentages. It follows the usual order of operations and shows the answer as you type.
Formula
Brackets first, then powers (^), then × and ÷ from left to right, then + and − from left to right. A percentage after + or − is a share of the number before it: 200 + 10% = 200 + 20 = 220.
- 1
Type or tap the calculation
The starting example is 12.5 × 4 + 18 ÷ 3.
- 2
Multiply and divide first
12.5 × 4 = 50 and 18 ÷ 3 = 6.
- 3
Then add
50 + 6 = 56, which the answer shows at once.
- 4
Press = to keep it
The answer moves to the history list, and an operator such as + pressed next carries on from 56.
Everyday sums and what to type
The % key does most of the work for tips, discounts and tax: + 15% adds 15% of the number before it, and − 25% takes 25% off. Each answer below is worked out by this calculator.
| Task | Type | Answer | In dollars |
|---|---|---|---|
| 15% tip on a $64 bill | 64 × 15% | 9.6 | $9.60 |
| The $64 bill with a 15% tip | 64 + 15% | 73.6 | $73.60 |
| That total split 4 ways | (64 + 15%) ÷ 4 | 18.4 | $18.40 |
| 25% off an $80 price | 80 − 25% | 60 | $60.00 |
| $49.99 plus 8% sales tax | 49.99 + 8% | 53.9892 | $53.99 |
| Price of one item when 12 cost $4.99 | 4.99 ÷ 12 | 0.415833 | $0.42 |
| Pay for 37.5 hours at $18.25 an hour | 37.5 × 18.25 | 684.375 | $684.38 |
Calculations that are easy to get wrong
Without brackets, the calculator follows the standard order of operations exactly. Other calculators and spreadsheets do not all agree on cases such as 6 ÷ 2(1 + 2) and −2^2, so add brackets whenever there is doubt.
| Typed | Answer | Why |
|---|---|---|
| 10 − 4 − 3 | 3 | + and − go from left to right: 6 − 3 |
| 100 ÷ 10 ÷ 2 | 5 | × and ÷ go from left to right: 10 ÷ 2 |
| 6 ÷ 2(1 + 2) | 9 | A number before a bracket is a ×, worked in order: 3 × 3 |
| 2 + 3^2 | 11 | The power comes first: 2 + 9 |
| (2 + 3)^2 | 25 | The bracket comes first: 5² |
| −2^2 | -4 | The power comes before the minus: −(2²) |
| 2^3^2 | 512 | Powers go from right to left: 2⁹ |
Typing tips
A few details make typing a long calculation faster.
- Use * for ×. The letter x is not read as times.
- Use ^ or ** for a power: 2^10 and 2**10 both give 1,024.
- Thousands separators are fine: 1,250 × 4 reads as 1250 × 4. Use a point for decimals.
- Square brackets [ ] work like round ones.
- After =, tapping the +, −, ×, ÷, ^ or % key carries on from the answer, while a digit key starts a new calculation.
- The history keeps your last 8 answers until you leave the page.
Common questions
Why is 2 + 3 × 4 equal to 14 and not 20?
Multiplication comes before addition in the standard order of operations, so 3 × 4 = 12 is worked out first and 2 + 12 = 14. Write (2 + 3) × 4 to add first.
How does the % key work?
On its own, 15% is 0.15. After + or − it is a share of the number before it, like on a shop calculator: 80 − 25% = 60. After × it is a plain share: 80 × 25% = 20.
Why does 0.1 + 0.2 show 0.3?
Computers store decimals in binary, which makes 0.1 + 0.2 come out as 0.30000000000000004. The calculator rounds every answer to 15 significant digits, so you see the 0.3 you expect.
Can I use my keyboard?
Yes. Type digits and + - * / ^ ( ) % in the box. Enter keeps the answer in the history and Escape clears the box.
Related calculators
Scientific Calculator
Trig, logs, roots, powers, factorials and Ans with an on-screen keypad
Percentage Calculator
Calculate percentages, increases, and decreases
Fraction Calculator
Add, subtract, multiply, and divide fractions
Tip Calculator
Calculate tip amount and split bills among people