Understanding Order of Operations
Master PEMDAS with pure arithmetic β learn why the order of operations exists, how to apply it step by step, and the most common mistakes that trip people up.
Every time you type a formula into a spreadsheet, punch numbers into a calculator, or follow a recipe that involves scaling ingredients, the order of operations is silently deciding your answer. Without it, \(2 + 3 \times 4\) could equal either 20 or 14 depending on who you ask β and both answers would seem reasonable. The order of operations is the universal agreement that makes mathematics consistent across every country, every textbook, and every computer on earth. An accountant who misapplies it corrupts a financial report. A programmer who skips it introduces a bug that ships to millions of users. This is foundational.
- Why the order of operations exists and why it matters in real work
- Apply PEMDAS β Parentheses, Exponents, Multiplication/Division, Addition/Subtraction β to any arithmetic expression
- Resolve tie-breakers correctly: equal-priority operations go left to right
- Spot and avoid the three most common order-of-operations errors
PEMDAS defines the evaluation order for every arithmetic expression. Think of it as a strict priority queue β higher-priority operations must be completed before lower-priority ones can begin.
Parentheses
step 1 β innermost first
Exponents
step 2 β right to left
Mult / Div
step 3 β left to right
Add / Sub
step 4 β left to right
The key insight: multiplication and division are equal partners (neither beats the other), and so are addition and subtraction. When equals meet, the one on the left goes first.
The PEMDAS Process in Detail
Evaluating: 3 + 6 Γ (5 + 4) Γ· 3 β 7
| Step | Rule | Expression After Step |
|---|---|---|
| 1 | Parentheses: (5+4)=9 | 3 + 6 Γ 9 Γ· 3 β 7 |
| 2 | Multiply (leftmost): 6Γ9=54 | 3 + 54 Γ· 3 β 7 |
| 3 | Divide: 54Γ·3=18 | 3 + 18 β 7 |
| 4 | Add (leftmost): 3+18=21 | 21 β 7 |
| 5 | Subtract: 21β7=14 | 14 |
Simplify: \(8 + 4^2 \div 2 - 3\)
- No parentheses to resolve.
- Exponent: \(4^2 = 16\) β expression becomes \(8 + 16 \div 2 - 3\)
- Division: \(16 \div 2 = 8\) β expression becomes \(8 + 8 - 3\)
- Addition (left first): \(8 + 8 = 16\) β expression becomes \(16 - 3\)
- Subtraction: \(16 - 3 = 13\)
Simplify: \(2 \times [3 + (10 - 4)^2] \div 6\)
- Innermost parentheses: \((10 - 4) = 6\) β \(2 \times [3 + 6^2] \div 6\)
- Exponent inside brackets: \(6^2 = 36\) β \(2 \times [3 + 36] \div 6\)
- Brackets: \(3 + 36 = 39\) β \(2 \times 39 \div 6\)
- Multiply then divide left to right: \(2 \times 39 = 78\) β \(78 \div 6 = 13\)
A store sells 3 shirts at $18 each. You have a $5 coupon. The sales tax rate is 8%. The total bill formula is: (3 Γ 18 β 5) Γ 1.08. Evaluate it.
- Parentheses β multiply first: \(3 \times 18 = 54\) β \((54 - 5) \times 1.08\)
- Parentheses β subtract: \(54 - 5 = 49\) β \(49 \times 1.08\)
- Multiply: \(49 \times 1.08 = 52.92\)
Notice that removing the parentheses β evaluating as \(3 \times 18 - 5 \times 1.08 = 48.60\) β gives a completely different (wrong) answer. The parentheses are essential.
Evaluate each expression step by step:
- \(10 - 2 \times 3 + 1\)
- \((9 - 3)^2 \div 4 + 2\)
- \(5 \times 3^2 - (8 + 2) \div 5\)
βΆ Show Answers
- Multiply first: \(10 - 6 + 1\). Left to right: \(4 + 1 =\) 5.
- Parentheses: \((6)^2 \div 4 + 2 = 36 \div 4 + 2 = 9 + 2 =\) 11.
- Exponent: \(5 \times 9 - (10) \div 5 = 45 - 2 =\) 43.
- Adding before multiplying: \(2 + 3 \times 4\) is NOT \(5 \times 4 = 20\). You must multiply first: \(2 + 12 = 14\). This is the single most common error β slow down and check for Γ or Γ· before + or β.
- Left-to-right for division and subtraction: \(20 \div 4 \times 5\) is NOT \(20 \div 20 = 1\). Go left to right: \((20 \div 4) \times 5 = 5 \times 5 = 25\). Same with subtraction: \(9 - 3 - 2 = 4\), NOT \(9 - 1 = 8\).
- Skipping the negative sign inside parentheses: \(3 - (2 + 4)\) means subtract the whole group: \(3 - 6 = -3\), NOT \(3 - 2 + 4 = 5\). The parentheses distribute the minus sign to everything inside.
- PEMDAS is universal: every calculator, spreadsheet, and programming language uses this same priority order.
- Parentheses override everything β use them liberally when writing formulas to make your intent explicit and avoid ambiguity.
- Equal-priority operations (Γ and Γ·, or + and β) are resolved strictly left to right.
- Work one step at a time, rewriting the expression after each simplification β this prevents sign errors and missed operations.
Accountants and financial analysts build spreadsheet models where every cell formula is an
arithmetic expression. A misplaced parenthesis in a tax calculation formula can silently corrupt
thousands of rows of data. Excel evaluates formulas using PEMDAS β meaning =A1+B1*C1
multiplies B1 by C1 first, then adds A1. The correct formula requires =(A1+B1)*C1
if the addition must come first. Professional analysts always wrap sub-expressions in parentheses
to make the order explicit and audit-safe β never relying on implicit priority rules for anything
that matters.
Calculator Connection
The PEMDAS / Order of Operations Calculator evaluates any arithmetic expression step by step β enter an expression and see exactly how each operation is resolved in order. Use it to check your work and build intuition for the priority rules before applying them to algebraic expressions with variables.
Try it with the Calculator
Apply what you've learned with this tool.
Understanding Order of Operations - Quiz
5 questions per attempt Β· Beginner Β· Pass at 70%
Start Quiz β