🎉 Launch offer — save 30% on every plan, locked in for early families. See plans →

PEMDAS: Definition, Method and Examples

MathPublished

PEMDAS: Order of Operations Definition and Examples

PEMDAS is a memory aid for the order of operations. It outlines the correct sequence to follow when evaluating mathematical expressions containing multiple operations.

Following the PEMDAS rule ensures that everyone who solves an expression arrives at the same accurate result, instead of calculating values randomly.

What does PEMDAS mean?

The PEMDAS meaning comes from the six mathematical operations it represents: parentheses, exponents, multiplication, division, addition, subtraction.

These words describe the priority sequence used to evaluate expressions. Operations at the top of the hierarchy must be completed before operations at the bottom. Multiplication and division share the identical priority rank, as do addition and subtraction.

A four-step hierarchy showing P for Parentheses, E for Exponents, M and D for Multiplication and Division on the same level, and A and S for Addition and Subtraction on the same level.

The PEMDAS rule

The PEMDAS rule states that you must evaluate mathematical expressions step by step in a strict, unbreakable order.

  1. Parentheses: Calculate operations inside any brackets and parentheses first. If there are nested parentheses, start with the innermost set.
  2. Exponents: Calculate any exponents and powers, including square roots.
  3. Multiplication and Division: Perform all multiplication and division as they appear from left to right.
  4. Addition and Subtraction: Perform all addition and subtraction as they appear from left to right.

Multiplication and division share the same rank. Addition and subtraction share the same rank.

Why multiplication is not always before division

A common misconception is that multiplication must always be performed before division because the letter M comes before D in the acronym. However, multiplication and division are operations with equal priority.


When both operations appear in the same expression, you must solve them in sequence from left to right. If a division sign comes first, you divide first. Treating multiplication as a strictly higher priority will result in an incorrect calculation.

A flowchart comparing the correct and incorrect ways to calculate 24 divided by 4 times 2. The correct left-to-right path shows 24 divided by 4 equals 6, and 6 times 2 equals 12. The incorrect multiply-first path shows 4 times 2 equals 8, and 24 divided by 8 equals 3.
A parent reviewing their child's subject progress on a laptop
FOR PARENTS

See exactly where your child is strong — and where not

Chapter-by-chapter progress, mastery scores and lesson reports. Request custom worksheets from an academic counsellor.

Why addition is not always before subtraction

Just like multiplication and division, addition and subtraction are equal in rank. The letter A appearing before S does not mean addition always happens first.


When evaluating an expression containing only addition and subtraction, calculate the values from left to right. If you add before subtracting when a subtraction sign appears first, you will calculate the wrong answer.

A flowchart comparing the correct and incorrect ways to calculate 15 minus 5 plus 3. The correct left-to-right path shows 15 minus 5 equals 10, and 10 plus 3 equals 13. The incorrect add-first path shows 5 plus 3 equals 8, and 15 minus 8 equals 7.

PEMDAS versus other acronyms

Different regions use different memory aids, but they all describe the identical mathematical rules.


In the United States, PEMDAS is standard. In other countries, students might learn BODMAS and BIDMAS or BEDMAS. The acronyms change because different terms are used for the same mathematical structures, such as "brackets" instead of "parentheses" or "indices" instead of "exponents."

Acronym

Level 1

Level 2

Level 3

Level 4

PEMDAS

Parentheses

Exponents

Multiplication &\& Division

Addition &\& Subtraction

BODMAS

Brackets

Order

Division &\& Multiplication

Addition &\& Subtraction

BIDMAS

Brackets

Indices

Division &\& Multiplication

Addition &\& Subtraction

Worked examples

Here are step-by-step PEMDAS examples demonstrating how to evaluate complex expressions efficiently.

Example 1: Using operations without parentheses


Question: Evaluate 20−4×3220 - 4 \times 3^2.


Method:

  1. Exponents first. Calculate 323^2 to get 99, leaving 20−4×920 - 4 \times 9.
  2. Multiplication next. Calculate 4×94 \times 9 to get 3636, leaving 20−3620 - 36.
  3. Subtraction last. Calculate 20−3620 - 36.

Answer: −16-16.


Check: Ensure exponents were evaluated before the coefficient 44 was multiplied.


Example 2: Expressions with nested grouping symbols


Question: Evaluate 50÷[(6−4)3+2]50 \div [(6 - 4)^3 + 2].


Method:

  1. Start inside the innermost parentheses. Calculate 6−46 - 4 to get 22, leaving 50÷[23+2]50 \div [2^3 + 2].
  2. Evaluate the exponent inside the brackets. Calculate 232^3 to get 88, leaving 50÷[8+2]50 \div [8 + 2].
  3. Complete the operation inside the brackets. Calculate 8+28 + 2 to get 1010, leaving 50÷1050 \div 10.
  4. Divide. Calculate 50÷1050 \div 10.

Answer: 55.


Check: Reverse the calculation: 5×[(6−4)3+2]=5×[23+2]=5×10=505 \times [(6 - 4)^3 + 2] = 5 \times [2^3 + 2] = 5 \times 10 = 50.


Example 3: Expressions with variables


Question: Evaluate 3x+(x−2)23x + (x - 2)^2 when x=7x = 7.


Method:

  1. Substitute 77 for every xx in the expression to get 3(7)+(7−2)23(7) + (7 - 2)^2.
  2. Parentheses first. Calculate 7−27 - 2 to get 55, leaving 3(7)+(5)23(7) + (5)^2.
  3. Exponents next. Calculate 525^2 to get 2525, leaving 3(7)+253(7) + 25.
  4. Multiplication next. Calculate 3×73 \times 7 to get 2121, leaving 21+2521 + 25.
  5. Addition last. Calculate 21+2521 + 25.

Answer: 4646.


Check: Add the two evaluated components together: 21+25=4621 + 25 = 46.

BUILT AROUND YOUR CHILD

A learning plan shaped by your child, not the class

State-aligned Math plus our own Logic and English curriculum. An adaptive baseline test finds the gaps and fills them.

Common mistakes

Ignoring the left-to-right rule

The most frequent error is treating multiplication and division as strict sequential steps instead of equal partners. Always read multiplication and division from left to right. Do the same for addition and subtraction.


Distributing exponents incorrectly

When an exponent sits outside parentheses, such as (3+4)2(3 + 4)^2, you must complete the addition inside the parentheses first to get 72=497^2 = 49. Do not square the individual terms first, as 32+42=9+16=253^2 + 4^2 = 9 + 16 = 25 violates the order of operations.


Forgetting hidden multiplication

A number placed immediately next to a set of parentheses indicates multiplication. For example, 4(5+2)4(5 + 2) means 4×(5+2)4 \times (5 + 2). The operations inside the parentheses still happen first, but the final step is to multiply the result by 44.

Frequently asked questions

How do you remember PEMDAS?

Many students use mnemonics to recall the acronym. A popular phrase is "Please Excuse My Dear Aunt Sally," where the first letter of each word matches the operations in sequence.


What is GEMS?

GEMS is an alternative memory aid that stands for Groupings, Exponents, Multiplication/Division, and Subtraction/Addition. It functions interchangeably with PEMDAS but groups the equal-priority operations more clearly.


Do you multiply or divide first when using PEMDAS?

You perform whichever operation appears first when reading the mathematical expression from left to right. Because they share equal priority, multiplication does not automatically precede division.

Practice questions

Question

The mathematical expression 5 times the bracketed quantity 12 minus the parenthetical quantity 3 plus 4, with the bracketed quantity squared.

Which operation must be calculated first according to the PEMDAS rule?

  • 5×125 \times 12

  • 12−312 - 3

  • 3+43 + 4

  • (3+4)2(3 + 4)^2

Answer:

3+43 + 4

Question

Evaluate the expression using the PEMDAS rule:

24−12÷3×224 - 12 \div 3 \times 2

  • 88

  • 2222

  • 1616

  • 22

Answer:

1616

Question

A student's step-by-step work. Original: 10 plus 2 times the quantity 5 minus 3 squared. Step 1: 10 plus 2 times 2 squared. Step 2: 10 plus 4 squared. Step 3: 10 plus 16. Step 4: 26.

In which step did the student make their first mistake?

  • Step 1

  • Step 2

  • Step 3

  • Step 4

Answer:

Step 2

Question

A fraction bar acts as a grouping symbol. What is the value of the expression below?

32+74×2 \dfrac{3^2 + 7}{4 \times 2}

  • 88

  • 22

  • 12.512.5

  • 1616

Answer:

22

Question

Which set of parentheses makes the equation true?

5×4−2+3=255 \times 4 - 2 + 3 = 25

  • 5×(4−2)+35 \times (4 - 2) + 3

  • 5×4−(2+3)5 \times 4 - (2 + 3)

  • (5×4)−2+3(5 \times 4) - 2 + 3

  • 5×(4−2+3)5 \times (4 - 2 + 3)

Answer:

5×(4−2+3)5 \times (4 - 2 + 3)

Early access

Join the COPRIMES waitlist

Tell us a little about your child. We'll email you when your spot opens, and early families lock in launch pricing.

Early-access emails only. Unsubscribe anytime.