Last Updated: November 16, 2026
PEMDAS Explained: The Order of Operations, With 20 Practice Questions

Short answer: PEMDAS is the order you work through a math expression: Parentheses first, then Exponents, then Multiplication and Division, then Addition and Subtraction. The trap is in the letters. Multiplication and division share one rank, and you do them in the order they appear, from left to right. Addition and subtraction work the same way. So 24 ÷ 6 × 2 is 8, not 2. Canadian classrooms teach the same rule as BEDMAS, with Brackets in place of Parentheses.
| Step | What you do | PEMDAS | BEDMAS |
|---|---|---|---|
| 1 | Work out anything inside grouping symbols, innermost first | P (Parentheses) | B (Brackets) |
| 2 | Work out powers | E (Exponents) | E (Exponents) |
| 3 | Multiply and divide, left to right | M and D | D and M |
| 4 | Add and subtract, left to right | A and S | A and S |
One line shows the rule that most mistakes break: 24 ÷ 6 × 2 = 4 × 2 = 8. Divide first here because the division comes first, reading left to right. Doing the multiplication first (24 ÷ 12 = 2) is the classic mistake.
Every rule on this page was checked on 16 November 2026 against the Common Core State Standards, the Ontario Grades 1 to 8 math curriculum and university course material. The sources are listed at the end. The 20 practice questions are original and were written for this article.
On 16 November 2026, five of the top nine Google results for PEMDAS were Math is Fun, Wikipedia, Purplemath, Prodigy and Third Space Learning (positions 1, 2, 3, 8 and 9; the rest were videos and other sites). All five give the order and worked examples and state the left-to-right rule, and three of them (Purplemath, Prodigy and Third Space Learning) show with a worked example that multiplication does not always come before division. None of the five cites Ontario's curriculum, and none gives a parent a way to check what their child actually understands. Third Space Learning ends with six multiple-choice questions; the other four have no practice set. This page has 20 questions, and every answer shows the working.
What PEMDAS stands for, and the trap in the letters
PEMDAS is a memory aid for the US classroom. Many students learn it as "Please Excuse My Dear Aunt Sally". Each letter is an operation:
- P, Parentheses. Anything inside ( ), [ ] or { } is worked out first.
- E, Exponents. Powers, such as 3² or 2³.
- M and D, Multiplication and Division.
- A and S, Addition and Subtraction.
The six letters suggest six steps. There are four. Multiplication and division are one step, and addition and subtraction are another. The University of Utah's math department puts the rule in one line: "In the case of operations of the same level of precedence, evaluation proceeds from left to right." Its own example is 12 ÷ 2 × 3, which is 6 × 3 = 18.
Portland Community College's algebra text names the trap directly: "While the acronym PEMDAS may mislead you to do addition before subtraction, remember that these operations have the same priority". So 10 − 4 + 3 is 6 + 3 = 9. Adding first gives 10 − 7 = 3, which is wrong.
Does Canada use BEDMAS or PEMDAS?
Canada mostly says BEDMAS. Ontario's math curriculum uses it by name. Its glossary defines the order of operations as "A convention or rule used to simplify expressions. The acronym BEDMAS is often used to describe the order", and it lists the middle step as "division or multiplication, whichever comes first".
BEDMAS stands for Brackets, Exponents, Division, Multiplication, Addition, Subtraction. The B is the P under a different name, since Canadian classrooms say brackets where American ones say parentheses. The D and M swap places, which shows the letter order was never the point. Ontario's phrase "whichever comes first" is the same left-to-right rule.
Another name for the same rule is BODMAS, where the O stands for Orders, another name for exponents.
A family that moves between the US and Canada does not need to relearn anything. The rule is the same; only the letters change.
A worked example, step by step
Here is one expression worked from start to finish:
18 − 2 × (1 + 3)² ÷ 4
1. Brackets. 1 + 3 = 4. The expression is now 18 − 2 × 4² ÷ 4. 2. Exponents. 4² = 16. Now 18 − 2 × 16 ÷ 4. 3. Multiplication and division, left to right. The multiplication comes first: 2 × 16 = 32. Then 32 ÷ 4 = 8. Now 18 − 8. 4. Addition and subtraction, left to right. 18 − 8 = 10.
The answer is 10. Write each line under the one before. It is slower for the first week and it shows exactly where a wrong answer came from.
Brackets inside brackets
When one set of brackets sits inside another, start with the innermost pair. The University of Utah's notes say "you start with the innermost pairs and work your way out." In Question 10 below, the outer pair is square brackets, so the eye can match each pair.
Example: 2 × [3 + (8 − 5)²]
1. Innermost: 8 − 5 = 3. 2. Still inside the square brackets: 3² = 9, then 3 + 9 = 12. 3. Outside: 2 × 12 = 24.
A fraction bar works as a grouping symbol too. In a fraction with 8 + 4 on top and 5 − 2 underneath, the top and the bottom are each worked out before the division: 12 ÷ 3 = 4. Written on one line, that fraction needs brackets: (8 + 4) ÷ (5 − 2).
Exponents and negative numbers
Is −4² equal to 16 or −16? This one is easy to get wrong.
It is −16. The exponent applies only to the number it touches, the 4, and the negative sign comes after. Portland Community College's text explains that exponentiation "has higher priority than the negation, so the exponent of" 2 applies to the 4 before the negative sign is taken into account. So −4² = −(4 × 4) = −16.
To square the negative number itself, put it in brackets: (−4)² = (−4) × (−4) = 16.
The same text includes a warning about raising negative numbers to powers on a calculator. If the question means (−4)², type the brackets.
What is multiplication by juxtaposition? The 6 ÷ 2(1 + 2) argument
Juxtaposition means writing two things side by side with no sign between them, like 2(1 + 2) or 3x. It means multiplication. Ontario's curriculum says so in its note on 4(5): "The operation between 4 and (5) is understood to be multiplication."
That is where the viral question comes from. What is 6 ÷ 2(1 + 2)?
- Reading it with PEMDAS, left to right: the bracket gives 3, so 6 ÷ 2 × 3. Left to right, that is 3 × 3 = 9.
- Reading 2(1 + 2) as one block: some people, and some textbooks, treat multiplication written against a bracket as tighter than an ordinary × sign. Then it is 6 ÷ 6 = 1.
Both readings have support. Plus Magazine, published by the University of Cambridge, says calculating it "is a matter of convention", that 6 ÷ 2(1 + 2) "is not a well-defined expression", and that "there is currently no standard for the convention worldwide." The Math Doctors, a long-running math question service, agrees: "There is no absolute “international standard”." The page also quotes a 2008 algebra textbook, sent in by a reader, that gives multiplication against a bracket a higher priority than the left-to-right rule.
Read strictly by the four steps on this page, the answer is 9. The better lesson for your child is the one the University of Utah gives its own students: "In case of doubt, use parentheses!" Whoever writes 6 ÷ 2(1 + 2) has written something unclear. Writing (6 ÷ 2)(1 + 2) or 6 ÷ (2(1 + 2)) removes the argument.
Is the order of operations a law of math?
No. It is an agreement. Ontario's curriculum calls it "A convention or rule used to simplify expressions." The convention is old, but it was not always settled. The math historian Jeff Miller, writing for the MacTutor archive at the University of St Andrews, notes that "The convention that multiplication precedes addition and subtraction was in use in the earliest books employing symbolic algebra" in the 16th century.
Division and multiplication took longer. Miller quotes Florian Cajori's history of math notation, from 1928 to 1929: "there is at present no agreement as to which sign shall be used first." Today, Miller writes, "Modern textbooks seem to agree that all multiplications and divisions should be performed in order from left to right."
The agreement matters even though it is a convention. Without it, 3 + 4 × 2 could be 14 or 11, and two people could do the same homework and both be right.
A two-minute check at the kitchen table
This check tells you whether your child knows the rule or only the letters. You need a pencil and the back of an envelope. No timer.
1. Write 5 + 3 × 4. The answer is 17. If your child gets 32, they worked left to right without the rule at all; start with the four steps above. A 2024 study in the Journal of Numerical Cognition followed 837 US middle school students working order-of-operations problems in an online math game. On the two problems where the leftmost operation was not the one to do first, such as 8 + 4 × 4 × 8, the researchers report that 15% to 22% of the students went left to right anyway and made a precedence error. The students "made more precedence errors when the leftmost operation was invalid". 2. Write 24 ÷ 6 × 2. The answer is 8. If your child says 2, they multiplied first because M comes before D in PEMDAS. In BEDMAS, D comes first, so a Canadian child can get 8 for the wrong reason. 3. Write 15 − 5 + 2. The answer is 12. If your child says 8, they added first because A comes before S. 4. Then reorder question 2 as 24 × 2 ÷ 6. It is still 8, whichever step comes first, so the answer proves nothing. Ask, "Why did you do that step first?" The explanation is the point. A child who knows the rule says something like "they're the same rank, so I went left to right." A child who only knows the letters points at the acronym.
If questions 2 and 3 went wrong, start with the first set of practice questions below. If only the last question was hard to answer, the calculating is fine and the explaining needs work.
Where the order of operations sits in school
In the US Common Core standards, it builds over three grades:
- Grade 3. A footnote to the 3.OA standards on two-step word problems says "students should know how to perform operations in conventional order when there are no parentheses to specify a particular order (Order of Operations)."
- Grade 5. Standard 5.OA.A.1: "Use parentheses, brackets, or braces in numerical expressions, and evaluate expressions with these symbols." Brackets and braces join parentheses here.
- Grade 6. Standard 6.EE.A.2c names it and adds exponents: "Perform arithmetic operations, including those involving whole-number exponents, in the conventional order when there are no parentheses to specify a particular order (Order of Operations)."
The words PEMDAS and "Please Excuse My Dear Aunt Sally" do not appear in the standards. They are classroom memory aids.
In Ontario, the 2020 Grades 1 to 8 math curriculum builds it over four grades:
- Grade 5. The teacher notes for evaluating algebraic expressions (expectation C2.2) say calculations "are performed based on the order of operations."
- Grade 6. The teacher notes for expectation B2.1 spell out the rule with brackets, multiplication and division, and addition and subtraction: "Multiplication and division are done in the order they appear in the expression from left to right." Exponents are not in the Grade 6 version.
- Grade 7. Expectation B2.1 names it: students "use the properties and order of operations" to solve problems with fractions, decimals, ratios, rates and percents. The teacher notes add exponents as the second step.
- Grade 8. Expectation B2.1 carries it into rational numbers, which include negatives.
So the order-of-operations teacher notes add exponents in Grade 7, and the Grade 8 expectation extends the rule to rational numbers, which include negatives. That is where questions 15 to 20 below are aimed. For the rest of the Grade 8 year, see our guide to Grade 8 math in Ontario.
Practice questions
Twenty original questions in three sets. Work them on paper with no calculator, and write one line for each step. The answers and the working are in the next section.
The four steps: questions 1 to 7
Question 1. 3 + 4 × 2
Question 2. (3 + 4) × 2
Question 3. 20 − 8 ÷ 4
Question 4. 18 ÷ 3 × 2
Question 5. 10 − 4 + 3
Question 6. 2 + 3²
Question 7. 5 × (6 − 2) − 3
Exponents and nested brackets: questions 8 to 14
Question 8. 4² − 3 × 5
Question 9. 36 ÷ (2 + 4) × 3
Question 10. 2 × [3 + (8 − 5)²]
Question 11. (12 − 4) ÷ 2³ + 6
Question 12. 50 − 2 × 3² + 4
Question 13. A fraction has 8 + 4 on top and 5 − 2 underneath. What is its value?
Question 14. 3 + 6 × (5 + 4) ÷ 3 − 7
Negatives and mistakes: questions 15 to 20
Question 15. −3²
Question 16. (−3)²
Question 17. −2 × (4 − 7)²
Question 18. 8 − (−2) × 3
Question 19. A student works out 30 ÷ 5 × 3 and writes 30 ÷ 15 = 2. What went wrong, and what is the right answer?
Question 20. Add one pair of brackets to 2 + 3 × 4 − 1 so that it equals 19.
Answer key, with the working
Question 1. Answer: 11. Multiplication before addition: 4 × 2 = 8, then 3 + 8 = 11.
Question 2. Answer: 14. The brackets come first: 3 + 4 = 7, then 7 × 2 = 14. Compare with Question 1. The brackets changed the answer.
Question 3. Answer: 18. Division before subtraction: 8 ÷ 4 = 2, then 20 − 2 = 18.
Question 4. Answer: 12. Division and multiplication share a rank, so go left to right. The division comes first: 18 ÷ 3 = 6, then 6 × 2 = 12. Multiplying first gives 18 ÷ 6 = 3, which is wrong.
Question 5. Answer: 9. Subtraction and addition share a rank, so go left to right: 10 − 4 = 6, then 6 + 3 = 9.
Question 6. Answer: 11. The exponent first: 3² = 9, then 2 + 9 = 11. Adding first gives 5² = 25, which is wrong.
Question 7. Answer: 17. Brackets: 6 − 2 = 4. Multiply: 5 × 4 = 20. Subtract: 20 − 3 = 17.
Question 8. Answer: 1. Exponent: 4² = 16. Multiply: 3 × 5 = 15. Subtract: 16 − 15 = 1.
Question 9. Answer: 18. Brackets: 2 + 4 = 6. Then left to right: 36 ÷ 6 = 6, and 6 × 3 = 18.
Question 10. Answer: 24. Innermost first: 8 − 5 = 3. Inside the square brackets: 3² = 9, then 3 + 9 = 12. Outside: 2 × 12 = 24.
Question 11. Answer: 7. Brackets: 12 − 4 = 8. Exponent: 2³ = 8. Divide: 8 ÷ 8 = 1. Add: 1 + 6 = 7.
Question 12. Answer: 36. Exponent: 3² = 9. Multiply: 2 × 9 = 18. Then left to right: 50 − 18 = 32, and 32 + 4 = 36.
Question 13. Answer: 4. The fraction bar groups the top and the bottom. Top: 8 + 4 = 12. Bottom: 5 − 2 = 3. Divide: 12 ÷ 3 = 4.
Question 14. Answer: 14. Brackets: 5 + 4 = 9. Then multiplication and division, left to right: 6 × 9 = 54, and 54 ÷ 3 = 18. Then addition and subtraction, left to right: 3 + 18 = 21, and 21 − 7 = 14.
Question 15. Answer: −9. The exponent applies only to the 3: 3² = 9. The negative sign comes after, so the answer is −9.
Question 16. Answer: 9. The brackets put the negative inside the power: (−3) × (−3) = 9. Compare with Question 15.
Question 17. Answer: −18. Brackets: 4 − 7 = −3. Exponent: (−3)² = 9. Multiply: −2 × 9 = −18.
Question 18. Answer: 14. Multiplication before subtraction: (−2) × 3 = −6. Then 8 − (−6) = 8 + 6 = 14.
Question 19. Answer: 18. The student multiplied first because M comes before D in PEMDAS. Division and multiplication share a rank, so work left to right: 30 ÷ 5 = 6, then 6 × 3 = 18.
Question 20. Answer: (2 + 3) × 4 − 1. With no brackets, the expression is 2 + 12 − 1 = 13. Bracketing 2 + 3 makes the addition come first: 5 × 4 = 20, then 20 − 1 = 19.
Where to look next
Questions 1 to 7. These test the four steps and the left-to-right rule. If Questions 4 or 5 went wrong, reread the section on the trap in the letters and try the kitchen-table check again.
Questions 8 to 14. These add exponents, nested brackets and the fraction bar. If Questions 10 or 13 went wrong, revisit the section on brackets inside brackets.
Questions 15 to 20. These test exponents with negative numbers and catching a mistake. If Questions 15 to 17 went wrong, reread the section on exponents and negative numbers. For more practice with numbers and operations, Genie's multiplication and times tables quiz and EQAO Grade 6 practice test are good next steps. If the worry is bigger than the math, our guide to math anxiety in children helps you tell the two apart.
PEMDAS and BEDMAS describe one rule with four steps: grouping symbols, exponents, multiplication and division, then addition and subtraction. The steps with two operations go left to right, whatever order the letters suggest. Run the two-minute check with 24 ÷ 6 × 2 and 15 − 5 + 2, then use the 20 questions to find the step that goes wrong: the left-to-right rule, the exponent or the bracket.
Twenty questions with worked answers show exactly where the working goes wrong: the left-to-right step, the exponent or the bracket. A certified math teacher can read a student's working and teach the step that needs it.
Related reading: Grade 8 math in Ontario: where the order of operations meets rational numbers →
- Common Core State Standards, Grade 3 Operations and Algebraic Thinking
- Common Core State Standards, Grade 5 Operations and Algebraic Thinking
- Common Core State Standards, Grade 6 Expressions and Equations
- Ontario Ministry of Education, The Ontario Curriculum, Grades 1 to 8: Mathematics, 2020 (PDF, January 2021)
- University of Utah, Department of Mathematics, Math 1010 online: Arithmetic Precedence
- Portland Community College, ORCCA: Order of Operations
- Jeff Miller, Earliest Uses of Symbols of Operation, MacTutor, University of St Andrews
- David Linkletter, The PEMDAS Paradox, Plus Magazine, University of Cambridge (17 June 2019)
- The Math Doctors, Implied Multiplication 2: Is There a Standard?
- Bye and others, Perceiving Precedence, Journal of Numerical Cognition (2024)
Free discovery session
Meet the teacher first. Pay only if it clicks.
No card needed
- 01Pick a teacherFilter by subject and grade. Look for the green “Free discovery session” badge.
- 02Meet for 30 minutesShare your child’s goals. See how the teacher explains a problem.
- 03Book only if it fitsBook lessons with that teacher, or meet another one for free.
FAQ
Is BEDMAS the same as PEMDAS?
Is BEDMAS the same as PEMDAS?
Canada mostly uses BEDMAS. Ontario's math curriculum names it in its glossary and lists the middle step as division or multiplication, whichever comes first. PEMDAS is the usual US name. The rule is the same; Brackets replaces Parentheses, and the D and M swap places in the word.
Is multiplication always done before division?
Is multiplication always done before division?
No. Multiplication and division share one rank, and you do them in the order they appear, from left to right. So 24 ÷ 6 × 2 is 4 × 2 = 8. Addition and subtraction work the same way: 15 − 5 + 2 is 10 + 2 = 12.
What is the answer to 6 ÷ 2(1 + 2)?
What is the answer to 6 ÷ 2(1 + 2)?
Read strictly by the PEMDAS steps, left to right, it is 6 ÷ 2 × 3 = 9. Some people and some textbooks treat 2(1 + 2) as one block, which gives 1. Plus Magazine, published by the University of Cambridge, calls it a matter of convention with no worldwide standard. Writing extra brackets removes the argument.
Is −3² the same as (−3)²?
Is −3² the same as (−3)²?
No. In −3² the exponent applies only to the 3, so the answer is −9. In (−3)² the brackets put the negative inside the power, so the answer is (−3) × (−3) = 9. The exponent applies to what it touches, so a bracket decides whether the negative sign is squared too.
What grade learns the order of operations?
What grade learns the order of operations?
In the US Common Core standards, Grade 6 standard 6.EE.A.2c names it, after grouping symbols in Grade 5 and a footnote in Grade 3. In Ontario, the teacher notes cover it in Grades 5 and 6, and the Grade 7 and Grade 8 expectations name it, with exponents added in Grade 7.
Why do we need an order of operations?
Why do we need an order of operations?
It is an agreement, not a law of math, and it lets everyone read an expression the same way. Without it, 3 + 4 × 2 could be 14 or 11. Ontario's curriculum calls it a convention or rule used to simplify expressions.
Is the first session with a Genie teacher really free?
Is the first session with a Genie teacher really free?
Yes, with teachers who show the green “Free discovery session” badge. Your first 30-minute discovery session with each of those teachers is free, as long as you have not had a lesson with them yet. No card is needed to book it. Teachers can choose not to offer it, so not every profile has the badge.
