Watch on Instagram

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.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

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:

  1. Multiplication first: 3 × 4 = 12. The expression is now 2 + 12.
  2. 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.

1What is 2 + 3 × 4?
2Which step comes first in 8 − 2 × 3?
3What is (4 + 1) × 3?
4In PEMDAS, how do you handle multiplication and division in the same expression?

Sources

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

All Algebra 1 lessons