Order of Operations (PEMDAS): Rules and Worked Examples
When a calculation has several operations, the order you do them in changes the answer. The order of operations, remembered as PEMDAS (or BODMAS/BIDMAS in the UK), gives everyone the same result.
Quick answer: PEMDAS
- Parentheses (brackets)
- Exponents (powers and roots)
- Multiplication and Division, left to right
- Addition and Subtraction, left to right
Example: 2 + 3 × 4 = 2 + 12 = 14, not 20.
The rule people miss
Multiplication and division have equal priority, and so do addition and subtraction. Work them from left to right. So 12 ÷ 3 × 2 = 4 × 2 = 8 (not 12 ÷ 6 = 2), and 10 − 4 + 3 = 6 + 3 = 9.
Worked examples
| Expression | Steps | Answer |
|---|---|---|
| (3 + 5) × 2 | 8 × 2 | 16 |
| 3 + 5 × 2 | 3 + 10 | 13 |
| 2 × 3² | 2 × 9 | 18 |
| (2 × 3)² | 6² | 36 |
| 20 − 12 ÷ 4 + 1 | 20 − 3 + 1 | 18 |
| 8 ÷ 2 × (2 + 2) | 8 ÷ 2 × 4 = 4 × 4 | 16 |
| 5 + 2 × (6 − 1)² | 5 + 2 × 25 = 5 + 50 | 55 |
PEMDAS vs BODMAS
| US | UK and others | Meaning |
|---|---|---|
| Parentheses | Brackets | Do inside first |
| Exponents | Orders / Indices | Powers and roots |
| Multiplication, Division | Division, Multiplication | Equal priority, left to right |
| Addition, Subtraction | Addition, Subtraction | Equal priority, left to right |
They’re the same rules with different words.
Common traps
- Treating MD as “multiply first”: it’s whichever comes first from the left.
- Negative numbers and powers: −3² = −9, but (−3)² = 9. See exponents.
- Fraction bars act like brackets: (6 + 4) ÷ 2, not 6 + 4 ÷ 2.
- Viral puzzles like 8 ÷ 2(2 + 2) are deliberately ambiguous; adding brackets removes the doubt.
Calculators and spreadsheets
Scientific calculators, Excel and Google Sheets follow these rules, but basic calculators may work strictly left to right. In spreadsheets, add brackets to be safe: =(A1+A2)*A3.
Practise with the multiplication chart and fractions.
Frequently asked questions
What does PEMDAS stand for?
Parentheses, Exponents, Multiplication and Division, Addition and Subtraction.
Does multiplication come before division?
No. They have equal priority and are done left to right.
What is 2 + 3 × 4?
14.
Is BODMAS the same as PEMDAS?
Yes, the same rules with different names.
