2.3 Order of Operations (PEMDAS) & Multi-Step Calculations

Key Takeaways

  • The PEMDAS hierarchy strictly governs multi-step expressions: Parentheses/grouping symbols, Exponents/radicals, Multiplication and Division (left-to-right), and Addition and Subtraction (left-to-right).

  • Multiplication does not possess intrinsic priority over division, nor does addition over subtraction; operations sharing a tier must always be evaluated strictly from left to right.

  • Horizontal fraction bars serve as implicit grouping symbols, requiring independent and complete evaluation of the entire numerator and denominator prior to executing division.

  • Nested grouping symbols (parentheses within brackets within braces) must be resolved sequentially from the innermost layer outward.

  • Clinical dosage formulas—such as pediatric body surface area dosing, reconstitution rates, and drop-rate equations—rely on rigorous order of operations execution to avert medication dosing errors.

Last updated: October 2026

Order of Operations (PEMDAS) & Multi-Step Calculations

When calculating drug dosages, patient fluid requirements, or pediatric body surface areas, clinical accuracy requires consistent, unambiguous mathematical evaluation. Consider the simple clinical expression 4+6×24 + 6 \times 2. If evaluated strictly left to right, one might compute 4+6=104 + 6 = 10, then 10×2=2010 \times 2 = 20. However, following universal mathematical law, multiplication takes precedence over addition: 6×2=126 \times 2 = 12, then 4+12=164 + 12 = 16. In a medication order where units correspond to milligrams or milliliters, a discrepancy between 20 and 16 represents a 25% dosing error—sufficient to cause therapeutic failure or severe toxicity. The Order of Operations provides the definitive rules that guarantee every clinician and mathematician reaches the exact same numerical result from any mathematical expression.


1. The PEMDAS Hierarchy Demystified

The acronym PEMDAS serves as the universal mnemonic for the operational hierarchy:

  1. P — Parentheses and all grouping symbols: ()( ), brackets [][ ], braces {}\{ \}, and absolute value bars ∣∣| |.
  2. E — Exponents, powers (for example, x2,x3x^2, x^3), and radicals/roots (for example, x,x3\sqrt{x}, \sqrt[3]{x}).
  3. MD — Multiplication and Division, evaluated strictly from left to right in the order they appear.
  4. AS — Addition and Subtraction, evaluated strictly from left to right in the order they appear.

Note

It is vital to recognize that PEMDAS is not a six-step sequence. It is a four-tier hierarchy. Multiplication does not outrank division, and addition does not outrank subtraction. Multiplication and division share equal rank on Tier 3; addition and subtraction share equal rank on Tier 4. Within each tier, the leftmost operation must always be performed first.


2. The Equal-Precedence Traps: MD and AS Left-to-Right

A frequent order-of-operations error occurs when students misinterpret the acronym PEMDAS literally, erroneously performing multiplication before division or addition before subtraction regardless of their sequence in the expression.

The Multiplication vs. Division Trap

Consider the expression: 48÷6×248 \div 6 \times 2

  • Incorrect Path (Assuming "M before D"): 48÷(6×2)=48÷12=4[INCORRECT]48 \div (6 \times 2) = 48 \div 12 = 4 \quad \text{[INCORRECT]}
  • Correct Path (Left-to-Right Evaluation): (48÷6)×2=8×2=16[CORRECT](48 \div 6) \times 2 = 8 \times 2 = 16 \quad \text{[CORRECT]}

Because division appears to the left of multiplication, division must be performed first. The incorrect path produces an answer that is four times too small.

The Addition vs. Subtraction Trap

Consider the expression: 20−7+520 - 7 + 5

  • Incorrect Path (Assuming "A before S"): 20−(7+5)=20−12=8[INCORRECT]20 - (7 + 5) = 20 - 12 = 8 \quad \text{[INCORRECT]}
  • Correct Path (Left-to-Right Evaluation): (20−7)+5=13+5=18[CORRECT](20 - 7) + 5 = 13 + 5 = 18 \quad \text{[CORRECT]}

Because subtraction appears to the left of addition, subtraction must be evaluated first. Adding 7+57 + 5 first improperly applies subtraction to the 5, inverting its operational sign.

Warning

Multiple-choice distractors are often built from predictable mistakes like these, so finding your number among the options does not prove it is right. Check the order of operations before you commit to an answer.


3. Resolving Nested Grouping Symbols

When mathematical expressions contain multiple layers of grouping symbols, evaluate them from the innermost layer outward.

Standard convention uses three nesting levels:

  1. Inner layer: Parentheses ()( )
  2. Middle layer: Brackets [][ ]
  3. Outer layer: Braces {}\{ \}

Worked Example: Step-by-Step Nested Resolution

Problem: Evaluate 6+3×[40−2×(15−32)]6 + 3 \times [ 40 - 2 \times (15 - 3^2) ].

Step 1: Innermost Grouping (15−32)(15 - 3^2) Inside the parentheses, evaluate the exponent first, followed by subtraction: 32=9  ⟹  (15−9)=63^2 = 9 \implies (15 - 9) = 6 The expression now simplifies to: 6+3×[40−2×6]6 + 3 \times [ 40 - 2 \times 6 ]

Step 2: Middle Grouping [40−2×6][ 40 - 2 \times 6 ] Inside the brackets, evaluate multiplication before subtraction: 2×6=12  ⟹  [40−12]=282 \times 6 = 12 \implies [ 40 - 12 ] = 28 The expression now simplifies to: 6+3×286 + 3 \times 28

Step 3: Multiplication Before Addition Execute the multiplication before performing the final addition: 3×28=843 \times 28 = 84 Finally: 6+84=906 + 84 = 90


4. Fraction Bars (The Vinculum) as Grouping Symbols

A horizontal fraction bar—technically called a vinculum—serves a dual mathematical function: it indicates division and acts as an implicit grouping symbol for everything above and below it.

A+BC−D≡(A+B)÷(C−D)\frac{A + B}{C - D} \equiv (A + B) \div (C - D)

You must fully evaluate the entire numerator and the entire denominator independently before performing the final division.

Worked Example: Complex Fractional Expression

Problem: Evaluate 4×(9−3)+243×(7−2)−3\frac{4 \times (9 - 3) + 2^4}{3 \times (7 - 2) - 3}.

Step 1: Fully evaluate the numerator 4×(9−3)+244 \times (9 - 3) + 2^4

  • Parentheses: (9−3)=6(9 - 3) = 6
  • Exponent: 24=162^4 = 16
  • Multiplication: 4×6=244 \times 6 = 24
  • Addition: 24+16=4024 + 16 = 40
  • The numerator simplifies to 4040.

Step 2: Fully evaluate the denominator 3×(7−2)−33 \times (7 - 2) - 3

  • Parentheses: (7−2)=5(7 - 2) = 5
  • Multiplication: 3×5=153 \times 5 = 15
  • Subtraction: 15−3=1215 - 3 = 12
  • The denominator simplifies to 1212.

Step 3: Execute division and simplify 4012=103=313≈3.33\frac{40}{12} = \frac{10}{3} = 3\frac{1}{3} \approx 3.33

Tip

When entering multi-step fractions into a basic on-screen calculator on the HESI A2, always calculate and write down the complete numerator on your scratch paper first, then calculate the denominator, and finally divide the two numbers. Never attempt to type the operations as a continuous linear string into a non-scientific calculator.


5. Clinical Dosage Formulas as Multi-Step Expressions

Clinical formulas are real-world applications of PEMDAS. Omitting or misinterpreting grouping symbols in medical formulas directly leads to patient harm.

A. Intravenous Drip Rate Calculation

The universal formula for gravity IV flow rate is:

Flow Rate (gtt/min)=Total Volume (mL)×Drop Factor (gtt/mL)Time (hours)×60 min/hour\text{Flow Rate (gtt/min)} = \frac{\text{Total Volume (mL)} \times \text{Drop Factor (gtt/mL)}}{\text{Time (hours)} \times 60\text{ min/hour}}

Notice the nested grouping in the denominator: the total infusion hours must be multiplied by 6060 before dividing into the numerator product.

Clinical Example: An order calls for 1,000 mL1{,}000\text{ mL} of normal saline to infuse over 8 hours8\text{ hours} using an IV set with a drop factor of 15 gtt/mL15\text{ gtt/mL}. Flow Rate=1,000×158×60=15,000480=31.25≈31 gtt/min\text{Flow Rate} = \frac{1{,}000 \times 15}{8 \times 60} = \frac{15{,}000}{480} = 31.25 \approx 31\text{ gtt/min}

If a student calculates this linearly on a calculator as 1,000×15÷8×601{,}000 \times 15 \div 8 \times 60, the calculator computes (15,000÷8)×60=1,875×60=112,500 gtt/min(15{,}000 \div 8) \times 60 = 1{,}875 \times 60 = 112{,}500\text{ gtt/min}—a catastrophic calculation error caused entirely by violating PEMDAS grouping rules!

B. Temperature Conversions

Converting between Fahrenheit (FF) and Celsius (CC) hinges on proper grouping:

C=59×(F−32)andF=(95×C)+32C = \frac{5}{9} \times (F - 32) \quad \text{and} \quad F = \left(\frac{9}{5} \times C\right) + 32

In converting Fahrenheit to Celsius, the subtraction (F−32)(F - 32) is enclosed in parentheses, mandating that subtraction occur before multiplication by 59\frac{5}{9}. Conversely, converting Celsius to Fahrenheit mandates that multiplication by 95\frac{9}{5} occur before adding 3232.


6. Side-by-Side Comparison: Correct Evaluation vs. Common Traps

Mathematical ExpressionCorrect Evaluation PathCorrect ResultCommon Error PathErroneous Result
18−3×4+218 - 3 \times 4 + 218−12+2=6+2=818 - 12 + 2 = 6 + 2 = 88(18−3)×4+2=15×4+2=62(18 - 3) \times 4 + 2 = 15 \times 4 + 2 = 6262
72÷8×372 \div 8 \times 3(72÷8)×3=9×3=27(72 \div 8) \times 3 = 9 \times 3 = 272772÷(8×3)=72÷24=372 \div (8 \times 3) = 72 \div 24 = 33
5+2×325 + 2 \times 3^25+2×9=5+18=235 + 2 \times 9 = 5 + 18 = 2323(5+2)×32=7×9=63(5 + 2) \times 3^2 = 7 \times 9 = 6363
30−6×23+3\frac{30 - 6 \times 2}{3 + 3}30−126=186=3\frac{30 - 12}{6} = \frac{18}{6} = 3330−12÷3+3=30−4+3=2930 - 12 \div 3 + 3 = 30 - 4 + 3 = 2929
2×[15−(4+1)2÷5]2 \times [15 - (4 + 1)^2 \div 5]2×[15−25÷5]=2×[15−5]=2×10=202 \times [15 - 25 \div 5] = 2 \times [15 - 5] = 2 \times 10 = 20202×[15−25]÷5=2×(−10)÷5=−42 \times [15 - 25] \div 5 = 2 \times (-10) \div 5 = -4-4
Test Your Knowledge

What is the evaluated result of the arithmetic expression 36÷3×(4+2)−5236 \div 3 \times (4 + 2) - 5^2?

A

72

B

-23

C

57

D

47

Test Your Knowledge

Evaluate the expression containing nested grouping symbols: 8+2×[45−(3×23−6)]8 + 2 \times [ 45 - (3 \times 2^3 - 6) ].

A

62

B

42

C

54

D

270

Test Your Knowledge

Evaluate the fractional arithmetic expression: 5×(8+4)−32×423−(14÷7+2)\frac{5 \times (8 + 4) - 3^2 \times 4}{2^3 - (14 \div 7 + 2)}.

A

6

B

12

C

4

D

2

Test Your Knowledge

A nurse must convert a patient's temperature of 104∘F104^\circ\text{F} to Celsius using the standard clinical conversion formula C=(F−32)×5÷9C = (F - 32) \times 5 \div 9. What is the correct temperature in Celsius, and what erroneous value results if the nurse omits parentheses and calculates 104−32×5÷9104 - 32 \times 5 \div 9?

A

Correct: 72°C; Erroneous: 40.0°C

B

Correct: 40°C; Erroneous: approximately 86.2°C

C

Correct: 38.5°C; Erroneous: approximately 42.6°C

D

Correct: 40°C; Erroneous: 36.0°C

Sections you finish are checked off in the contents.