Pre Algebra

Order of Operations (PEMDAS)

Last updated: March 2026 · Beginner
Before you start

You should be comfortable with:

Real-world applications
Electrical

Voltage drop, wire sizing, load balancing

💊
Nursing

Medication dosages, IV drip rates, vital monitoring

The order of operations is a set of rules that tells you which calculations to perform first in a math expression. Without these rules, the same expression could produce different answers depending on the order you choose. The standard acronym is PEMDAS (in the US) or BODMAS (in the UK), and every math, science, and trade formula depends on following it correctly.

The PEMDAS Rules

StepLetterOperationExample
1PParentheses (grouping symbols)(3+5)(3 + 5)
2EExponents (powers and roots)424^2, 9\sqrt{9}
3M/DMultiplication and Division (left to right)6×36 \times 3, 12÷412 \div 4
4A/SAddition and Subtraction (left to right)7+27 + 2, 10310 - 3

Critical detail: Multiplication and division have equal priority — you work left to right. The same applies to addition and subtraction. PEMDAS does not mean multiplication always comes before division.

Step-by-Step Examples

Example 1: Basic PEMDAS

Evaluate 3+4×23 + 4 \times 2.

Step 1: No parentheses. No exponents.

Step 2: Multiplication before addition: 4×2=84 \times 2 = 8.

Step 3: Addition: 3+8=113 + 8 = 11.

Answer: 1111

Common wrong answer: 1414 (if you add first: (3+4)×2=14(3 + 4) \times 2 = 14). Without parentheses, multiplication comes first.

Example 2: Parentheses Change Everything

Evaluate (3+4)×2(3 + 4) \times 2.

Step 1: Parentheses first: 3+4=73 + 4 = 7.

Step 2: Multiply: 7×2=147 \times 2 = 14.

Answer: 1414

Example 3: Exponents in the Mix

Evaluate 5+23×35 + 2^3 \times 3.

Step 1: No parentheses.

Step 2: Exponents: 23=82^3 = 8.

Step 3: Multiplication: 8×3=248 \times 3 = 24.

Step 4: Addition: 5+24=295 + 24 = 29.

Answer: 2929

Example 4: Left-to-Right Rule for Division and Multiplication

Evaluate 24÷6×224 \div 6 \times 2.

Both division and multiplication have equal priority, so go left to right.

Step 1: 24÷6=424 \div 6 = 4.

Step 2: 4×2=84 \times 2 = 8.

Answer: 88

Common wrong answer: 22 (if you multiply first: 24÷12=224 \div 12 = 2). Always go left to right when operations have equal priority.

Example 5: Left-to-Right Rule for Addition and Subtraction

Evaluate 157+315 - 7 + 3.

Step 1: 157=815 - 7 = 8.

Step 2: 8+3=118 + 3 = 11.

Answer: 1111

Example 6: Complex Expression

Evaluate 2×(6+3)210÷52 \times (6 + 3)^2 - 10 \div 5.

Step 1 — Parentheses: 6+3=96 + 3 = 9.

The expression becomes 2×9210÷52 \times 9^2 - 10 \div 5.

Step 2 — Exponents: 92=819^2 = 81.

The expression becomes 2×8110÷52 \times 81 - 10 \div 5.

Step 3 — Multiplication and Division (left to right):

2×81=1622 \times 81 = 162

10÷5=210 \div 5 = 2

The expression becomes 1622162 - 2.

Step 4 — Subtraction: 1622=160162 - 2 = 160.

Answer: 160160

Nested Grouping Symbols

Sometimes parentheses contain other parentheses, or expressions use brackets [][\,] and braces {}\{\,\} for clarity. Always work from the innermost grouping outward.

Example 7: Nested Parentheses

Evaluate 3×[2+(4+1)2]3 \times [2 + (4 + 1)^2].

Step 1 — Inner parentheses: 4+1=54 + 1 = 5.

The expression becomes 3×[2+52]3 \times [2 + 5^2].

Step 2 — Exponent inside brackets: 52=255^2 = 25.

The expression becomes 3×[2+25]3 \times [2 + 25].

Step 3 — Brackets: 2+25=272 + 25 = 27.

The expression becomes 3×273 \times 27.

Step 4 — Multiply: 3×27=813 \times 27 = 81.

Answer: 8181

Fraction Bars as Grouping Symbols

A fraction bar acts like a giant set of parentheses — it groups the entire numerator and the entire denominator.

8+43means(8+4)÷3\frac{8 + 4}{3} \quad \text{means} \quad (8 + 4) \div 3

Example 8: Fraction Bar

Evaluate 10+622\frac{10 + 6}{2^2}.

Step 1 — Numerator: 10+6=1610 + 6 = 16.

Step 2 — Denominator: 22=42^2 = 4.

Step 3 — Divide: 164=4\frac{16}{4} = 4.

Answer: 44

Example 9: More Complex Fraction Bar

Evaluate 32+72×(1+3)\frac{3^2 + 7}{2 \times (1 + 3)}.

Numerator: 32+7=9+7=163^2 + 7 = 9 + 7 = 16.

Denominator: 2×(1+3)=2×4=82 \times (1 + 3) = 2 \times 4 = 8.

168=2\frac{16}{8} = 2

Answer: 22

Real-World Application: Electrician — Total Resistance

An electrician calculates the total resistance in a circuit with resistors in both series and parallel. The formula might look like:

Rtotal=10+1120+130R_{\text{total}} = 10 + \frac{1}{\frac{1}{20} + \frac{1}{30}}

Step 1 — Inner fractions: 120=0.05\frac{1}{20} = 0.05 and 1300.0333\frac{1}{30} \approx 0.0333.

Step 2 — Add the fractions: 0.05+0.0333=0.08330.05 + 0.0333 = 0.0833.

Step 3 — Divide: 10.083312\frac{1}{0.0833} \approx 12.

Step 4 — Add the series resistance: 10+12=2210 + 12 = 22 ohms.

Answer: The total resistance is 22 ohms. Without following the order of operations, the electrician could calculate the wrong resistance and size the circuit breaker incorrectly.

Real-World Application: Nursing — Dosage Calculation

A nurse uses this formula to calculate an IV flow rate in drops per minute:

Rate=Volume (mL)×Drop factor (drops/mL)Time (minutes)\text{Rate} = \frac{\text{Volume (mL)} \times \text{Drop factor (drops/mL)}}{\text{Time (minutes)}}

For 500 mL of fluid with a 15 drops/mL set over 240 minutes:

Rate=500×15240=7,500240=31.25 drops/min\text{Rate} = \frac{500 \times 15}{240} = \frac{7{,}500}{240} = 31.25 \text{ drops/min}

In practice, a nurse would round to 31 drops per minute since partial drops cannot be delivered.

The fraction bar groups the numerator and denominator separately — you must evaluate the entire numerator and denominator before dividing.

Common Mistakes to Avoid

  1. Thinking M always comes before D. Multiplication and division are equal — go left to right. 8÷2×4=168 \div 2 \times 4 = 16, not 11.

  2. Thinking A always comes before S. Same rule: left to right. 103+2=910 - 3 + 2 = 9, not 55.

  3. Ignoring the fraction bar as a grouping symbol. 6+24\frac{6 + 2}{4} is 84=2\frac{8}{4} = 2, not 6+24=6.56 + \frac{2}{4} = 6.5.

  4. Forgetting exponents before multiplication. 2×322 \times 3^2 is 2×9=182 \times 9 = 18, not 62=366^2 = 36.

  5. Not working inside-out with nested grouping. Always start with the innermost parentheses.

Practice Problems

Problem 1: Evaluate 8+2×58 + 2 \times 5.

Multiply first: 2×5=102 \times 5 = 10.

Then add: 8+10=188 + 10 = 18.

Answer: 1818

Problem 2: Evaluate 36÷6×336 \div 6 \times 3.

Left to right: 36÷6=636 \div 6 = 6.

6×3=186 \times 3 = 18.

Answer: 1818

Problem 3: Evaluate (7+3)24×5(7 + 3)^2 - 4 \times 5.

Parentheses: 7+3=107 + 3 = 10.

Exponent: 102=10010^2 = 100.

Multiply: 4×5=204 \times 5 = 20.

Subtract: 10020=80100 - 20 = 80.

Answer: 8080

Problem 4: Evaluate 2083+23\frac{20 - 8}{3} + 2^3.

Numerator: 208=1220 - 8 = 12.

Fraction: 123=4\frac{12}{3} = 4.

Exponent: 23=82^3 = 8.

Add: 4+8=124 + 8 = 12.

Answer: 1212

Problem 5: Evaluate 4×[3+(221)]4 \times [3 + (2^2 - 1)].

Inner parentheses: 221=41=32^2 - 1 = 4 - 1 = 3.

Brackets: 3+3=63 + 3 = 6.

Multiply: 4×6=244 \times 6 = 24.

Answer: 2424

Problem 6: Evaluate 503×(2+4)2÷950 - 3 \times (2 + 4)^2 \div 9.

Parentheses: 2+4=62 + 4 = 6.

Exponent: 62=366^2 = 36.

Multiplication: 3×36=1083 \times 36 = 108.

Division: 108÷9=12108 \div 9 = 12.

Subtraction: 5012=3850 - 12 = 38.

Answer: 3838

Key Takeaways

  • PEMDAS dictates the order: Parentheses, Exponents, Multiplication/Division (left to right), Addition/Subtraction (left to right).
  • Multiplication and division have equal priority — always work left to right.
  • Addition and subtraction have equal priority — always work left to right.
  • Fraction bars are grouping symbols — compute numerator and denominator separately before dividing.
  • For nested grouping, work from the innermost set outward.
  • Correctly applying the order of operations is essential in every trade formula.

Return to Pre-Algebra for more topics in this section.

Last updated: March 29, 2026