Pre-Algebra Intro pemdasorder of operationsevaluating

Order of Operations (PEMDAS)

Why 2 + 3 × 4 is 14 and not 20, and the order every calculator agrees on.

Video by Khan Academy — “Order of operations: PEMDAS | Arithmetic properties | Pre-Algebra | Khan Academy” Watch on YouTube

The explanation

Key idea Grouping, then powers, then × ÷ left to right, then + − left to right.

If everyone evaluated expressions in their own order, the same expression would have different answers. So mathematics fixed one order and everybody uses it.

Parentheses first. Then exponents. Then multiplication and division. Then addition and subtraction.

The part people miss: multiplication and division are the *same* rank, done left to right as you meet them. Same for addition and subtraction. In 12 ÷ 3 × 2 you do 12 ÷ 3 first because it comes first, giving 4 × 2 = 8. Not 12 ÷ 6.

Worked example

Evaluate 4 + 2 × (9 − 5)² ÷ 8.

  1. Parentheses: 9 − 5 = 4, giving 4 + 2 × 4² ÷ 8.
  2. Exponent: 4² = 16, giving 4 + 2 × 16 ÷ 8.
  3. × and ÷ left to right: 2 × 16 = 32, then 32 ÷ 8 = 4.
  4. Addition: 4 + 4.

Answer: 8

Common mistakes

  • Doing all multiplication before any division. They tie, so go left to right.
  • Treating a fraction bar as if it only groups the first term of the numerator.