Order of Operations (PEMDAS/BODMAS) — Rules and Examples
Grade: 6-7 | Topic: Arithmetic
What You Will Learn
By the end of this guide you will know exactly which calculation to do first in any math expression, no matter how many operations it contains. You will understand the PEMDAS and BODMAS mnemonics, work through step-by-step examples ranging from simple to challenging, and avoid the most common mistakes students make when evaluating expressions.
Theory
Why Order of Operations Matters
Consider the expression . If you go left to right you get . If you multiply first you get . Without a universal set of rules, the same expression would give different answers. The order of operations is the agreed-upon convention that ensures every person evaluating an expression arrives at the same result.
The PEMDAS Rule
PEMDAS is the most widely used mnemonic in North America. Each letter stands for one level of priority:
| Step | Letter | Meaning | Examples |
|---|---|---|---|
| 1 | P | Parentheses (and other grouping symbols) | |
| 2 | E | Exponents (powers and roots) | |
| 3 | M / D | Multiplication and Division (left to right) | |
| 4 | A / S | Addition and Subtraction (left to right) |
The full evaluation sequence:
Critical detail: Multiplication and Division share the same priority. You do not always multiply before you divide. Instead, evaluate whichever comes first when reading left to right. The same rule applies to Addition and Subtraction.
BODMAS — The Same Rules, Different Name
In the UK, Australia, India, and many other countries the mnemonic is BODMAS:
- B — Brackets (same as Parentheses)
- O — Orders (same as Exponents)
- D / M — Division and Multiplication (left to right)
- A / S — Addition and Subtraction (left to right)
PEMDAS and BODMAS produce identical results for every expression. The only difference is the name. Throughout this guide we use PEMDAS, but every rule applies equally to BODMAS.
Nested Parentheses
When an expression has parentheses inside parentheses, work from the innermost set outward:
- Innermost parentheses:
- Exponent:
- Brackets:
- Multiplication:
Worked Examples
Example 1: Basic PEMDAS (Easy)
Problem: Evaluate
Step 1 — Multiplication first (M comes before A):
Step 2 — Addition:
Answer:
Example 2: Parentheses Change Everything (Easy)
Problem: Evaluate
Step 1 — Parentheses first:
Step 2 — Multiplication:
Answer:
Notice how the parentheses changed the result from to compared to Example 1.
Example 3: All Four Steps (Medium)
Problem: Evaluate
Step 1 — Parentheses:
The expression becomes .
Step 2 — Exponents:
The expression becomes .
Step 3 — Multiplication and Division left to right:
The expression becomes .
Step 4 — Addition:
Answer:
Example 4: Left-to-Right Trap (Medium)
Problem: Evaluate
Students often get this wrong because they think multiplication comes before division. Remember: M and D have equal priority — go left to right.
Step 1 — Division first (it is on the left):
Step 2 — Multiplication:
Answer:
If you had multiplied first (, then ), you would get the wrong answer.
Example 5: Nested Grouping Symbols (Challenging)
Problem: Evaluate
Step 1 — Innermost parentheses — exponent first inside them:
Step 2 — Continue inside parentheses:
The expression becomes .
Step 3 — Brackets:
The expression becomes .
Step 4 — Multiplication before subtraction:
Step 5 — Subtraction:
Answer:
Common Mistakes
Mistake 1: Multiplying before dividing regardless of position
Consider :
❌ (multiplied first)
✅ (divided first, because it is further left)
Why this matters: Multiplication and division have equal priority. Always read left to right.
Mistake 2: Ignoring parentheses around negative numbers
Consider vs. :
❌ Assuming
✅ , while
Why this matters: Without parentheses, the exponent applies only to , and the negative sign is treated as subtraction.
Mistake 3: Forgetting to apply PEMDAS inside parentheses
Consider :
❌ , then
✅ Inside the parentheses, multiply first: , then , then
Why this matters: PEMDAS rules still apply inside grouping symbols — parentheses only tell you to evaluate that group first, not to go left to right within it.
Practice Problems
Try these on your own before checking the answers:
Click to see answers
- — multiply first, then left to right.
- — parentheses first, then multiply.
- — exponent, then multiply and divide, then left to right.
- — divide first (left to right), multiply, exponent, then subtract.
- Inside parentheses: , then , then . Finally .
Summary
- The order of operations ensures every person gets the same answer: P-E-M/D-A/S (or B-O-D/M-A/S).
- Evaluate Parentheses (innermost first), then Exponents, then Multiplication and Division left to right, then Addition and Subtraction left to right.
- Multiplication and Division share equal priority — do not always multiply first.
- The same PEMDAS rules apply inside parentheses, not just outside them.
Related Topics
- PEMDAS vs BODMAS — What's the Difference and How to Use Them
- Order of Operations with Fractions and Decimals
- Order of Operations Practice Problems with Answers
- Exponents and Powers — Rules, Examples, and Practice
- Fractions — Complete Guide
Need help with order of operations?
Take a photo of your math problem and MathPal will solve it step by step.