Allday Education

Order of Operations

The order of operations is the agreed-upon order for computing an expression, so that everyone who simplifies 3+453 + 4 \cdot 5 gets the same answer. Without a fixed order, one person adds first and gets 3535 while another multiplies first and gets 2323 — and math stops working as a shared language. The rule says multiplication comes first, so 2323 is the answer.

The order is usually remembered as PEMDAS: Parentheses, Exponents, Multiplication and Division, Addition and Subtraction. It shows up in every math course after this one, and it's also exactly how calculators and computers evaluate what you type — so knowing it keeps your work and your calculator in agreement.

The order

Work through an expression in this order. First, parentheses — compute whatever is inside grouping symbols. Second, exponents — evaluate powers like 232^{3}. Third, multiplication and division, working left to right. Fourth, addition and subtraction, working left to right.

Notice that's four levels, not six. Multiplication and division share one level, and addition and subtraction share one level. That detail is where most mistakes come from, so it gets its own section below.

Grouping symbols include more than parentheses: a fraction bar groups everything above it and everything below it. In 8+43\dfrac{8 + 4}{3}, you compute 8+4=128 + 4 = 12 first, then divide to get 44.

The left-to-right rule

PEMDAS does not mean multiplication always beats division. They are the same rank, so you take them in the order they appear, left to right. In 24÷6224 \div 6 \cdot 2, the division comes first: 24÷6=424 \div 6 = 4, then 42=84 \cdot 2 = 8. Multiplying first would give 24÷12=224 \div 12 = 2, which is wrong.

The same goes for addition and subtraction. In 208+320 - 8 + 3, subtract first because it appears first: 208=1220 - 8 = 12, then 12+3=1512 + 3 = 15. Adding first would give 2011=920 - 11 = 9, which is wrong.

Parentheses override everything

Parentheses are how you force a different order. 3+45=233 + 4 \cdot 5 = 23, but (3+4)5=35(3 + 4) \cdot 5 = 35 — the parentheses make the addition happen first. If parentheses are nested inside other parentheses, work from the innermost pair outward.

This is also why parentheses matter with exponents and negatives: (3)2=9(-3)^{2} = 9 because the parentheses square the whole 3-3, while 32=9-3^{2} = -9 because the exponent applies only to the 33.

Worked examples

Example 1: multiply before adding

Simplify 3+453 + 4 \cdot 5.

Start with the expression3+453 + 4 \cdot 5
Multiplication ranks above addition3+203 + 20
Add2323

Answer: 2323

Example 2: parentheses change the answer

Simplify (3+4)5(3 + 4) \cdot 5.

Start with the expression(3+4)5(3 + 4) \cdot 5
Parentheses first757 \cdot 5
Multiply3535
Same numbers as Example 1, different answer — the parentheses did that

Answer: 3535

Example 3: division and multiplication, left to right

Simplify 24÷6224 \div 6 \cdot 2.

Start with the expression24÷6224 \div 6 \cdot 2
Same rank, so work left to right — divide first424 \cdot 2
Multiply88

Answer: 88

Example 4: everything at once

Simplify 2(73)210÷52(7 - 3)^{2} - 10 \div 5.

Parentheses first2(4)210÷52(4)^{2} - 10 \div 5
Exponent next21610÷52 \cdot 16 - 10 \div 5
Multiply and divide, left to right32232 - 2
Subtract3030

Answer: 3030

Try one yourself

Common questions

Does multiplication always come before division?

No — they are the same rank. Take them in the order they appear, left to right. In 24÷6224 \div 6 \cdot 2 the division happens first because it's on the left, giving 88. The M-before-D in PEMDAS is just how the letters happen to be arranged.

Is PEMDAS the same as GEMDAS or BODMAS?

Yes — they're the same rules with different letters. GEMDAS says Grouping instead of Parentheses, and BODMAS (common outside the US) says Brackets and Orders. Every version agrees on the actual order: grouping symbols, exponents, multiply/divide left to right, add/subtract left to right.

What do I do with parentheses inside parentheses?

Work from the innermost pair outward. In 2(10(3+1))2(10 - (3 + 1)), compute 3+1=43 + 1 = 4 first, then 104=610 - 4 = 6, then 26=122 \cdot 6 = 12.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1