Order of Operations
Every algebra lesson on this site assumes you can evaluate an expression the same way every time, no matter who's doing the math. That's the entire point of order of operations — one fixed sequence, so 3 + 4 × 2 always means the same thing.
The sequence is usually remembered as PEMDAS: Parentheses, Exponents, Multiplication and Division, Addition and Subtraction. The part people get wrong isn’t the order of the letters — it’s treating M as strictly before D, and A as strictly before S. They’re not separate steps. Multiplication and division are the same tier, worked left to right in whatever order they appear. Addition and subtraction are the same tier, also worked left to right. PEMDAS is really four tiers, not six.
A long expression isn't solved all at once — it's solved one tier at a time, in order, until only a single number is left.
Start with 20 − 3² × 2 + (5 − 1). Parentheses come first — simplify (5 − 1).
The left-to-right rule inside a tier matters more than it looks. 12 ÷ 3 × 2 is not the same as 12 ÷ (3 × 2) — division and multiplication aren’t interchangeable in the order you apply them, only in which tier they belong to. Work strictly left to right within a tier: