Order of Operations
Order of Operations
Parentheses First
Evaluate (8 − 3) × 2 + 4 by working inside the parentheses first (8 − 3 = 5), then multiplying (5 × 2 = 10), then adding (10 + 4 = 14). The answer is 14.
Example
pemdas-nested-parens.math
(8 - 3) x 2 + 4
step: inside parentheses first: 8 - 3 = 5
step: then multiply: 5 x 2 = 10
step: then add: 10 + 4 = 14
step: answer: 14
parentheses-first
Parentheses override the normal order of operations: always evaluate the expression inside parentheses before anything else. After the parentheses are resolved, apply the remaining PEMDAS rules: multiplication before addition.