PEMDAS

  1. Parentheses (brackets) first.
  2. Exponents (powers and roots).
  3. Multiplication and Division, from left to right.
  4. Addition and Subtraction, from left to right.

In the UK and elsewhere it’s called BODMAS or BIDMAS. It’s the same rule.

Example: 3 + 4 × 2

  1. Multiply first: 4 × 2 = 8.
  2. Then add: 3 + 8 = 11.

11, not 14

Example: 20 ÷ 4 × 5

  1. Multiplication and division share a step, so go left to right.
  2. 20 ÷ 4 = 5, then 5 × 5 = 25.

25, not 1

Example: (2 + 3)² − 4 × 3

  1. Parentheses: 2 + 3 = 5.
  2. Exponent: 5² = 25.
  3. Multiply: 4 × 3 = 12.
  4. Subtract: 25 − 12 = 13.

13

Common traps

  • The minus sign: −3² = −9, because the power applies before the minus. (−3)² = 9.
  • “M before D”: multiplication doesn’t come before division. They’re equal, so work left to right.
  • Viral puzzles like 8 ÷ 2(2 + 2): read left to right, it’s 8 ÷ 2 × 4 = 16, which is what the CalcSolve calculator does. Some people read it as 8 ÷ 8 = 1, so add brackets to make your meaning clear.