BODMAS and PEMDAS Example

Evaluate 18 − 12 ÷ 3 × 2 + (4 − 1)² using BODMAS or PEMDAS. Start with the grouped subtraction, then evaluate the exponent. Handle division and multiplication from left to right, then subtraction and addition from left to right. These steps show why the expression equals 19 and where common order-of-operations errors happen.

Evaluate the expression

BODMAS and PEMDAS use the same hierarchy. Division does not automatically come before multiplication, and subtraction does not automatically come before addition; each pair shares a level and is evaluated left to right.

18−12÷3×2+(4−1)218-12\div3\times2+(4-1)^2
Apply precedence, then work left to right within each level
StageExpressionCalculation
Grouping18 − 12 ÷ 3 × 2 + 3²4 − 1 = 3
Exponent18 − 12 ÷ 3 × 2 + 93² = 9
Division and multiplication18 − 8 + 912 ÷ 3 = 4; 4 × 2 = 8
Subtraction and addition1918 − 8 = 10; 10 + 9 = 19

Step-by-step solution

The letters in PEMDAS or BODMAS are memory aids, not a command to give one operation in a same-priority pair automatic precedence.

  1. 1

    Evaluate the parentheses

    First simplify the grouped subtraction.

    4−1=3⟹18−12÷3×2+324-1=3\quad\Longrightarrow\quad18-12\div3\times2+3^2
  2. 2

    Evaluate the exponent

    Square 3 before performing multiplication or division.

    32=9⟹18−12÷3×2+93^2=9\quad\Longrightarrow\quad18-12\div3\times2+9
  3. 3

    Divide and multiply from left to right

    Division and multiplication have equal precedence. Read them left to right: divide 12 by 3, then multiply 4 by 2.

    12÷3×2=4×2=812\div3\times2=4\times2=8
  4. 4

    Subtract and add from left to right

    Subtraction and addition also share a level, so work across the remaining expression from left to right.

    18−8+9=10+9=1918-8+9=10+9=19

ANSWER

The expression equals 19

The crucial step is evaluating division and multiplication from left to right: 12 ÷ 3 × 2 is 8, not 2.

18−12÷3×2+(4−1)2=18−8+9=1918-12\div3\times2+(4-1)^2=18-8+9=19

Check the order

Keep the same operations grouped to see why changing their order changes the result.

(18−8)+9=10+9=19(18-8)+9=10+9=19