PEMDAS and BODMAS are the same rule with different names. Both tell you the order to work out a calculation: brackets first, then powers, then multiplication and division, then addition and subtraction. The US tends to say PEMDAS, while the UK, India, Australia and many other countries say BODMAS or BIDMAS.
The names are not where people go wrong, though. The real trap is a small detail that hides inside both acronyms, and it is exactly what fuels arguments about puzzles like 8 ÷ 2(2+2). Let's go through it.
What PEMDAS stands for
PEMDAS is the version most American students learn, often with the memory aid "Please Excuse My Dear Aunt Sally".
- Parentheses
- Exponents
- Multiplication and Division
- Addition and Subtraction
What BODMAS stands for
BODMAS is common in the UK, India, Pakistan, Nigeria, Australia and many other places.
- Brackets
- Orders (powers and roots, like 5² or √16)
- Division and Multiplication
- Addition and Subtraction
Some teachers explain the O as "of", as in "half of 20". That is a multiplication in disguise, so it does not change the order.
The same rules under different names
Lay the acronyms side by side and you can see they describe the same steps. The only changes are the words used for brackets and powers, and whether D or M is written first.
| Step | PEMDAS | BODMAS | BIDMAS | BEDMAS | GEMDAS |
|---|---|---|---|---|---|
| 1 | Parentheses | Brackets | Brackets | Brackets | Grouping |
| 2 | Exponents | Orders | Indices | Exponents | Exponents |
| 3 | Multiplication / Division | Division / Multiplication | Division / Multiplication | Division / Multiplication | Multiplication / Division |
| 4 | Addition / Subtraction | Addition / Subtraction | Addition / Subtraction | Addition / Subtraction | Addition / Subtraction |
| Mostly used in | United States | UK, India, Australia | UK | Canada | Some US schools |
If PEMDAS puts M before D and BODMAS puts D before M, they cannot both mean "do this one first". And neither of them does.
The rule both acronyms hide: left to right
Multiplication and division are a pair with equal priority. So are addition and subtraction. When two operations from the same pair meet, you work from left to right, in the order they appear.
This is the part that a six-letter word cannot show, and it is the source of most mistakes.
- 12 ÷ 3 × 2: division comes first because it is on the left. 12 ÷ 3 = 4, then 4 × 2 = 8. (Not 12 ÷ 6 = 2.)
- 10 − 4 + 3: subtraction comes first because it is on the left. 10 − 4 = 6, then 6 + 3 = 9. (Not 10 − 7 = 3.)
A worked example, step by step
Take 3 + 6 × (5 + 4) ÷ 3 − 7.
- Brackets: 5 + 4 = 9, so we have 3 + 6 × 9 ÷ 3 − 7.
- Powers: there are none.
- Multiplication and division, left to right: 6 × 9 = 54, then 54 ÷ 3 = 18. Now we have 3 + 18 − 7.
- Addition and subtraction, left to right: 3 + 18 = 21, then 21 − 7 = 14.
One more, with a power: 2 + 3² × 2. The power comes before the multiplication, so 3² = 9, then 9 × 2 = 18, then 2 + 18 = 20.
The viral 8 ÷ 2(2+2) debate
In 2019, a short expression took over social media and split people almost down the middle:
8 ÷ 2(2+2) = ?
An older version, 6 ÷ 2(1+2), had already done the rounds years earlier. Both have the same shape, and both produce the same fight. Half the internet says 16, the other half says 1, and each side is sure the other skipped math class.
The case for 16
Start with the brackets: 2 + 2 = 4. The expression becomes 8 ÷ 2 × 4. Now there is a division and a multiplication with equal priority, so you go left to right: 8 ÷ 2 = 4, then 4 × 4 = 16.
This is how the order of operations is taught in most schools today, and it is the answer most modern calculators and programming languages give.
The case for 1
Supporters of 1 point out that 2(2+2) is written with no × sign. They treat it as a single, glued-together term, the way an algebra student reads 2x. On that reading, you work out 2(4) = 8 first, and then 8 ÷ 8 = 1.
That reading is not as strange as it sounds. In algebra, many people would read 1/2x as 1 divided by 2x, not as half of x. Some older textbooks and some scientific style guides give this kind of "implied multiplication" a higher priority, and some calculator models really do give 1 for this expression while others give 16.
So who is right?
If you follow the order of operations strictly, as it is taught in classrooms, the answer is 16. But the honest answer is that the expression is badly written on purpose. A mathematician would never write it this way, because the whole point of notation is to be clear. They would write one of these instead:
| If you mean | Write it as | Answer |
|---|---|---|
| Divide 8 by 2, then multiply by (2 + 2) | (8 ÷ 2) × (2 + 2) | 16 |
| Divide 8 by the whole of 2(2 + 2) | 8 ÷ (2 × (2 + 2)) | 1 |
The ÷ sign itself is part of the problem. Outside of school arithmetic, it is rarely used. Most math beyond that point uses fraction bars, which make it obvious what is being divided by what.
Common mistakes
| Mistake | Example | Correct working |
|---|---|---|
| Always multiplying before dividing | 12 ÷ 3 × 2 = 2 | 12 ÷ 3 = 4, then 4 × 2 = 8 |
| Always adding before subtracting | 10 − 4 + 3 = 3 | 10 − 4 = 6, then 6 + 3 = 9 |
| Working strictly left to right | 2 + 3 × 4 = 20 | 3 × 4 = 12, then 2 + 12 = 14 |
| Applying a power to the wrong number | 2 × 3² = 36 | 3² = 9, then 2 × 9 = 18 |
| Forgetting brackets hidden in a fraction | (6 + 4) over 2 treated as 6 + 4 ÷ 2 = 8 | The fraction bar groups the top: 10 ÷ 2 = 5 |
Quick quiz
Cover the answers and try these.
| Question | Answer | Why |
|---|---|---|
| 5 + 2 × 3 | 11 | 2 × 3 = 6 first |
| 20 − 8 + 2 | 14 | Left to right: 12 + 2 |
| 18 ÷ 3 × 2 | 12 | Left to right: 6 × 2 |
| (5 + 3)² ÷ 4 | 16 | 8² = 64, then 64 ÷ 4 |
| 30 − 3² | 21 | 3² = 9 first |
| 4 + 12 ÷ (2 + 4) × 3 | 10 | 12 ÷ 6 = 2, 2 × 3 = 6, then 4 + 6 |
Want to get quicker at this? Our free Order of Operations game gives you 60 seconds to solve as many expressions as you can, from simple ones like 3 + 4 × 2 up to ones with brackets and powers.
Order of Operations GameSolve PEMDAS and BODMAS expressions against the clock.Play free →The bottom line
PEMDAS and BODMAS are not rival systems. They are two names for one set of rules: brackets, powers, then multiplication and division, then addition and subtraction. The detail that matters is that multiplication and division share a level, as do addition and subtraction, and inside a level you go left to right. Remember that, and you will get the right answer every time, except on puzzles that were written to be argued about.