Order of Operations

☰ Contents

Here is the argument that breaks the internet every few months: 2 + 3 × 4. Half the comments say 20, half say 14, and the half that says 14 is right — not because a committee voted, but because 3 × 4 was never two numbers. It was a package.

What is the order of operations?

The order of operations is the rule for which part of a calculation comes first: brackets, then powers and roots, then multiplication and division from left to right, then addition and subtraction from left to right. In 20 − 2 × (3 + 4), the brackets come first and give 7, the multiplication gives 2 × 7 = 14, and the subtraction gives 20 − 14 = 6. So 20 − 2 × (3 + 4) = 6. The rule exists so everyone reads a calculation the same way. PEMDAS, BODMAS and BIDMAS are this one list under different names. People often slip on a tier with two operations in it. Multiplication and division are equal partners, so work them from left to right: 12 ÷ 3 × 2 = 4 × 2 = 8, not 2. To check, write brackets around each step in the order you did it: 20 − (2 × (3 + 4)) = 6.

  1. Brackets first. Anything in brackets is worked out before it can touch the rest.
  2. Then × and ÷, left to right. One tier, one sweep. (Powers like 3² sit just above this tier — square first, then multiply.)
  3. Then + and −, left to right. Also one tier, one sweep.
(5 + 3) × 2brackets first8 × 2then multiply16
With brackets: 5 + 3 makes 8 first, then 8 × 2 makes 16. Full lesson: Brackets with All Four Operations
bracketsthe new rungpowers and rootsthen these× and ÷last of all+ and −
So the ladder gains a rung: brackets, then powers and roots, then × ÷, then + −. Full lesson: Powers in the Order of Operations

That is the whole rule.

Now you

(21 − 12) ÷ 3brackets first

(21 − 12) ÷ 3

(10 − 8) ÷ 2brackets first

(10 − 8) ÷ 2

Why the order exists

(2 + 3) × 4 = 202 + (3 × 4)(2 + 3) × 4

this evaluates (2 + 3) × 4 = 20, which is not what 2 + 3 × 4 means

Apply the order of operations

Multiplication is compressed addition: 3 × 4 means 4 + 4 + 4. So 2 + 3 × 4 is really 2 + (4 + 4 + 4) — a two, plus a group of three fours. The group was built before the sentence was; the × sign just keeps it wrapped. Unwrapping the package before adding the 2 is not politeness to a convention. It is reading the notation for what it says.

Brackets exist for the opposite moment: when you want the addition to happen first, you say so out loud. (2 + 3) × 4 = 5 × 4 = 20. Same three numbers, different sentence.

3 + (4 × 2)brackets first3 + 8then add11
Move the brackets and the meaning moves: 3 + (4 × 2) is 3 + 8, which is 11. Full lesson: Brackets First

How does the order of operations work on an example?

Work an example one tier at a time. In 4 + 6 × 2 − 3, the multiplication goes first: 6 × 2 = 12, so the line becomes 4 + 12 − 3. Then add and subtract from left to right: 4 + 12 = 16, and 16 − 3 = 13. So 4 + 6 × 2 − 3 = 13. Working straight from left to right would reach 17, which is wrong, because 6 × 2 is one amount that must be found before anything is added to it. Brackets are the case that changes the order: (4 + 6) × 2 − 3 tells you to add first, so it becomes 10 × 2 − 3 = 20 − 3 = 17. A power works like a bracket one tier higher: in 2 + 3², square first, so 2 + 9 = 11. To check, write the brackets in: 4 + (6 × 2) − 3 = 13.

Step 2 beats step 3: multiply before you add

2 + 3 × 4 → 2 + 12 → 14

5 × 2 + 3 × 4 → 10 + 12 → 22 — both packages open first, then the adding.

3 + 4 × 2× acts first3 + 8then add11
No brackets, so the × acts first: 4 × 2 is 8, and 3 + 8 makes 11. Full lesson: Multiply and Divide Before Adding and Subtracting
20 − 12 ÷ 4÷ acts first20 − 3then subtract17
Dividing acts first too: 12 ÷ 4 becomes 3, so 20 − 12 ÷ 4 is 20 − 3, which is 17. Full lesson: Multiply and Divide Before Adding and Subtracting

Brackets change the sentence

(2 + 3) × 4 → 5 × 4 → 20

18 − (4 + 6) → 18 − 10 → 8

(3 + 4) × 2brackets first7 × 2then multiply14
3 + 4 × 2 could read as 14 or 11. Brackets remove the doubt: (3 + 4) × 2 is 14. Full lesson: Brackets First

All four operations at once

Work the tiers in order: brackets, then × and ÷, then + and −.

7 + 2 × 6 − 5 → 7 + 12 − 5 → 19 − 5 → 14

(10 − 4) ÷ 2 + 1brackets first6 ÷ 2 + 1then divide3 + 1then add4
All four at once: the bracket gives 6, dividing gives 3, adding gives 4. Full lesson: Brackets with All Four Operations

With a power

3² + 4 × 5 → 9 + 20 → 29 — the square unwraps first (it is compressed multiplication, one level further up), then the ×, then the +.

the power first
3 × 16then multiply48
The index binds to the 4 alone: 4² is 16, so 3 × 4² is 3 × 16, which is 48. Full lesson: Powers in the Order of Operations

Now you

6 × 3 + 5× before +

6 × 3 + 5

15 − 6 ÷ 3÷ before −

15 − 6 ÷ 3

What do people get wrong about the order of operations?

The most common mistake is reading PEMDAS as six separate steps, as if all multiplication came before all division and all addition before all subtraction. In fact multiplication and division share one tier, addition and subtraction share another, and each tier is worked from left to right. So 12 ÷ 2 × 3 = 6 × 3 = 18, while doing the multiplication first would give 12 ÷ 6 = 2, which is wrong. Likewise 10 − 4 + 3 = 6 + 3 = 9, while adding first gives 10 − 7 = 3. The pairs share a tier because division undoes multiplication and subtraction undoes addition, so neither one outranks its partner. The second mistake is working right to left inside a tier, which only changes the answer when division or subtraction is involved. To check a line with subtraction in it, rewrite each subtraction as adding a negative, and then the order no longer matters: 10 + (−4) + 3 = 9.

8÷2×48 ÷ 82 × 4 = 88 ÷ (2 × 4) = 18 ÷ 2 × 48 − 2 + 5left to right× before ÷

÷ and × are one tier and + and − another: within a tier the first operation met is the first one done, left to right

Choose left to right and scan to the end

10 − 4 + 3same rank: left to right6 + 39
Plus and minus share a rank, so work left to right: 10 − 4 is 6, then 6 + 3 is 9. Full lesson: Multiply and Divide Before Adding and Subtracting
Why left to right? Because − and ÷ are not symmetric: 8 − 2 is not 2 − 8. The convention picks one reading order so the same line means the same thing to everyone. Addition and multiplication alone would not need it — order does not change them — which is why the trap only bites when subtraction or division shows up.

Now you

6 × 3 + 5× before +

6 × 3 + 5

15 − 6 ÷ 3÷ before −

15 − 6 ÷ 3

Related guides: Arithmetic Methods.

Your turn

Three to try — tap what you get.

3 + 4 × 2

(3 + 4) × 2

20 − 12 ÷ 4

Questions and answers

What is the order of operations?
Work out brackets first, then powers, then multiplication and division from left to right, then addition and subtraction from left to right. So 2 + 3 × 4 is 2 + 12 = 14, because the multiplication happens before the addition whatever order they appear in, and (2 + 3) × 4 is 20 because the brackets change which operation acts first.
Why does multiplication come before addition?
Because 3 x 4 is shorthand for a group - three fours already added together. In 2 + 3 x 4 the multiplication is a package deal: you are adding 2 to a group of three fours. Unwrapping the package first is not a convention someone chose at random; it is what the notation means.
Is PEMDAS the same as BODMAS or BIDMAS?
Yes - they are the same rule with different letters. The trap in all of them is reading the letters as six separate steps. Multiplication and division are ONE step done left to right, and addition and subtraction are one step done left to right. 8 / 2 x 4 is 16, not 1, because you go left to right through the x and / tier.
What is 8 - 2 + 5?
11. Addition and subtraction sit on the same tier and go left to right: 8 − 2 = 6, then 6 + 5 = 11. Doing the addition first, 2 + 5 = 7 and then 8 − 7 = 1, applies a priority that does not exist. The same rule gives 12 ÷ 4 × 3 = 9, not 1: division and multiplication share a tier too.
Mr. Chalk