Order of operations
Parentheses, exponents, multiply and divide, then add and subtract.
Work in this order: Parentheses, Exponents, Multiply and Divide (left to right), then Add and Subtract (left to right).
Example: 3 + 4 × (6 − 1)²
- 3 + 4 × (6 − 1)²
- 3 + 4 × 5² — Parentheses first
- 3 + 4 × 25 — Then the exponent
- 3 + 100 — Then multiply
- 103 — Add last
Why it works: Without one agreed order, the same expression could mean different things. Powers are repeated multiplying, and multiplying is repeated adding, so the stronger operations come first.
Tip: Multiplication does not always come before division. Do whichever comes first, left to right.