Why Do We Need Rules for Math Order?
Imagine texting a friend: "Solve 3 + 4 × 2." Your friend says 11. You say 14. Who is right? Without a shared set of rules, the same expression can give different answers. That is why mathematicians created the order of operations — a set of rules everyone agrees to follow so that every expression has exactly one correct value.
These rules did not appear overnight. They developed over centuries as math became more complex. Let's look at how they came to be.
So the big question is: In what exact order do you perform operations to get the one correct answer? That is what this lesson will teach you, step by step.
Core Principles of the Order of Operations
The order of operations is often remembered by the acronym PEMDAS. Each letter stands for a step you follow, from first to last. Let's break it down.
P — Parentheses
E — Exponents
MD — Multiply & Divide
AS — Add & Subtract
Seeing the Order of Operations
The diagram below shows the PEMDAS steps as a staircase. You start at the top and work your way down. Each step must be completed before you move to the next one.
Notice how the staircase has four levels, not six. That is because Multiply and Divide share one level, and Add and Subtract share another. Within a shared level, you simply move left to right through the expression.
The PEMDAS Framework in Action
Let's see the rules written out as clear steps. When you look at any expression, follow these steps one at a time.
Breaking Down a Multi-Step Expression
Let's trace every move through the expression 4 + 3 × (10 − 2²). The diagram below highlights which part of the expression you handle at each step.
Inside the parentheses, you still follow PEMDAS. That is why we handled the exponent 2² before the subtraction 10 − 4. Once the parentheses are cleared, you move on to multiplication, and then addition.
Worked Example
Let's evaluate the expression 18 ÷ 3² + 5 × (7 − 4) step by step.
Common Errors and How to Avoid Them
Even when students know PEMDAS, they sometimes make mistakes. Here are the most common errors and the correct approach side by side.
| Common Error | Why It's Wrong | Correct Approach |
|---|---|---|
| Adding before multiplying: 3 + 4 × 2 = 14 | Multiplication comes before addition in PEMDAS. | 4 × 2 = 8 first, then 3 + 8 = 11. |
| Always multiplying before dividing: 12 ÷ 4 × 3 = 1 | M and D have equal priority. Work left to right. | 12 ÷ 4 = 3 first (left), then 3 × 3 = 9. |
| Forgetting exponents: 2 + 3² = 5² = 25 | The exponent applies only to the base right next to it, not to 2 + 3. | 3² = 9 first, then 2 + 9 = 11. |
| Ignoring nested parentheses: [2 × (1 + 3)]² = [2 × 4]² but student writes 2 × 4² = 32 | The brackets group 2 × 4 together. The exponent applies to the whole bracket. | [2 × (1 + 3)] = [2 × 4] = 8, then 8² = 64. |
From Numbers to Algebra and Beyond
Right now, you are using the order of operations with plain numbers. In algebra, you will use the same rules with variables (letters that stand for numbers). The rules never change — PEMDAS works the same way whether you see 3 + 4 × 2 or 3 + 4x.
| What You Learn Now | How It Connects Later |
|---|---|
| Evaluate 5 + 2 × 3 | Simplify 5 + 2x when x = 3 |
| Parentheses change the order | Grouping symbols in algebraic expressions and equations |
| Exponents with numbers: 4² | Exponents with variables: x², polynomial expressions |
| Left-to-right rule for ×, ÷ | Solving multi-step equations with inverse operations |
Mastering the order of operations now builds a strong foundation. Every equation you solve in algebra, geometry, and even calculus will rely on these same rules. You are learning the grammar of math!
Practice Problems
Try each problem on your own before reading the answer. Remember: write the expression, then work through PEMDAS one step at a time.
Lesson Summary
The order of operations (remembered by the acronym PEMDAS) is the set of rules that tells you which part of an expression to evaluate first. Start with Parentheses, then Exponents, then Multiplication and Division from left to right, and finally Addition and Subtraction from left to right.
Remember that Multiply/Divide are equal-priority partners, and so are Add/Subtract. Within each pair, you simply move left to right. Following PEMDAS carefully guarantees that every expression gives exactly one correct answer — and these same rules will carry you through algebra, geometry, and beyond.