Skip to content
MathClicksIGCSE← All notes Cambridge IGCSE® Mathematics 0580 Extended Chapter 1 — Reviewing Number Concepts

1.6  Order of Operations

BIDMAS, nested brackets and the fraction bar — the rules that decide what a calculation actually means, and how to key it in correctly.

The order of operations

A calculation such as 3 + 4 × 5 has only one correct value. Everyone agrees on it because everyone follows the same order. Work left to right and you get 35; follow the rules and you get 23. Your calculator uses the rules, so you must too.

BIDMAS Brackets → Indices → Division and Multiplication → Addition and Subtraction. Some books write BODMAS (O for “orders”) or PEMDAS — they mean exactly the same thing.
StepWhat it coversRule
Brackets( ), [ ], and anything acting as a bracketInnermost bracket first, working outwards
Indicespowers x², x³ and roots xRoots count as indices, so they come here too
Divide and Multiply÷ and ×Equal priority — do them left to right
Add and Subtract+ and −Equal priority — do them left to right
The most common mistake D does not come before M, and A does not come before S. They are two pairs of equal rank.
20 ÷ 5 × 2 = 4 × 2 = 8  (not 20 ÷ 10 = 2)
12 − 4 + 3 = 8 + 3 = 11  (not 12 − 7 = 5)

Same digits, four different answers

ExpressionWorkingValue
2 + 3 × 4²2 + 3 × 16 = 2 + 4850
(2 + 3) × 4²5 × 1680
2 + (3 × 4)²2 + 12² = 2 + 144146
((2 + 3) × 4)²(5 × 4)² = 20²400

Brackets are not decoration. They change the answer.

Example 1Work out 7 + 3 × (10 − 4)² ÷ 9.
1
Brackets first. 10 − 4 = 6  →  7 + 3 × 6² ÷ 9
2
Indices next. 6² = 36  →  7 + 3 × 36 ÷ 9
3
× and ÷ from left to right. The multiplication is on the left, so it goes first. 3 × 36 = 108  →  7 + 108 ÷ 9
108 ÷ 9 = 12  →  7 + 12
4
Finally the addition. 7 + 12 = 19
19
Example 2Show that 20 ÷ 5 × 2 and 20 ÷ (5 × 2) are different.
1
In the first there are no brackets, and ÷ and × rank equally, so work strictly left to right. 20 ÷ 5 = 4,  then  4 × 2 = 8
2
In the second the bracket must be done first. 5 × 2 = 10,  then  20 ÷ 10 = 2
20 ÷ 5 × 2 = 8   but   20 ÷ (5 × 2) = 2
Exam tip If you mean to divide by a whole product, you must write the bracket. This matters constantly when you key formulas into a calculator.

Step-by-step evaluator

Pick an expression and watch BIDMAS being applied one operation at a time.

Nested brackets and hidden brackets

When brackets sit inside brackets, always start with the innermost pair and work outwards. Square brackets [ ] are used purely to make the layers easier to see — they behave exactly like round ones.

4[2(9 − 5) + 3²] = 4[2 × 4 + 9] = 4[8 + 9] = 4 × 17 = 68 Innermost bracket first, then the outer bracket, then the multiplication
Note A number written immediately before a bracket means multiply: 4[…] is 4 × […], and 2(9 − 5) is 2 × (9 − 5).

The fraction bar groups automatically

A horizontal fraction bar is a grouping symbol. Everything on the top is worked out as if it were in a bracket, everything on the bottom likewise, and only then do you divide.

3² + 5 × 349 − 2 × 2 = 9 + 157 − 4 = 243 = 8 The bar acts as brackets round the whole numerator and the whole denominator
Watch out The root sign groups in the same way. 9 + 16 = 25 = 5, but 9 + 16 = 3 + 4 = 7. You cannot take a root term by term.
Example 3Work out 4[2(9 − 5) + 3²].
1
Innermost bracket. 9 − 5 = 4  →  4[2 × 4 + 3²]
2
Inside the square bracket, apply BIDMAS again: indices, then multiply, then add. 3² = 9
2 × 4 = 8
8 + 9 = 17
3
Now the outside multiplication. 4 × 17 = 68
68
Example 4Evaluate 2 × 3³ − 45 − 3.
1
Treat the numerator as a bracket. Indices first, then multiply, then subtract. 3³ = 27
2 × 27 = 54
54 − 4 = 50
2
Now the denominator. 5 − 3 = 2
3
Divide last of all. 50 ÷ 2 = 25
25
Watch out Typed on one line this is (2 × 3³ − 4) ÷ (5 − 3). Leaving the brackets out gives 2 × 27 − 4 ÷ 5 − 3 = 50.2 — a completely different number.

Using your calculator correctly

A scientific calculator obeys BIDMAS exactly. Almost every “calculator error” in an exam is really a typing error — a missing bracket or the wrong minus key.

Brackets

  • Put brackets round the whole top and the whole bottom of a fraction, or use the fraction key.
  • Count that your open and close brackets match before pressing =.
  • A root sign on a calculator opens a bracket for you — make sure you close it in the right place.

The two minus keys

  • (−) makes a number negative.
  • − subtracts.
  • Mixing them up gives a syntax error or, worse, a plausible wrong answer.

Fraction and power keys

  • The fraction key keeps numerator and denominator grouped automatically — use it.
  • Use x□ for higher powers; use the cursor to get out of the index before carrying on.
  • Give the answer as the question asks: exact fraction, or a decimal to 3 significant figures.

Memory and Ans

  • Ans reuses the last result with all its decimal places.
  • Store awkward values in STO A rather than writing down a rounded version.
  • Never retype a rounded number into the next stage of a calculation.
−3² is not (−3)² The index binds to the 3 alone, so −3² means −(3²) = −9. Only a bracket makes the minus sign part of the base: (−3)² = (−3) × (−3) = 9. Type both into your calculator now — it will agree.
Exam tip Do not round in the middle of a calculation. Keep the full display, or use Ans, and round only the final answer — to 3 significant figures unless the question says otherwise.

Bracket builder

Choose your own values for a, b and c and see how much the bracketing changes the value of the same three numbers.

More worked examples

Example 5Work out 18 − 2(5 − 8).
1
Bracket first — and it is negative. 5 − 8 = −3
2
The 2 in front means multiply. 2 × (−3) = −6  →  18 − (−6)
3
Subtracting a negative adds. 18 + 6 = 24
24
Watch out A very common answer here is 12, from doing 18 − 2 = 16 first. The multiplication outranks the subtraction.
Example 6Work out −4² + (−4)² + (−2)³.
1
In −4² the index applies to 4 only, so square first and then take the negative. −4² = −(4 × 4) = −16
2
The bracket makes the minus part of the base, and a negative times a negative is positive. (−4)² = (−4) × (−4) = 16
3
An odd power of a negative stays negative. (−2)³ = (−2)(−2)(−2) = −8
4
Add the three results. −16 + 16 + (−8) = −8
−8
Example 7Use a calculator to work out 4.6² − 3.852.1 × 1.4, giving your answer correct to 3 significant figures.
1
Numerator, using BIDMAS: index before subtraction. 4.6² = 21.16
21.16 − 3.85 = 17.31
2
Denominator. 2.1 × 1.4 = 2.94
3
Divide, keeping the full display. 17.31 ÷ 2.94 = 5.887755…
4
Round the final answer to 3 significant figures. The fourth significant figure is 7, so the 7 in the hundredths place rounds up to 9. 5.887755… → 5.89
5.89 (3 s.f.)
Keying it in Type it as ( 4.6 x² − 3.85 ) ÷ ( 2.1 × 1.4 ) =, or use the fraction key. Without the brackets you would get 21.16 − 3.85 ÷ 2.1 × 1.4 = 18.593…

Your turn

Practice set

  1. Work out (a) 6 + 2 × 7  (b) (6 + 2) × 7  (c) 18 ÷ 3 × 2
  2. Work out 5 × (12 − 3 × 3) + 4.
  3. Work out 2[7 + 3(6 − 4)²].
  4. Evaluate 4³ − 42 + 3 × 2.
  5. Work out (a) −5²  (b) (−5)²  (c) (−2)³ + (−3)²
  6. Use a calculator to work out 8.4 − 1.7²0.6 × 2.5, correct to 3 significant figures.

  1. (a) 6 + 14 = 20  (b) 8 × 7 = 56  (c) left to right: 6 × 2 = 12
  2. Inside the bracket 3 × 3 = 9, so 12 − 9 = 3; then 5 × 3 + 4 = 19
  3. 6 − 4 = 2, 2² = 4, 3 × 4 = 12, 7 + 12 = 19, 2 × 19 = 38
  4. Top 64 − 4 = 60; bottom 2 + 6 = 8; 60 ÷ 8 = 7.5
  5. (a) −(5²) = −25  (b) 25  (c) −8 + 9 = 1
  6. Top 8.4 − 2.89 = 5.51; bottom 1.5; 5.51 ÷ 1.5 = 3.6733… → 3.67 (3 s.f.)

Key points to remember

  • Brackets, Indices, Divide/Multiply, Add/Subtract — in that order, every time.
  • Division and multiplication have equal priority: do them left to right. The same is true of addition and subtraction.
  • Nested brackets: always start with the innermost pair and work outwards.
  • A number touching a bracket means multiply: 4[…] = 4 × […].
  • The fraction bar and the root sign act as brackets. Work out the whole top and the whole bottom before dividing, and the whole inside of a root before taking it.
  • −3² = −9 but (−3)² = 9 — only a bracket makes the sign part of the base.
  • On a calculator, use (−) for a negative number and − for subtraction, and bracket the top and bottom of every fraction.
  • Never round part-way through. Use Ans or memory, and round only the final answer — 3 significant figures unless told otherwise.

Where next?

✅ Mark scheme All notes

Progress is saved on this device only and appears on the notes home page.