What is the order of operations?

Evaluate parentheses first, then exponents, then multiplication and division from left to right, then addition and subtraction from left to right.

Explanation

The order of operations is a shared rule so that an expression has one value. A common memory phrase is PEMDAS (parentheses, exponents, multiplication and division, addition and subtraction). Multiplication and division have the same priority and are done left to right, and so are addition and subtraction. Example: 3 + 4 × 2 is 3 + 8 = 11, not 14, because multiplication comes before addition. If you want the addition first, write (3 + 4) × 2 = 7 × 2 = 14. Another example: 16 ÷ 4 × 2 is (16 ÷ 4) × 2 = 4 × 2 = 8, not 16 ÷ 8 = 2, because you work left to right at the same priority.

Steps

  1. Do grouping symbols first. Evaluate expressions inside parentheses (and other grouping symbols) from the inside out.
  2. Then exponents, then multiply and divide left to right. In 3 + 4 × 2, compute 4 × 2 first to get 8.
  3. Then add and subtract left to right. 3 + 8 = 11, so 3 + 4 × 2 = 11.

Common queries

Related

Easier

None.

Harder

Siblings

Sources