The order of operations is the rule for which part of a math expression to work out first: Parentheses, Exponents, Multiplication and Division (from left to right), then Addition and Subtraction (from left to right). The memory word is PEMDAS. For example, 3 + 4 × 2 = 3 + 8 = 11, not 14. Type any expression below to see every step.
Order of operations solver
In short
- Parentheses, Exponents, Multiply/Divide, Add/Subtract.
- M and D are a team: do whichever comes first from the left. Same for A and S.
- "Please Excuse My Dear Aunt Sally" helps you remember the letters.
- Grade 5 uses parentheses, brackets and braces (5.OA.A.1); exponents come in grade 6 (6.EE.A.2c).
PEMDAS chart
| Step | What to do | Example |
|---|---|---|
| 1. P | Parentheses ( ), brackets [ ] and braces { }, inside out | (2 + 3) × 4 = 5 × 4 |
| 2. E | Exponents | 2 + 3² = 2 + 9 |
| 3. M D | Multiply or divide, left to right | 12 ÷ 3 × 2 = 4 × 2 = 8 |
| 4. A S | Add or subtract, left to right | 10 − 4 + 3 = 6 + 3 = 9 |
Worked examples
| Expression | Steps | Answer |
|---|---|---|
| 8 + 6 ÷ 2 | 6 ÷ 2 = 3, then 8 + 3 | 11 |
| 20 − 3 × 4 + 1 | 3 × 4 = 12, 20 − 12 = 8, 8 + 1 | 9 |
| (5 + 3) × 2² | 5 + 3 = 8, 2² = 4, 8 × 4 | 32 |
| [12 − (4 + 2)] ÷ 3 | 4 + 2 = 6, 12 − 6 = 6, 6 ÷ 3 | 2 |
PEMDAS, BODMAS and GEMDAS
They are the same rule with different words. In the UK, BODMAS stands for Brackets, Orders, Division/Multiplication, Addition/Subtraction. GEMDAS says Grouping symbols instead of parentheses. All of them give the same answer.
Order of operations worksheets
Five free PDFs for grades 4 to 6, each worksheet with an answer key.
- PEMDAS Chart (Reference). Parentheses, exponents, multiply/divide, add/subtract.
- Order of Operations Practice (Grades 4-5). Sixteen expressions: multiply before you add.
- With Parentheses and Brackets (Grade 5). Fourteen grouped expressions (5.OA.A.1).
- With Exponents (Grade 6). Fourteen expressions with squares and cubes (6.EE.A.2c).
- Write the Expression (Grade 5). Eight sentences to write as expressions (5.OA.A.2).
Common mistakes
- Always multiplying before dividing: 18 ÷ 3 × 2 is 12, not 3. Go left to right.
- Always adding before subtracting: 10 − 4 + 3 is 9, not 3.
- Working left to right with no rules: 3 + 4 × 2 is 11, not 14.
- Treating 2² as 2 × 2 = 4 but 3² as 6: an exponent is repeated multiplication, 3 × 3 = 9.
What the Common Core says
| Grade | Standard | What it says |
|---|---|---|
| 5 | 5.OA.A.1 | Use parentheses, brackets, or braces in numerical expressions, and evaluate expressions with these symbols. |
| 5 | 5.OA.A.2 | Write simple expressions that record calculations with numbers, and interpret numerical expressions without evaluating them. For example, express the calculation "add 8 and 7, then multiply by 2" as 2 × (8 + 7). Recognize that 3 × (18932 + 921) is three times as large as 18932 + 921, without having to calculate the indicated sum or product. |
| 6 | 6.EE.A.2c | Evaluate expressions at specific values of their variables. Include expressions that arise from formulas used in real-world problems. 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). |
Next step
Practice the division step with a calculator that shows its work.
Sources
- Common Core State Standards, Grade 5: Operations and Algebraic Thinking
- Common Core State Standards, Grade 6: Expressions and Equations
Last updated: November 2026. Written by Stefan, Worksheets Without Limits.





