Arithmetic

Order of Operations

Last updated: March 2026 · Beginner
Before you start

You should be comfortable with:

Real-world applications
Electrical

Voltage drop, wire sizing, load balancing

When a math expression has more than one operation, you cannot simply work left to right. There is a specific order of operations that everyone follows so that every person gets the same answer from the same expression. In the United States, this order is remembered with the acronym PEMDAS.

The PEMDAS Rules

StepLetterOperationRule
1PParenthesesDo everything inside parentheses (or brackets) first
2EExponentsEvaluate powers and square roots
3M / DMultiplication and DivisionWork left to right
4A / SAddition and SubtractionWork left to right

Critical detail: Multiplication and division have the same priority — you do whichever comes first as you read left to right. The same is true for addition and subtraction. A common mistake is thinking multiplication always comes before division; it does not.

Some people use the phrase “Please Excuse My Dear Aunt Sally” to remember the order.

Outside the U.S., the same rules go by BODMAS (Brackets, Orders, Division, Multiplication, Addition, Subtraction) or BEDMAS. The rules themselves are identical.

Step-by-Step Worked Examples

Example 1: 8+2×58 + 2 \times 5

There are no parentheses or exponents, so start with multiplication:

8+2×5=8+10=188 + 2 \times 5 = 8 + 10 = 18

Common mistake: Adding 8+28 + 2 first to get 10×5=5010 \times 5 = 50. That is incorrect because multiplication must be done before addition.

Answer: 18

Example 2: (6+4)2÷53(6 + 4)^2 \div 5 - 3

Step 1 — Parentheses:

(6+4)2÷53=(10)2÷53(6 + 4)^2 \div 5 - 3 = (10)^2 \div 5 - 3

Step 2 — Exponents:

102÷53=100÷5310^2 \div 5 - 3 = 100 \div 5 - 3

Step 3 — Division (left to right):

100÷53=203100 \div 5 - 3 = 20 - 3

Step 4 — Subtraction:

203=1720 - 3 = 17

Answer: 17

Example 3: 3+6×(5+4)÷373 + 6 \times (5 + 4) \div 3 - 7

Step 1 — Parentheses:

3+6×9÷373 + 6 \times 9 \div 3 - 7

Step 2 — Multiplication and division, left to right:

3+54÷37=3+1873 + 54 \div 3 - 7 = 3 + 18 - 7

Step 3 — Addition and subtraction, left to right:

3+187=217=143 + 18 - 7 = 21 - 7 = 14

Answer: 14

Nested Parentheses

When parentheses are nested inside other parentheses, work from the innermost set outward.

Example 4: 2×[3+(85)2]2 \times [3 + (8 - 5)^2]

Step 1 — Innermost parentheses:

2×[3+(3)2]2 \times [3 + (3)^2]

Step 2 — Exponent inside the brackets:

2×[3+9]2 \times [3 + 9]

Step 3 — Brackets:

2×122 \times 12

Step 4 — Multiplication:

2424

Answer: 24

Common Mistakes to Avoid

  1. Multiplying before dividing regardless of position. Multiplication and division are equal in priority — always work left to right.

    24÷6×2=4×2=824 \div 6 \times 2 = 4 \times 2 = 8 \quad \checkmark 24÷6×224÷12=2(wrong)24 \div 6 \times 2 \neq 24 \div 12 = 2 \quad \text{(wrong)}

  2. Ignoring parentheses. Parentheses override all other rules. Always resolve them first.

  3. Applying exponents to a sum without parentheses. Note the difference:

    3+42=3+16=193 + 4^2 = 3 + 16 = 19 (3+4)2=72=49(3 + 4)^2 = 7^2 = 49

    Without parentheses, only the 4 is squared.

  4. Distributing a negative sign incorrectly. When a subtraction precedes parentheses, be careful:

    10(3+2)=105=510 - (3 + 2) = 10 - 5 = 5

Real-World Application: Electrician — Total Resistance in a Circuit

An electrician is calculating the total resistance in a circuit that has a series section and a parallel section. The formula for total resistance when a 10 ohm resistor is in series with two parallel resistors of 6 ohms and 12 ohms is:

Rtotal=Rseries+R1×R2R1+R2R_{\text{total}} = R_{\text{series}} + \frac{R_1 \times R_2}{R_1 + R_2}

Substituting the values:

Rtotal=10+6×126+12R_{\text{total}} = 10 + \frac{6 \times 12}{6 + 12}

Step 1 — Parentheses (denominator):

10+6×121810 + \frac{6 \times 12}{18}

Step 2 — Multiplication (numerator):

10+721810 + \frac{72}{18}

Step 3 — Division:

10+410 + 4

Step 4 — Addition:

1414

Answer: The total circuit resistance is 14 ohms. Getting the order wrong here could mean selecting the wrong wire gauge or breaker, which is a serious safety issue.

Quick Reference: PEMDAS at a Glance

PriorityOperationsDirection
1stParentheses / BracketsInnermost first
2ndExponents / RootsLeft to right
3rdMultiplication and DivisionLeft to right
4thAddition and SubtractionLeft to right

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Evaluate 5+3×245 + 3 \times 2 - 4

Multiplication first: 3×2=63 \times 2 = 6

5+64=114=75 + 6 - 4 = 11 - 4 = 7

Answer: 7

Problem 2: Evaluate (83)2+6÷2(8 - 3)^2 + 6 \div 2

Parentheses: 83=58 - 3 = 5

Exponent: 52=255^2 = 25

Division: 6÷2=36 \div 2 = 3

25+3=2825 + 3 = 28

Answer: 28

Problem 3: Evaluate 48÷8×248 \div 8 \times 2

Division and multiplication are equal priority — work left to right.

48÷8=648 \div 8 = 6

6×2=126 \times 2 = 12

Answer: 12

Problem 4: Evaluate 7+2×(94)2÷107 + 2 \times (9 - 4)^2 \div 10

Parentheses: 94=59 - 4 = 5

Exponent: 52=255^2 = 25

Multiplication: 2×25=502 \times 25 = 50

Division: 50÷10=550 \div 10 = 5

Addition: 7+5=127 + 5 = 12

Answer: 12

Problem 5: An electrician uses the formula P=I2×RP = I^2 \times R. If I=3I = 3 amps and R=4+8R = 4 + 8 ohms, find PP.

Parentheses (evaluate RR): R=4+8=12R = 4 + 8 = 12

Exponent: I2=32=9I^2 = 3^2 = 9

Multiplication: P=9×12=108P = 9 \times 12 = 108

Answer: 108 watts

Key Takeaways

  • PEMDAS defines the universal order: Parentheses, Exponents, Multiplication/Division (left to right), Addition/Subtraction (left to right)
  • Multiplication and division share the same priority — always work left to right, not multiplication first
  • The same is true for addition and subtraction — left to right
  • Parentheses override everything — when in doubt, use them to make your intent clear
  • In trades like electrical work, applying the correct order of operations is not just a math exercise — it affects safety and code compliance

Return to Arithmetic for more foundational topics.

Last updated: March 28, 2026