Free for your classroom: you may copy, adapt and share worksheets, exercises, texts and graphics with your class without asking (terms (in German)).

Ad-free in class: How it works (in German)

Order of Operations

In which order do you calculate 3 + 4 × 2? The order of operations answers it: parentheses, exponents, multiplication and division, addition and subtraction. Learn PEMDAS and BODMAS, the left-to-right rule, nested brackets and why viral puzzles cause so many arguments.

The order of operations is the rule for which part of a calculation you do first: parentheses, then exponents, then multiplication and division from left to right, then addition and subtraction from left to right. In the US it is remembered as PEMDAS; in the UK and many other countries as BODMAS or BIDMAS. So 3 + 4 × 2 = 3 + 8 = 11, not 14, because the multiplication comes before the addition.

PEMDAS, BODMAS and BIDMAS

All the memory aids describe the same four levels. They differ only in the words used in each country.

Names for the order of operations
AcronymStands forWhere it is used
PEMDASParentheses, Exponents, Multiplication and Division, Addition and SubtractionUnited States (“Please Excuse My Dear Aunt Sally”)
GEMDASGrouping symbols, Exponents, Multiplication and Division, Addition and Subtractionsome US classrooms
BODMASBrackets, Orders (powers and roots), Division and Multiplication, Addition and SubtractionUK, India, Australia and many other countries
BIDMASBrackets, Indices, Division and Multiplication, Addition and SubtractionUK
BEDMASBrackets, Exponents, Division and Multiplication, Addition and SubtractionCanada

It helps to picture the rule as a ladder with four rungs instead of six separate letters:

  1. Grouping: parentheses ( ), brackets [ ], braces { } and the fraction bar.
  2. Exponents (powers) and roots.
  3. Multiplication and division, from left to right.
  4. Addition and subtraction, from left to right.
Anzeige

Why multiplication and division go left to right

The order of letters in PEMDAS suggests that M comes before D and A before S. It does not. Multiplication and division are on the same level, and you do them in the order they appear, from left to right. The same goes for addition and subtraction. BODMAS puts D before M, PEMDAS puts M before D, and both give the same answers precisely because neither letter has priority.

The reason is that division is multiplying by the reciprocal (÷ 4 is × 1/4) and subtraction is adding the opposite (− 4 is + (−4)). Written that way, 24 × 1/4 × 2 = 12 and 10 + (−4) + 3 = 9, and the order no longer matters.

Parentheses and brackets

Grouping symbols override everything else: whatever is inside them is calculated first. When they are nested, start with the innermost pair and work outward. Parentheses ( ) are usually the inner ones, then brackets [ ], then braces { }.

A fraction bar is a grouping symbol too: it works as if the top and the bottom each had parentheses. In (12 + 6)/(2 × 3), find the top (18) and the bottom (6) first, then divide: 18 ÷ 6 = 3. When you type such a fraction into a calculator or spreadsheet, you have to add these parentheses yourself.

Exponents in the order of operations

Exponents come right after grouping, before any multiplication. Compare:

  • 2 + 3² = 2 + 9 = 11, but (2 + 3)² = 5² = 25.
  • 2 × 3² = 2 × 9 = 18, but (2 × 3)² = 6² = 36.
  • −3² = −9, because the exponent belongs only to the 3, but (−3)² = 9.
Anzeige

Solving expressions step by step

  1. Work out everything inside grouping symbols, innermost first (using steps 2 to 4 inside them).
  2. Calculate exponents and roots.
  3. Do multiplication and division from left to right.
  4. Do addition and subtraction from left to right.

Rewrite the whole expression after each step and underline the part you will do next. Doing one operation per line is slower but almost removes mistakes.

Viral problems like 8 ÷ 2(2 + 2)

Puzzles like 8 ÷ 2(2 + 2) go viral because people get two different answers, 16 and 1, and both camps are sure they are right. Here is what is going on.

  • Everyone agrees on the first step: 2 + 2 = 4, so the problem is 8 ÷ 2(4).
  • If the 2 written right before the parentheses means an ordinary “× 2”, the strict PEMDAS rule says left to right: 8 ÷ 2 × 4 = 4 × 4 = 16.
  • Many people, and some textbooks and calculators, treat a number written directly against a parenthesis (implied multiplication) as one unit, like 2x in algebra. Then 2(4) = 8 is done first and 8 ÷ 8 = 1.

Under the strict school rule the answer is 16, and that is what most teachers expect on a test. But the honest answer is that the expression is badly written: careful writers never put ÷ in front of implied multiplication. Write (8 ÷ 2)(2 + 2) if you mean 16, and 8 ÷ [2(2 + 2)] or a fraction with 2(2 + 2) underneath if you mean 1. The older puzzle 6 ÷ 2(1 + 2), which gives 9 or 1, has exactly the same problem.

Not every viral puzzle is ambiguous. In 9 − 3 ÷ 1/3 + 1, the fraction 1/3 is one number, division comes first and 3 ÷ 1/3 = 9, so the expression is 9 − 9 + 1 = 1.

Common mistakes

  • Always multiplying before dividing (or adding before subtracting) because of the order of the letters. 24 ÷ 4 × 2 is 12, not 3.
  • Going strictly left to right and ignoring the levels: 6 + 4 × 5 is 26, not 50.
  • Squaring a negative sign: −2² is −4; only (−2)² is 4.
  • Forgetting that a fraction bar groups. (12 + 6)/(2 × 3) is not 12 + 6 ÷ 2 × 3.
  • Doing two steps at once and losing a sign or a number. Rewrite the expression after each operation.
Anzeige

Practice problems

  1. 6 + 4 × 5
  2. (6 + 4) × 5
  3. 20 − 12 ÷ 4
  4. 36 ÷ 4 × 3
  5. 15 − 6 + 2
  6. 2 × 3² + 1
  7. (2 × 3)² + 1
  8. 4 + 2 × (9 − 3)² ÷ 8
  9. 3 × [10 − (4 + 2)] + 7
  10. (18 + 6)/(3² − 1)
  11. −2² + 10
  12. Add parentheses so that 2 + 3 × 4 + 5 equals 45.
Show answers
  1. 4 × 5 = 20, then 6 + 20 = 26.
  2. 6 + 4 = 10, then 10 × 5 = 50.
  3. 12 ÷ 4 = 3, then 20 − 3 = 17.
  4. Left to right: 36 ÷ 4 = 9, then 9 × 3 = 27.
  5. Left to right: 15 − 6 = 9, then 9 + 2 = 11.
  6. 3² = 9, 2 × 9 = 18, 18 + 1 = 19.
  7. 2 × 3 = 6, 6² = 36, 36 + 1 = 37.
  8. 9 − 3 = 6, 6² = 36, 2 × 36 = 72, 72 ÷ 8 = 9, 4 + 9 = 13.
  9. 4 + 2 = 6, 10 − 6 = 4, 3 × 4 = 12, 12 + 7 = 19.
  10. Top: 24. Bottom: 9 − 1 = 8. 24 ÷ 8 = 3.
  11. 2² = 4, so −2² = −4, and −4 + 10 = 6.
  12. (2 + 3) × (4 + 5) = 5 × 9 = 45.

Frequently asked questions

What does PEMDAS stand for?

Parentheses, Exponents, Multiplication and Division (left to right), Addition and Subtraction (left to right). The US memory aid is “Please Excuse My Dear Aunt Sally.”

What is the difference between PEMDAS and BODMAS?

Only the words. Brackets mean parentheses, Orders mean exponents, and the D before M in BODMAS changes nothing, because multiplication and division are always done from left to right. Both give the same answer to every problem.

Do you multiply or divide first?

Whichever comes first from left to right. 24 ÷ 4 × 2 = 12 (divide first), and 3 × 8 ÷ 4 = 6 (multiply first). See why they go left to right.

What is the answer to 8 ÷ 2(2 + 2)?

With the strict left-to-right rule taught in school, 16. If implied multiplication is done first, 1. The expression is ambiguous, which is why it should be written with extra parentheses. The full explanation shows both readings.

Why do we need an order of operations?

So that everyone reads a written expression the same way. Without the rule, 3 + 4 × 2 could mean 11 or 14. Multiplication comes before addition because it is repeated addition: 3 + 4 × 2 is 3 plus four twos.

Anzeige

Keep learning

Anzeige

Spotted a mistake or have a request? Send us a short message and we will take care of it.

Spotted a mistake or have a request?

Your message about the page “Order of Operations”. We send the page address along automatically.

Please do not include any other personal data. More in our privacy policy (in German).