Overview
Order of operations is the set of rules that determines which part of an expression is evaluated first. Without these rules, the same expression could produce different results. Type the full expression and we will apply the rules in the correct order.
Formula
Parentheses → exponents and roots → multiplication and division → addition and subtraction.
How it works
Start with parentheses
Evaluate the innermost parentheses first, then work outward.
Then exponents and roots
Apply powers and roots before multiplication.
Then multiplication and division
Work left to right, then finish with addition and subtraction.
Worked examples
Example 1: (12 + 3) × 4 − 6 ÷ 2
15 × 4 − 3 = 60 − 3 = 57.
Example 2: 2 + 3 × 4²
4² = 16, then 3 × 16 = 48, then 2 + 48 = 50.
Frequently asked questions
Is multiplication always before addition?
Yes, unless you put the addition inside parentheses. Parentheses take precedence over everything else.
How do I write an exponent?
Use the ^ symbol; for example, 2^3 means 2 to the power of 3.
Can I use functions?
Yes. Use sqrt(9) for a square root or sin(30) for sine. Trigonometric functions use radians.
This calculator is for educational and informational purposes only and is not a substitute for professional advice.