BIDMAS, BODMAS and PEMDAS: the order of operations explained
TutorAura guide · Updated
BIDMAS, BODMAS and PEMDAS are three names for the same rule: the order of operations, which tells you which part of a calculation to do first. They only differ in the words used:
- BIDMAS (UK): Brackets, Indices, Division and Multiplication, Addition and Subtraction.
- BODMAS (UK, older): Brackets, Orders (or "of"), Division and Multiplication, Addition and Subtraction.
- PEMDAS (US): Parentheses, Exponents, Multiplication and Division, Addition and Subtraction.
All three give the same answer when you apply the left-to-right rule correctly.
Key takeaways
- BIDMAS, BODMAS and PEMDAS are the same rule.
- Brackets first, then powers.
- × and ÷ have equal priority: work left to right.
- and − have equal priority: work left to right.
The order
| Step | What | Example |
|---|---|---|
| 1 | Brackets (parentheses) | |
| 2 | Indices / orders / exponents | |
| 3 | × and ÷, left to right | |
| 4 | + and −, left to right |
The rule people forget
The order of the letters makes it look as if division always comes before multiplication (BIDMAS) or multiplication before division (PEMDAS). That's not the rule. Multiplication and division have equal priority, and so do addition and subtraction: work them from left to right.
- (not )
- (not )
Worked examples
- (a fraction bar acts like brackets around the top and the bottom)
Try any expression in our order of operations calculator, which shows one step at a time.
Negative numbers and powers
- : the power applies to 3, then the negative.
- : the brackets make the base.
Calculators follow this convention, which is why typing gives . See negative numbers.
Common mistakes
- Working strictly left to right and ignoring the order: .
- Doing all multiplication before any division (or the reverse).
- Forgetting that a fraction bar groups the top and the bottom.
- Treating "of" in BODMAS as a separate step: it means multiplication ("half of 10").
Practice
Answers: 12, 8, 22, 16. For more, see the order of operations topic guide.
Order of operations beyond the classroom
The same rule is built into calculators, spreadsheets and programming languages. In a spreadsheet, =A1+B1*2 doubles B1 before adding A1; in Python, 2 + 3 * 4 gives 14. When you write formulas for other people, add brackets even when they're not strictly needed, such as =A1+(B1*2), so nobody has to remember the rule to read them.
Frequently asked questions
What is the answer to 6 ÷ 2(1 + 2)?
Using the standard convention, the bracket gives 3, and implied multiplication is treated like an ordinary ×, so 6 ÷ 2 × 3 = 9. Some people and some calculators give implied multiplication higher priority and get 1, which is why it goes viral. Exam questions avoid the ambiguity with fractions or extra brackets, and so should your own working.
Do you multiply or divide first?
Neither has priority. Multiplication and division are done in the order they appear, reading from left to right. So 12 ÷ 3 × 2 = 4 × 2 = 8, not 12 ÷ 6 = 2.
Is BODMAS the same as PEMDAS?
Yes. BODMAS and BIDMAS are the names used in the UK and PEMDAS is the US name, but all three describe the same order: brackets, powers, then multiplication and division from left to right, then addition and subtraction from left to right.
Sources
- National curriculum in England: mathematics programmes of study. Department for Education.
- Common Core State Standards for Mathematics. Common Core State Standards Initiative.
Keep reading
Order of operations questions and answers
15 GCSE and IGCSE questions with worked answers, checked as you type.
Order of operations calculator (BIDMAS, BODMAS, PEMDAS) with steps
Any calculation solved one operation at a time in BIDMAS / PEMDAS order, with exact answers.
Order of operations
Work out calculations in the right order: brackets, powers, then multiplication and division, then addition and subtraction.
Negative numbers
Order, add, subtract, multiply and divide negative numbers, using the number line and the sign rules.
An AI math tutor that teaches, not just answers
Step-by-step maths help from times tables to calculus: it asks questions, checks each step and reads your handwriting.