BODMAS: The Order of Operations, BIDMAS vs PEMDAS, Worked Examples and Viral Puzzles Explained
BODMAS sets the order of operations: brackets, orders, division and multiplication, then addition and subtraction. See how it compares with BIDMAS and PEMDAS, why left to right matters, and 12 worked examples.
BODMAS is the order of operations used to work out a calculation: Brackets, Orders (powers and roots), Division and Multiplication, then Addition and Subtraction. Division and multiplication share one level and are worked from left to right, and so are addition and subtraction. BIDMAS and PEMDAS describe exactly the same order, just using different words.
The rule matters because the same string of numbers and symbols can give different answers if people work through it in different orders. This guide explains what each letter means, why the order works the way it does, and how BODMAS compares with BIDMAS, BEDMAS and PEMDAS. It then works through examples from simple sums to powers, fractions and negative numbers, and explains the viral puzzles that keep appearing online. It is written the way FLN Tutors (Freelancer Network) maths tutors teach the order of operations to GCSE students.
If you only want the rule, the key facts table below covers it. If you keep getting viral puzzles wrong, or losing marks for small slips, read the sections on left to right working and common mistakes.
What does BODMAS stand for?
BODMAS is a memory aid for the order in which operations are carried out. Each letter stands for one type of operation, and operations higher in the list are done first.
| Letter | Stands for | What it covers | Example |
|---|---|---|---|
| B | Brackets | Anything inside brackets is worked out first | (2 + 3) × 4 = 20 |
| O | Orders | Powers, square roots and other roots | 3 × 2² = 12 |
| D and M | Division and Multiplication | Same level, worked from left to right | 12 ÷ 3 × 2 = 8 |
| A and S | Addition and Subtraction | Same level, worked from left to right | 10 − 4 + 3 = 9 |
The most important point in the table is that D and M sit on the same level, and so do A and S. BODMAS lists division before multiplication only because the word needs an order of letters, not because division is more important. The same goes for addition and subtraction.
So the order has four levels, not six:
- Brackets.
- Orders: powers and roots.
- Division and multiplication, from left to right.
- Addition and subtraction, from left to right.
Are BODMAS, BIDMAS and PEMDAS the same?
Yes. They are different names for the same convention, so they always give the same answer when they are used correctly. The differences are only in the words chosen for each letter.
| Acronym | Where you may meet it | Letters stand for |
|---|---|---|
| BODMAS | UK, India and many Commonwealth countries | Brackets, Orders, Division, Multiplication, Addition, Subtraction |
| BIDMAS | Many UK schools | Brackets, Indices, Division, Multiplication, Addition, Subtraction |
| BEDMAS | Canada and some other countries | Brackets, Exponents, Division, Multiplication, Addition, Subtraction |
| PEMDAS | United States | Parentheses, Exponents, Multiplication, Division, Addition, Subtraction |
Orders, indices and exponents all mean powers. Parentheses is the American word for round brackets. PEMDAS puts M before D and BODMAS puts D before M, which is exactly why neither order of those letters can be taken literally. In every version, multiplication and division are equal partners and are worked from left to right, and addition and subtraction are equal partners worked the same way.
The confusion only arises when someone treats the acronym as a strict list of six steps. A student who learns PEMDAS and always multiplies before dividing will get 12 ÷ 3 × 2 wrong, finding 2 instead of 8. A student who learns BODMAS and always adds before subtracting will get 10 − 4 + 3 wrong, finding 3 instead of 9.
Why do we need an order of operations?
Without an agreed order, a calculation such as 2 + 3 × 4 could mean two different things. Working from left to right gives 5 × 4 = 20. Multiplying first gives 2 + 12 = 14. Mathematicians, calculators and exam boards all use the second reading, so the answer is 14.
The convention is not arbitrary. Multiplication is repeated addition, and powers are repeated multiplication, so it makes sense to deal with the more powerful operations first. Writing 2 + 3 × 4 is a short way of saying 2 plus three lots of 4. Brackets then give a way to override the normal order whenever you need a different one: if you really mean five lots of 4, you write (2 + 3) × 4.
The same rules matter well beyond arithmetic. Every algebraic formula, from the area of a circle to the equations of motion, relies on readers applying them in the same order. A spreadsheet or a programming language follows its own published operator precedence, which is very close to BODMAS for ordinary arithmetic.
Does division come before multiplication in BODMAS?
No. Division and multiplication have the same priority, so you work them out in the order they appear, from left to right. The letter order in the acronym does not mean division goes first.
Take 24 ÷ 4 × 2. Working left to right, 24 ÷ 4 = 6, then 6 × 2 = 12. If you multiplied first you would get 24 ÷ 8 = 3, which is wrong.
A useful way to see why is to think of division as multiplying by a reciprocal. Dividing by 4 is the same as multiplying by ¼, so 24 ÷ 4 × 2 is 24 × ¼ × 2, and in a chain of multiplications the order does not matter: the answer is 12 whichever way you group it. The left to right rule gives that same answer every time.
Does addition come before subtraction?
No. Addition and subtraction also share a level, so you work through them from left to right. Take 50 − 10 − 5. Left to right gives 40 − 5 = 35. Working the right-hand part first, 10 − 5 = 5, would give 50 − 5 = 45, which is wrong.
As with division, it helps to think of subtraction as adding a negative number. The calculation 50 − 10 − 5 is the same as 50 + (−10) + (−5), and a chain of additions gives the same answer in any order: 35. Similarly 10 − 4 + 3 is 10 + (−4) + 3 = 9, not 10 − 7 = 3.
How do brackets work, including nested brackets?
Brackets are always worked out first, and inside a bracket the normal order of operations still applies. In (3 + 4 × 2), multiply first to get 3 + 8 = 11.
When one bracket sits inside another, called nested brackets, start with the innermost bracket and work outwards. In 2 × (15 − (4 + 1)² ÷ 5), the inner bracket gives 4 + 1 = 5, then the power gives 25, the division gives 5, the outer bracket gives 15 − 5 = 10, and finally 2 × 10 = 20. Some textbooks use square brackets for the outer layer to make nested working easier to read, but they mean the same as round brackets.
A number written directly next to a bracket, as in 3(4 + 1), means multiplication: 3 × 5 = 15. Work out the bracket first, then multiply.
Where do powers and roots fit in?
Powers and roots are the O in BODMAS and the I in BIDMAS. They come after brackets but before multiplication, division, addition and subtraction.
In 3 × 2², the power applies only to the 2, so 2² = 4 and the answer is 3 × 4 = 12. If you want the whole product squared, you need brackets: (3 × 2)² = 6² = 36.
Negative numbers and powers catch many students out. In −3², the power applies to the 3 only, so the answer is −9. In (−3)², the negative is inside the bracket, so the answer is (−3) × (−3) = 9. Similarly 10 − 3² = 10 − 9 = 1.
Roots work the same way as powers. A square root sign covers whatever sits under it, so √(16 + 9) is √25 = 5, while √16 + 9 is 4 + 9 = 13. When you write a root by hand, extend the line over everything that belongs inside it; when you type it, use brackets.
How do fractions and division lines work in the order of operations?
A fraction line acts like a pair of brackets around the top and around the bottom. Work out the numerator and the denominator separately, then divide.
If a calculation is written as 18 + 6 over 2 × 3, the top is 24 and the bottom is 6, so the answer is 4. Written on one line, the same calculation must be typed as (18 + 6) ÷ (2 × 3). Typing 18 + 6 ÷ 2 × 3 instead gives 18 + 9 = 27, a completely different answer.
This is one of the most common calculator errors at GCSE. When you enter a fraction into a calculator without a fraction button, put brackets around the whole numerator and the whole denominator.
What are some BODMAS worked examples?
Each example below shows the working line by line, with the step that is easiest to get wrong called out.
Example 1: multiplication before addition
Work out 5 + 4 × 3.
Multiply first: 4 × 3 = 12. Then add: 5 + 12 = 17. Working left to right gives 27, which is wrong.
Example 2: brackets change the answer
Work out (5 + 4) × 3.
The bracket comes first: 5 + 4 = 9. Then 9 × 3 = 27. Comparing this with Example 1 shows exactly what brackets are for.
Example 3: division, subtraction and addition
Work out 20 − 12 ÷ 4 + 1.
Divide first: 12 ÷ 4 = 3, leaving 20 − 3 + 1. Then work left to right: 20 − 3 = 17, then 17 + 1 = 18.
Example 4: division and multiplication left to right
Work out 24 ÷ 4 × 2.
Division and multiplication share a level, so go left to right: 24 ÷ 4 = 6, then 6 × 2 = 12. Multiplying first would give 3, which is wrong.
Example 5: a power with multiplication
Work out 3 × 2² and (3 × 2)².
In the first, the power comes before the multiplication: 2² = 4, then 3 × 4 = 12. In the second, the bracket comes first: 3 × 2 = 6, then 6² = 36.
Example 6: every level in one calculation
Work out 10 − 2 × (3 + 1)² ÷ 8.
Bracket: 3 + 1 = 4. Power: 4² = 16. Multiplication and division, left to right: 2 × 16 = 32, then 32 ÷ 8 = 4. Subtraction: 10 − 4 = 6.
Example 7: nested brackets
Work out 2 × (15 − (4 + 1)² ÷ 5).
Inner bracket: 4 + 1 = 5. Power: 5² = 25. Division inside the outer bracket: 25 ÷ 5 = 5. Outer bracket: 15 − 5 = 10. Multiplication: 2 × 10 = 20.
Example 8: a fraction written on one line
Work out 18 + 6 over 2 × 3.
Treat the fraction line as brackets: (18 + 6) ÷ (2 × 3) = 24 ÷ 6 = 4.
Example 9: negative numbers and powers
Work out −3², (−3)² and 10 − 3².
For −3², square the 3 and keep the negative sign: −9. For (−3)², square the bracket: 9. For 10 − 3², the power comes first: 10 − 9 = 1.
Example 10: substituting into an expression
Find the value of 3x² − 2x + 5 when x = 4.
Power first: 4² = 16. Then the multiplications: 3 × 16 = 48 and 2 × 4 = 8. Finally, left to right: 48 − 8 + 5 = 45. A common error is to square 3x and get 144 for the first term.
Example 11: roots
Work out √(16 + 9) × 2 and √16 + 9 × 2.
In the first, the bracket under the root comes first: √25 = 5, then 5 × 2 = 10. In the second, the root covers only the 16: √16 = 4, then 9 × 2 = 18, then 4 + 18 = 22.
Example 12: a chain of subtractions
Work out 50 − 10 − 5.
Addition and subtraction share a level, so go left to right: 50 − 10 = 40, then 40 − 5 = 35. Subtracting 10 − 5 first would give 45, which is wrong.
How do you solve viral order of operations puzzles?
Puzzles shared on social media are usually designed so that people who work strictly from left to right, or who treat the acronym as six separate steps, get a different answer from people who follow the full convention. Here is how to solve the common types.
Puzzle 1: 8 ÷ 2(2 + 2)
Brackets first: 2 + 2 = 4, so the expression becomes 8 ÷ 2 × 4. Division and multiplication share a level, so work left to right: 8 ÷ 2 = 4, then 4 × 4 = 16. Under the BODMAS convention taught in schools, the answer is 16.
Some people get 1 because they treat 2(2 + 2) as a single block, working it out as 8 ÷ 8. Some calculators and some writers do give implied multiplication, a number written next to a bracket, a higher priority than ordinary division. That is why the puzzle causes arguments. The honest conclusion is that the expression is badly written: anyone who means 1 should write 8 ÷ (2(2 + 2)), and anyone who means 16 should write (8 ÷ 2) × (2 + 2). In a GCSE exam, questions avoid this ambiguity, and if you meet a fraction it will be written with a clear fraction line.
Puzzle 2: 6 ÷ 2(1 + 2)
This is the same puzzle with different numbers. The bracket gives 3, so the expression becomes 6 ÷ 2 × 3. Left to right, 6 ÷ 2 = 3 and 3 × 3 = 9. Reading the implied multiplication as a block gives 6 ÷ 6 = 1, for the same reason as above.
Puzzle 3: 3 − 3 × 6 + 2
Multiply first: 3 × 6 = 18, leaving 3 − 18 + 2. Then left to right: 3 − 18 = −15, and −15 + 2 = −13. The common wrong answer is 2, from working strictly left to right, or −17, from adding 18 + 2 before subtracting.
Puzzle 4: 9 − 3 ÷ ⅓ + 1
Divide first. Dividing by ⅓ is the same as multiplying by 3, so 3 ÷ ⅓ = 9. That leaves 9 − 9 + 1 = 1. People who get 9 have usually divided 3 by 3 instead of by a third, and people who get 19 have worked strictly from left to right.
Puzzle 5: 7 + 7 ÷ 7 + 7 × 7 − 7
Do the division and multiplication first: 7 ÷ 7 = 1 and 7 × 7 = 49. That leaves 7 + 1 + 49 − 7, which is 50 working left to right. Working the whole thing from left to right gives 56, which is wrong.
What are the most common BODMAS mistakes?
The same few errors account for most lost marks.
- Always multiplying before dividing, or always adding before subtracting, because of the letter order. These pairs are worked from left to right.
- Working strictly from left to right and ignoring the order altogether, so 2 + 3 × 4 becomes 20 instead of 14.
- Applying a power to more than it covers. In 3x², only x is squared.
- Forgetting that −3² is −9, because the power is applied before the negative sign.
- Typing a fraction into a calculator without brackets around the numerator and denominator.
- Writing a chain of equals signs that are not true, such as 5 + 4 = 9 × 3 = 27. Each line of working should be a correct statement, so write (5 + 4) × 3 = 9 × 3 = 27 instead.
- Losing a negative sign when subtracting a bracket, for example treating 10 − (3 + 2) as 10 − 3 + 2.
How does a calculator use the order of operations?
A scientific calculator, the type allowed in GCSE calculator papers, applies the order of operations to the whole line you type. If you enter 2 + 3 × 4, it gives 14. Many simple four-function calculators work differently: they carry out each operation as soon as you press the next key, so the same keys can give 20. Check which type you are using before trusting the answer.
Even on a scientific calculator, the result depends on what you type. Calculators differ in how they treat implied multiplication, so typing 8 ÷ 2(2 + 2) can give different answers on different models. The safe habit is to add brackets whenever there is any doubt about what you mean, and to estimate the answer first so that you notice when the calculator result is far out.
Where does the order of operations appear in GCSE maths?
The order of operations is foundation content that is used on every paper. The AQA GCSE Maths number content asks students to "use conventional notation for priority of operations, including brackets, powers, roots and reciprocals". Other boards in England work from the same national content.
It is rarely tested on its own for long. Instead, it underpins substitution into formulae, simplifying expressions, rearranging equations and using a calculator. In the SUVAT equations guide, a formula such as s = ut + ½at² only works if you square t before multiplying by ½a. In the circle theorems guide, angle expressions such as 180 − 2x are evaluated with the same rules. Getting the order of operations automatic early frees up attention for the harder parts of each question.
Can a tutor help with the order of operations?
Most students know the acronym, but small slips with left to right working, powers and negative numbers still cost marks right up to GCSE. A tutor can spot the exact point where your working goes wrong and give you short, focused practice until the correct order becomes automatic.
FLN tutors support students on AQA GCSE Maths Foundation, Edexcel GCSE Maths Foundation and OCR GCSE Maths Foundation, as well as wider mathematics support. Through live tutoring, a tutor explains each step and checks your working, while the answers stay your own.
Frequently asked questions
What do the letters in BODMAS stand for?
BODMAS stands for Brackets, Orders, Division, Multiplication, Addition and Subtraction. Orders means powers and roots, such as squares, cubes and square roots. Division and multiplication have equal priority and are worked from left to right, and the same is true of addition and subtraction. The acronym is a memory aid for the order in which calculations are carried out.
Is BODMAS or PEMDAS correct?
Both are correct, because they describe the same order of operations with different words. PEMDAS uses Parentheses and Exponents where BODMAS uses Brackets and Orders. PEMDAS lists multiplication before division, while BODMAS lists division first, but in both systems these two operations share a level and are worked from left to right. Used properly, they always give the same answer.
Is BIDMAS the same as BODMAS?
Yes. BIDMAS replaces Orders with Indices, which is another word for powers, so the two acronyms describe exactly the same rules. Many UK schools teach BIDMAS, while BODMAS is more common in India and some other countries. Whichever one you learned, the four levels are brackets, powers, division and multiplication, then addition and subtraction.
Does BODMAS always go left to right?
Not across the whole calculation. You work through the levels in order: brackets, then powers, then division and multiplication, then addition and subtraction. Within a single level, such as a mix of division and multiplication, you work from left to right. So 2 + 3 × 4 is 14, because multiplication comes first, but 12 ÷ 3 × 2 is 8, working left to right.
What does the O in BODMAS stand for?
The O stands for Orders, which means powers and roots. Squares, cubes, other powers and square roots are all orders. They come after brackets and before multiplication and division. For example, in 2 × 3², you square the 3 first to get 9 and then multiply by 2 to get 18. Some versions use Of instead, but powers is the meaning used at GCSE.
Why is multiplication done before addition?
Multiplication is a shorthand for repeated addition, so 3 × 4 means three lots of 4 bundled together. Treating that bundle as a single value before adding keeps calculations consistent and lets formulae be written without brackets everywhere. Writing 2 + 3 × 4 then means 2 plus three lots of 4, which is 14. If you want a different order, you use brackets.
What is the answer to 8 ÷ 2(2 + 2)?
Under the BODMAS convention taught in schools the answer is 16. The bracket gives 4, leaving 8 ÷ 2 × 4, and working left to right gives 4 × 4 = 16. Some people and some calculators give 1 because they treat implied multiplication as a block. The expression is ambiguous, so clear writing would use extra brackets or a fraction line.
Does BODMAS apply in algebra?
Yes. The order of operations applies to letters exactly as it does to numbers. In 3x², only x is squared, and in 2(x + 5) you deal with the bracket before multiplying by 2. When you substitute numbers into an algebraic expression, apply the order step by step, starting with any brackets and powers, and write each line clearly.
How do negative numbers work with BODMAS?
A negative sign in front of a number behaves like subtraction, so it comes after powers. That makes −3² equal to −9, while (−3)² equals 9 because the negative is inside the bracket. When you subtract a bracket, subtract everything inside it: 10 − (3 + 2) is 10 − 5 = 5, not 10 − 3 + 2.
Do calculators follow BODMAS?
Scientific calculators apply the order of operations to the whole line you type, so 2 + 3 × 4 gives 14. Many basic four-function calculators work out each step as you press the keys, so they can give 20 instead. Calculators also differ in how they treat a number written next to a bracket, so add brackets whenever your meaning could be unclear.
Is BODMAS on the GCSE maths exam?
Yes. Using the conventional priority of operations is part of the GCSE number content and can appear on foundation and higher papers. It is often tested indirectly, through substitution into formulae, simplifying expressions and using a calculator correctly. A short question may also ask you to add brackets to a calculation so that it gives a stated answer.
How do you add brackets to make a calculation correct?
Work out the calculation as written, then try brackets in different places and work each version out in full. For example, 2 + 3 × 4 = 20 is only true as (2 + 3) × 4. Keep the numbers and operation signs in their original order. Checking each attempt with the full order of operations avoids guesswork and shows the examiner your reasoning.
What is the best way to practise BODMAS?
Start with short calculations that mix two operations, then build up to ones with brackets, powers, fractions and negatives. Write every step on a new line rather than doing several in your head. Check your answers with a scientific calculator, and when you get one wrong, find the exact step where the order went wrong before moving on.
Want a subject expert to help with this?
Book a tutor →Money-Back Guarantee
Full refund if we miss the agreed deadline, can't find a suitable expert, or major errors can't be fixed by revision.
How the money-back guarantee works →100% Confidential
Your identity, order details and institution are never shared with any third party.
How we keep your order confidential →Deadline-Backed Delivery
Every order has an agreed deadline. If we don't deliver by it, you can claim a full refund.
Read the refund policy →Get started today
Ready to get expert help?
Tell us what you need and get matched with a tutor who teaches your subject. Delivered on time, every time.
