Skip to main content

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.

Lesson 1 of 11 Algebra & Equations Beginner ⏱ 7 min read
πŸ”₯ Why This Matters

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.

🎯 What You'll Learn
  • 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
πŸ“– Key Vocabulary
PEMDASThe acronym for the standard order: Parentheses β†’ Exponents β†’ Multiplication/Division β†’ Addition/Subtraction. Also called BODMAS or BIDMAS in some countries. ParenthesesGrouping symbols β€” anything inside must be fully evaluated before operating on the result. Brackets [ ] and braces { } serve the same purpose. ExponentRepeated multiplication β€” 5Β³ = 5 Γ— 5 Γ— 5. Evaluated after all grouping symbols are resolved. Left-to-Right RuleWhen two operations share the same priority level (Γ— and Γ· are equal; + and βˆ’ are equal), evaluate them left to right β€” never right to left. Implied MultiplicationWriting 3(4 + 2) means 3 Γ— (4 + 2). The multiplication sign is omitted but the rule still applies after the parentheses are resolved.
Key Concept

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
xΒ²
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
1Parentheses: (5+4)=93 + 6 Γ— 9 Γ· 3 βˆ’ 7
2Multiply (leftmost): 6Γ—9=543 + 54 Γ· 3 βˆ’ 7
3Divide: 54Γ·3=183 + 18 βˆ’ 7
4Add (leftmost): 3+18=2121 βˆ’ 7
5Subtract: 21βˆ’7=1414
Worked Example 1 β€” Basic: Pure Arithmetic

Simplify: \(8 + 4^2 \div 2 - 3\)

  1. No parentheses to resolve.
  2. Exponent: \(4^2 = 16\) β†’ expression becomes \(8 + 16 \div 2 - 3\)
  3. Division: \(16 \div 2 = 8\) β†’ expression becomes \(8 + 8 - 3\)
  4. Addition (left first): \(8 + 8 = 16\) β†’ expression becomes \(16 - 3\)
  5. Subtraction: \(16 - 3 = 13\)
\[ 8 + 4^2 \div 2 - 3 = 13 \]
Worked Example 2 β€” Intermediate: Nested Parentheses

Simplify: \(2 \times [3 + (10 - 4)^2] \div 6\)

  1. Innermost parentheses: \((10 - 4) = 6\) β†’ \(2 \times [3 + 6^2] \div 6\)
  2. Exponent inside brackets: \(6^2 = 36\) β†’ \(2 \times [3 + 36] \div 6\)
  3. Brackets: \(3 + 36 = 39\) β†’ \(2 \times 39 \div 6\)
  4. Multiply then divide left to right: \(2 \times 39 = 78\) β†’ \(78 \div 6 = 13\)
\[ 2 \times [3 + (10 - 4)^2] \div 6 = 13 \]
Worked Example 3 β€” Real World: Shopping Bill with Discount and Tax

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.

  1. Parentheses β€” multiply first: \(3 \times 18 = 54\) β†’ \((54 - 5) \times 1.08\)
  2. Parentheses β€” subtract: \(54 - 5 = 49\) β†’ \(49 \times 1.08\)
  3. Multiply: \(49 \times 1.08 = 52.92\)
\[ (3 \times 18 - 5) \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.

✏️ Quick Check

Evaluate each expression step by step:

  1. \(10 - 2 \times 3 + 1\)
  2. \((9 - 3)^2 \div 4 + 2\)
  3. \(5 \times 3^2 - (8 + 2) \div 5\)
β–Ά Show Answers
  1. Multiply first: \(10 - 6 + 1\). Left to right: \(4 + 1 =\) 5.
  2. Parentheses: \((6)^2 \div 4 + 2 = 36 \div 4 + 2 = 9 + 2 =\) 11.
  3. Exponent: \(5 \times 9 - (10) \div 5 = 45 - 2 =\) 43.
⚠️ Common Mistakes
  • 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.
βœ… Key Takeaways
  • 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.
πŸ’Ό Career Connection β€” Accounting & Spreadsheet Design

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.

PEMDAS / Order of Operations Calculator
Evaluate numerical expressions following the correct order of operations: Parentheses, Exponents, Multiplication/Division, and Addition/Subtraction.
Use calculator β†’
Continue Learning
Up Next: Variables and Expressions
Next Lesson →
Test Your Knowledge

Understanding Order of Operations - Quiz

5 questions per attempt  Β·  Beginner  Β·  Pass at 70%

Start Quiz β†’

More in Algebra & Equations

Variables and Expressions Order of Operations (PEMDAS) with Variables Combining Like Terms
← All Algebra & Equations lessons