↑ Back To Top

Order of Operations

GitHub Changelog -

  • 1

Arithmetic | 6 of 17

Prerequisites: Addition, Multiplication. Enables: Algebra.

Order of operations gives a consistent way to evaluate expressions.

Use this sequence:

  1. Parentheses and grouping symbols

  2. Exponents and roots

  3. Multiplication and division from left to right

  4. Addition and subtraction from left to right

A common memory aid is PEMDAS, but multiplication and division have equal priority. Addition and subtraction also have equal priority.

Grouping symbols

Evaluate inside grouping symbols first.

Common grouping symbols:

$$ (\ ),\quad [\ ],\quad \{\ \} $$

Example:

$$ 3(4+5)=3(9)=27 $$

Without parentheses:

$$ 3\cdot4+5=12+5=17 $$

Left-to-right rule

For operations with equal priority, work left to right.

Example:

$$ 24 \div 6 \times 2 $$

Evaluate left to right:

$$ 24 \div 6 = 4 $$
$$ 4 \times 2 = 8 $$

Therefore:

$$ 24 \div 6 \times 2 = 8 $$

Nested expressions

Example:

$$ 2[3^2 + (12-5)] $$

First:

$$ 3^2 = 9 $$

and

$$ 12 - 5 = 7 $$

Then:

$$ 2[9+7] = 2[16] = 32 $$


Previous: Division | Arithmetic course map | Next: Integers and Signed Arithmetic

Practice Arithmetic