Phyopedia

Order of operations

The order of operations is the agreed sequence for evaluating an expression so that everyone gets the same value:

  1. Parentheses
  2. Exponents
  3. Multiplication and division, left to right
  4. Addition and subtraction, left to right

Without a fixed order, 2 + 3 × 4 could mean 20 or 14. The order makes it unambiguously 14.