Math Bytes · Algebra 1 · Episode 2 · Foundations
Order of operations
Is 2 + 3 × 4 equal to 20 or 14? The order of operations says multiply and divide before you add and subtract, so it's 14. Parentheses always go first, and PEMDAS helps you remember the order.
Why left to right gets it wrong
Reading 2 + 3 × 4 from left to right, you'd do 2 + 3 = 5 and then 5 × 4 = 20. That feels natural, but it isn't the rule math uses. If everyone picked their own order, the same expression could mean different numbers. The order of operations is an agreement so that everyone gets the same answer.
Multiply and divide before add and subtract
The main rule: multiplication and division come before addition and subtraction.
Worked example, 2 + 3 × 4:
- Multiplication first:
3 × 4 = 12. The expression is now2 + 12. - Then addition:
2 + 12 = 14.
So 2 + 3 × 4 = 14.
Parentheses go first
If you really want the 2 + 3 done first, put it in parentheses. Parentheses (and other grouping symbols like brackets) always go first:
(2 + 3) × 4 = 5 × 4 = 20
Parentheses are how you tell the reader "do this part first." The same numbers and signs give a different answer depending on where the parentheses are.
PEMDAS
Many people remember the order with PEMDAS:
- Parentheses:
( ) - Exponents: like
x² - Multiply and Divide: equal rank, left to right
- Add and Subtract: equal rank, left to right
The pairs matter. Multiplication doesn't beat division, and addition doesn't beat subtraction: each pair is done in the order it appears, from left to right. For example, 8 ÷ 4 × 2 is 2 × 2 = 4, not 8 ÷ 8 = 1.
Try it yourself
Work out 10 − 6 ÷ 2. Division comes first: 6 ÷ 2 = 3, then 10 − 3 = 7. Now add parentheses: (10 − 6) ÷ 2. The parentheses go first: 10 − 6 = 4, then 4 ÷ 2 = 2. Same numbers, different answer. Check both on a calculator app: a scientific calculator follows the order of operations.
Good to know
- "Wrong" means wrong under the standard convention that mathematicians, textbooks and calculators all use.
- Multiplication and division have equal rank and are done left to right; so are addition and subtraction. PEMDAS can make it look like multiplication always beats division, but it doesn't.
- PEMDAS is the US memory aid. Canada uses BEDMAS and the UK uses BODMAS or BIDMAS; they all mean the same rules.
- Exponents are named here but explained in a later lesson.
- Worked example check:
3 × 4 = 12,2 + 12 = 14;(2 + 3) × 4 = 5 × 4 = 20.
Answer to the comment question
5 + 2 × 3 = ? 11. Multiplication comes before addition, so do 2 × 3 = 6 first, then 5 + 6 = 11. Going left to right would wrongly give 7 × 3 = 21.
Test your knowledge
Quick quiz: Order of operations
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Elementary Algebra 2e, 1.2 Use the Language of Algebra": simplify expressions with the order of operations (grouping, exponents, multiplication and division left to right, addition and subtraction left to right)
- Wolfram MathWorld, "Precedence": operator precedence (order of operations); PEMDAS as a US memory aid
- Common Core State Standards for Mathematics, "Grade 6 Expressions & Equations, 6.EE.A.2c": perform operations in the conventional order when there are no parentheses
- Common Core State Standards for Mathematics, "Grade 5 Operations & Algebraic Thinking, 5.OA.A.1": use parentheses, brackets or braces in numerical expressions and evaluate them
Video transcript
Is two plus three times four equal to twenty, or fourteen?
If you go left to right, you get twenty. Two plus three is five, times four is twenty. But that's wrong.
Math has a rule for which step comes first. It's called the order of operations. Multiplication and division come before addition and subtraction. That way everyone gets the same answer.
So do three times four first. That's twelve. Then two plus twelve is fourteen.
Want twenty instead? Put two plus three in parentheses. Parentheses always go first, so it's five times four, which is twenty.
Many people remember the order as PEMDAS: parentheses, exponents, multiply and divide, then add and subtract.
Your turn. Five plus two times three. Comment your answer below!
That's your byte.
More from Algebra 1
- Algebra 1 EP4Combining like terms
- Algebra 1 EP5The distributive property
- Algebra 1 EP6Solving one-step equations
- Algebra 1 EP7Solving two-step equations