PEMDAS

Definitionabbreviation

What does PEMDAS stand for in math?

PEMDAS is an acronym for remembering the order of operations: Parentheses, Exponents, Multiplication and Division, Addition and Subtraction. Multiplication and division share one step and are done from left to right, and so are addition and subtraction. Many students learn it as “Please Excuse My Dear Aunt Sally.”

In Spanish
PEMDAS (orden de las operaciones)
Also called
Please Excuse My Dear Aunt Sally, GEMDAS, BODMAS, BIDMAS, order of operations acronym
How to say it
PEM-dass
Grade level
6-8
Grade 5Grade 6Grade 7Algebra 1CCSS 5.OA.A.1CCSS 6.EE.A.2.cGEDSATACTTABEACCUPLACERASVAB

PEMDAS in a picture

The PEMDAS ladderA ladder of four rungs: P for parentheses, E for exponents, MD for multiplication and division on the same rung, and AS for addition and subtraction on the same rung, each worked left to right. Examples: 24 divided by 4 times 2 = 12, not 3; 10 minus 4 + 3 = 9, not 3.PEMDAS: four steps, not sixP1. Parentheses( ) [ ] and fraction barsE2. Exponentspowers and rootsMD3. Multiply / Dividesame rung: left to rightAS4. Add / Subtractsame rung: left to rightSame rung, so go left to right:24 ÷ 4 × 2 = 6 × 2 = 12not 24 ÷ 8 = 310 − 4 + 3 = 6 + 3 = 9not 10 − 7 = 3Also called GEMDAS, BODMAS or BIDMAS: same rules.
PEMDAS is a ladder of four rungs. M and D sit on one rung and A and S on another, so within a rung you simply work from left to right.

Formal definition and notation

PEMDAS names the conventional precedence for evaluating a numerical expression: (1) evaluate inside grouping symbols, innermost first; (2) evaluate exponents (powers and roots); (3) perform all multiplications and divisions in order from left to right; (4) perform all additions and subtractions in order from left to right. It is a memory aid for the order of operations, not a separate rule, and the six letters describe only four ranks.

Symbol Read it as Meaning
P parentheses also brackets, braces, absolute value bars and fraction bars: anything that groups
E exponents powers such as 32, and roots such as √16
MD multiplication and division one rank, done left to right
AS addition and subtraction one rank, done left to right

Key facts

  • PEMDAS has six letters but only four steps, because M and D share a step and so do A and S.
  • Inside a step, work left to right: 20 ÷ 5 × 2 = 4 × 2 = 8.
  • A fraction bar groups like parentheses: in 6 + 93, add first, then divide, to get 5.
  • Multiplication written by juxtaposition, as in 2(3 + 1), is still multiplication in the M step.
  • Calculators that follow the order of operations agree with PEMDAS; a simple four-function calculator that works left to right may not.

The four ranks of PEMDAS

The four ranks of PEMDAS
P → E → (M and D, left to right) → (A and S, left to right)
GEMDAS
G for grouping symbols, a reminder that brackets and fraction bars count too
BODMAS / BIDMAS
Brackets, Orders or Indices, Division and Multiplication, Addition and Subtraction (used in the UK and elsewhere)

BODMAS lists D before M and PEMDAS lists M before D, which shows the letter order inside a rank does not matter.

PEMDAS examples, step by step

Example 1: Multiplication before addition

Warm-up

Evaluate 6 + 4 × 3.

  1. No parentheses or exponents.
  2. M before A: 4 × 3 = 12.
  3. Then add: 6 + 12 = 18.

Answer: 6 + 4 × 3 = 18.

Example 2: Left to right inside a rung

Core

Evaluate 48 ÷ 4 × 2 − 32.

  1. E: 32 = 9.
  2. MD left to right: 48 ÷ 4 = 12, then 12 × 2 = 24.
  3. AS: 24 − 9 = 15.

Answer: The value is 15.

Example 3: All four rungs

Test-style

What is the value of 3 + 2(8 − 5)2 ÷ 6?

  1. P: 8 − 5 = 3.
  2. E: 32 = 9.
  3. MD left to right: 2 × 9 = 18, then 18 ÷ 6 = 3.
  4. AS: 3 + 3 = 6.

Answer: The value is 6.

Common mistakes

✗ MistakeDoing every multiplication before any division because M comes first in PEMDAS: 36 ÷ 6 × 3 = 36 ÷ 18 = 2.
✓ InsteadLeft to right: 36 ÷ 6 = 6, then 6 × 3 = 18.

M and D are one step. The order of the letters in the word is not an order of operations.

✗ MistakeAdding before subtracting: 15 − 5 + 2 = 15 − 7 = 8.
✓ InsteadLeft to right: 15 − 5 = 10, then 10 + 2 = 12.

A and S are one step, worked from left to right, just like M and D.

✗ MistakeMultiplying into a power: 2 × 32 = 62 = 36.
✓ InsteadExponent first: 32 = 9, then 2 × 9 = 18.

E comes before M, and the exponent belongs only to the 3.

✗ MistakeIgnoring a fraction bar: 10 + 82 = 10 + 4 = 14.
✓ InsteadThe bar groups: 182 = 9.

A fraction bar acts like parentheses around the top and around the bottom.

Not to be confused with

The order of operations is the rule itself; PEMDAS is a word that helps you remember it.

The distributive property lets you multiply into parentheses, 2(3 + 4) = 6 + 8. It gives the same answer as doing P first, 2 × 7 = 14.

Quick check: 3 questions

Question 1 of 3

What is 18 − 12 ÷ 3 × 2?

Show answer and explanation

Answer: B. MD left to right: 12 ÷ 3 = 4, 4 × 2 = 8; then 18 − 8 = 10. 4 works left to right from the start, 16 divides by 6 (multiplying first), and 6 is a slip.

Question 2 of 3

In PEMDAS, which pair of operations is done in the same step?

Show answer and explanation

Answer: D. M and D share one step, worked left to right, and so do A and S. The other pairs are on different steps.

Question 3 of 3

What is 5 + (6 − 2)2 ÷ 8?

Show answer and explanation

Answer: A. P: 6 − 2 = 4. E: 42 = 16. D: 16 ÷ 8 = 2. A: 5 + 2 = 7. 218 adds before dividing, 2 forgets to add the 5, and 5.5 skips the exponent.

PEMDAS: frequently asked questions

What does PEMDAS stand for?

Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. The sentence “Please Excuse My Dear Aunt Sally” helps people remember the letters. Keep in mind that it describes four steps: parentheses, then exponents, then multiplication and division together from left to right, then addition and subtraction together from left to right.

Is PEMDAS ever wrong?

The rules behind it are correct, but the word can mislead. Students who read it letter by letter do all multiplication before division and all addition before subtraction, which gives wrong answers like 8 ÷ 2 × 4 = 1 instead of 16. Some teachers write it as P, E, MD, AS on four lines to show the pairs.

What is GEMDAS?

GEMDAS replaces P with G for grouping symbols. The rules are the same as PEMDAS, but the G reminds you that brackets, braces, absolute value bars, square-root signs and fraction bars group things too, not just parentheses. For example, in 4 + 83 the addition on top is done first because the fraction bar groups it.

Practice and tools

Sources

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

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. “PEMDAS.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/pemdas/

Flashcard

TermPEMDASPlease Excuse My Dear Aunt Sally
DefinitionParentheses, Exponents, Multiplication and Division (left to right), Addition and Subtraction (left to right). Example: 6 + 4 × 3 = 18.
Study the full deck

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