Order of operations (BIDMAS)

We calculate in this order: brackets, powers, multiplication and division, and last addition and subtraction. Operations with the same priority are done from left to right. That is why 3 + 4 · 2 = 11, not 14.

Years 4–9 · Updated

Watch Fox work it out on the board

Fox works one step at a time. Press play.

Solve your own task

Write the task. You get one step at a time.

The order

We want to know which operation to do first.

OrderWhatExample
1Brackets(5 − 2) is worked out first
2Powers3² = 9 is worked out before multiplying
3Multiplication and division, from left to right12 ÷ 3 · 2 = 4 · 2 = 8
4Addition and subtraction, from left to right10 − 4 + 3 = 6 + 3 = 9

Multiplication is repeated addition. 4 · 2 is a single number that belongs together, so it is worked out first:

3 + 4 · 2 = 3 + 2 + 2 + 2 + 2 = 11

A power is repeated multiplication, so it is worked out even earlier.

Same priority: left to right

Multiplication and division have the same priority. We do them in the order they are written.

12 ÷ 3 · 2 = 4 · 2 = 8

It is the same with plus and minus: 10 − 4 + 3 = 6 + 3 = 9.

Brackets, powers and fraction bars

Brackets are worked out first.

(3 + 4) · 2 = 7 · 2 = 14

A power belongs to the number right before it. Here only the three is squared.

2 · 3² = 2 · 9 = 18

A fraction bar works like brackets around the numerator and brackets around the denominator: (4 + 6)/2 = 10 ÷ 2 = 5.

Example

Example 1: 20 − 12 ÷ 4 + 1

We want to do minus, divide and plus in the right order.

  1. Division comes before addition and subtraction.

    20 − 12 ÷ 4 + 1 = 20 − 3 + 1

  2. Minus and plus have the same priority. We do them from the left.

    20 − 3 = 17

  3. Last, we add one.

    17 + 1 = 18

A calculator that follows the rules also gives 18. If we work from the left without the rules, it goes wrong: 8 ÷ 4 + 1 = 3.

Example 2: 3 + 4 · (5 − 2)²

We want to work out the expression, one level at a time.

  1. First the brackets: five minus two is three.

    3 + 4 · (5 − 2)² = 3 + 4 · 3²

  2. Then the power: 3 · 3 = 9.

    3 + 4 · 3² = 3 + 4 · 9

  3. Then the multiplication: 4 · 9 = 36.

    3 + 4 · 9 = 3 + 36

  4. Last, the addition.

    3 + 36 = 39

A calculator that follows the rules also gives 39. If we do 3 + 4 first, it goes wrong: 7 · 9 = 63.

Pitfalls

  • Working from the left whatever the operation: 3 + 4 · 2 = 14.

    Times before plus: 3 + 4 · 2 = 3 + 8 = 11.

  • Always doing times before divide: 12 ÷ 3 · 2 = 12 ÷ 6 = 2.

    They have the same priority and are done from the left: 12 ÷ 3 = 4 and 4 · 2 = 8.

  • Multiplying before the power: 2 · 3² = 6² = 36.

    The power belongs only to the three: 3² = 9 and 2 · 9 = 18.

Practise on your own

0 of 4 correct
  1. Work out 6 + 3 · 5.

  2. Work out (6 + 3) · 5.

  3. Work out 18 − 12 ÷ 3 · 2.

  4. Work out 2 · (7 − 3)² − 5.

Common questions

Does multiplication always come before division?

No. Multiplication and division have the same priority and are done from left to right. The same goes for addition and subtraction.

Does a calculator follow the order of operations?

The calculator on a phone and ordinary school calculators do, but not all calculators. Try 3 + 4 · 2. If you get 11, the calculator follows the rules.

What about −3²?

The power is worked out before the minus sign: −3² = −(3 · 3) = −9. If we want to square −3, we write (−3)² = (−3) · (−3) = 9.

How do you calculate when there are brackets inside brackets?

Start with the innermost brackets and work outwards: 2 · (10 − (3 + 1)) = 2 · (10 − 4) = 2 · 6 = 12.

Keep practising with Somokai

Free to start. Hints and explanations when you get stuck.

Start practising for free

Found a mistake? Get in touch

Svenska