Order of Operations

Definitionnoun phrase

What is the order of operations in math?

The order of operations is the agreed sequence for evaluating an expression: parentheses first, then exponents, then multiplication and division from left to right, then addition and subtraction from left to right. Without it the same expression would have several answers. Many students remember it as PEMDAS.

In Spanish
orden de las operaciones
Also called
PEMDAS, BODMAS, BIDMAS, GEMDAS
Grade level
6-8
Grade 5Grade 6Grade 7Grade 8CCSS 5.OA.A.1CCSS 6.EE.A.2.cGEDSATACT

Order of Operations in a picture

Evaluating 3 + 4 × (6 − 2)² ÷ 8 in orderFive steps simplify 3 + 4 times (6 minus 2) squared divided by 8. P: 6 minus 2 is 4. E: 4 squared is 16. M: 4 times 16 is 64. D: 64 divided by 8 is 8. A: 3 plus 8 is 11.P3 + 4 × (6 − 2)² ÷ 86 − 2 = 4E3 + 4 × 4² ÷ 84² = 16M3 + 4 × 16 ÷ 8left to rightD3 + 64 ÷ 864 ÷ 8 = 8A3 + 83 + 8 = 11= 11value of the expression
One operation at a time, in the agreed order: parentheses, exponents, multiplication and division (left to right), then addition and subtraction (left to right). The green part is what gets simplified in each step.

Formal definition and notation

To evaluate an expression: (1) simplify inside grouping symbols, such as parentheses, brackets, braces, a fraction bar or absolute value bars, working from the innermost group out; (2) evaluate exponents and roots; (3) do all multiplication and division in order from left to right, because the two have equal priority; (4) do all addition and subtraction from left to right, also with equal priority. The order is a convention that everyone agrees on, so that a written expression has exactly one value.

Symbol Read it as Meaning
( ) [ ] { } parentheses, brackets, braces grouping symbols: work inside them first, innermost first
8 + 42 + 1 8 plus 4, over 2 plus 1 a fraction bar groups the top and the bottom: 12 ÷ 3 = 4
52 five squared an exponent, done before any multiplication: 2 × 52 = 50

Key facts

  • Multiplication does not always come before division: 24 ÷ 4 × 2 = 6 × 2 = 12, working left to right.
  • Addition does not always come before subtraction: 10 − 4 + 3 = 6 + 3 = 9.
  • Grouping symbols include brackets, braces, a fraction bar and absolute value bars, not only parentheses.
  • An exponent applies only to what it touches: −32 = −9, but (−3)2 = 9.
  • Scientific calculators follow the order of operations, so type parentheses where you want something done first.

PEMDAS: the order, step by step

PEMDAS: the order, step by step
P → E → MD → AS
P
parentheses and other grouping symbols
E
exponents (and roots)
MD
multiplication and division, one tie, left to right
AS
addition and subtraction, one tie, left to right

A memory aid is Please Excuse My Dear Aunt Sally. M is not ahead of D, and A is not ahead of S: in each pair, whichever comes first from the left goes first. BODMAS, BIDMAS and GEMDAS name the same order.

Order of Operations examples, step by step

Example 1: Division and multiplication tie

Warm-up

Evaluate 18 − 6 ÷ 3 × 2.

  1. No parentheses or exponents. Multiplication and division come next, left to right.
  2. Division is first from the left: 6 ÷ 3 = 2, giving 18 − 2 × 2.
  3. Then multiply: 2 × 2 = 4, giving 18 − 4.
  4. Subtract: 18 − 4 = 14.

Answer: The value is 14.

Example 2: Nested grouping symbols

Core

Evaluate 5 × [2 + (9 − 4)2] − 33.

  1. Innermost parentheses first: 9 − 4 = 5, so the brackets hold 2 + 52.
  2. Exponent inside the brackets: 52 = 25, so the brackets hold 2 + 25 = 27.
  3. Now the expression is 5 × 27 − 33. Exponent: 33 = 27.
  4. Multiply: 5 × 27 = 135. Subtract: 135 − 27 = 108.

Answer: The value is 108.

Example 3: A negative sign and an exponent

Test-style

What is the value of −22 + 10 ÷ (1 + 4)?

  1. Parentheses: 1 + 4 = 5.
  2. Exponent: 22 = 4. The minus sign is not inside parentheses, so −22 = −4.
  3. Division: 10 ÷ 5 = 2.
  4. Add: −4 + 2 = −2. The trap answer 6 comes from squaring −2.

Answer: The value is -2.

Common mistakes

✗ Mistake24 ÷ 4 × 2 = 24 ÷ 8 = 3, because M comes before D in PEMDAS.
✓ Instead24 ÷ 4 × 2 = 6 × 2 = 12.

Multiplication and division are done left to right; addition and subtraction are also done left to right. Neither one in a pair outranks the other.

✗ Mistake2 + 3 × 4 = 5 × 4 = 20, working straight from left to right.
✓ Instead2 + 3 × 4 = 2 + 12 = 14.

Multiplication comes before addition, wherever it sits in the expression.

✗ Mistake10 − 4 + 3 = 10 − 7 = 3, adding first.
✓ Instead10 − 4 + 3 = 6 + 3 = 9.

Addition and subtraction tie, so go from left to right. The subtraction comes first here.

✗ Mistake−32 = 9.
✓ Instead−32 = −(32) = −9. Only (−3)2 equals 9.

The exponent applies to the 3 alone; the minus sign is applied after the exponent.

Not to be confused with

Order of Operationsvs.Expression

An expression is the math phrase itself, like 2 + 3 × 4. The order of operations is the rule you follow to find its value, 14.

Order of Operationsvs.Distributive Property

The distributive property is a second, legal path that gives the same value: 4(6 + 2) = 4 × 8 = 32 and also 24 + 8 = 32. It does not break the order of operations.

Quick check: 3 questions

Question 1 of 3

Evaluate 20 − 12 ÷ 4 + 1.

Show answer and explanation

Answer: A. Divide first: 12 ÷ 4 = 3. Then left to right: 20 − 3 = 17 and 17 + 1 = 18. Choice B subtracts before dividing, C adds 3 + 1 before subtracting, and D treats the expression as (20 − 12) ÷ (4 + 1).

Question 2 of 3

Which operation comes first in 7 + 3 × (8 − 2)2?

Show answer and explanation

Answer: C. Parentheses come first: 8 − 2 = 6. The exponent then squares the whole group, 62 = 36, so squaring only the 2 is wrong. The full value is 7 + 3 × 36 = 115.

Question 3 of 3

What is −42 + 3 × 2?

Show answer and explanation

Answer: B. −42 = −16 (the exponent goes on the 4 only), and 3 × 2 = 6, so −16 + 6 = −10. Choice A squares −4, C adds before multiplying, and D does both.

Order of Operations: frequently asked questions

Does multiplication always come before division?

No. Multiplication and division have the same rank, so you do whichever comes first as you read from left to right. In 12 ÷ 3 × 2 you divide first and get 8, not 2. The same goes for addition and subtraction. PEMDAS lists M before D and A before S only because a word has to put its letters in some order.

What is the difference between PEMDAS and BODMAS?

Only the names. PEMDAS (parentheses, exponents, multiplication and division, addition and subtraction) is common in the United States. BODMAS uses brackets and orders (or of), and BIDMAS uses indices, but the order of the steps is the same. GEMDAS says grouping to remind you that brackets, fraction bars and absolute value bars count too.

Why do we need an order of operations?

Without one, a single expression could have several values. Working left to right, 2 + 3 × 4 would be 20; doing the multiplication first gives 14. Agreeing on one order means everyone, including every calculator and spreadsheet, gets 14. It also lets you write expressions with fewer parentheses.

Practice and tools

Sources

  1. Common Core State Standards, Grade 5 Operations and Algebraic Thinking (5.OA.A.1)
  2. Common Core State Standards, Grade 6 Expressions and Equations (6.EE.A.2.c, Order of Operations)
  3. OpenStax, Prealgebra 2e, 2.1 Use the Language of Algebra (order of operations)

Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS 5.OA.A.1, CCSS 6.EE.A.2.c

Cite this entry

Effortless Math Team. “Order of Operations.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/order-of-operations/

Flashcard

TermOrder of OperationsPEMDAS
DefinitionParentheses, exponents, multiplication and division left to right, addition and subtraction left to right. 2 + 3 × 4 = 14, not 20.
Study the full deck

Browse all terms in the Math Dictionary · More algebra terms · Random term