Order of Operations Example
Evaluate 24 ÷ 3 + 2² × (5 − 2) using the standard order of operations. First simplify the parentheses, then evaluate the exponent. Perform division and multiplication from left to right before adding. The worked steps show why the expression equals 20 and how to check it.
Evaluate the expression
PEMDAS and BODMAS describe the same precedence: grouping, exponents or orders, multiplication and division from left to right, then addition and subtraction from left to right.
| Stage | Expression | Reason |
|---|---|---|
| Grouping | 24 ÷ 3 + 2² × 3 | 5 − 2 = 3 |
| Exponent | 24 ÷ 3 + 4 × 3 | 2² = 4 |
| Division and multiplication | 8 + 12 | 24 ÷ 3 = 8; 4 × 3 = 12 |
| Addition | 20 | 8 + 12 = 20 |
Step-by-step solution
Do not simply calculate from left to right across the whole expression. Use precedence first, and use left-to-right order only among operations at the same level.
- 1
Simplify the parentheses
Evaluate the grouped subtraction before using the result in the rest of the expression.
- 2
Evaluate the exponent
Square 2 before performing multiplication or division.
- 3
Complete division and multiplication
Division and multiplication have equal precedence, so evaluate them from left to right as they appear.
- 4
Add the remaining terms
Only addition remains, so combine 8 and 12 to get the value of the original expression.
ANSWER
The expression equals 20
The parentheses and exponent are evaluated first. Division and multiplication come next from left to right, followed by addition.
Check the result
Substitute the simplified values back into the original expression and follow the same precedence rules.