Order of operations

Order of operations is an order, agreed upon by mathematicians, for performing operations to simplify expressions. This order is as follows:

  1. Perform all operations within parantheses or other grouping symbols
  2. Simplify expressions involving exponents
  3. Multiply and divide in order from left to right
  4. Add and subtract in order from left to right

This is commonly taught as the mnemonic "Please excuse my dear aunt Sally," abbreviated as PEMDAS, which can help a person remember the order of operations: parantheses, exponents, multiplication, division, addition, and subtraction, listed in order of decreasing priority, with multiplication and division, and addition and subtraction having equal priority. Refer below for some examples:

Examples

Ex 1
102 ÷ (8 × 2 - 6) + 1  =
102 ÷ (16 - 6) + 1  =
102 ÷ 10 + 1  =
100 ÷ 10 + 1  =
10 + 1  =  11
Ex 2
 3 ÷ 3 + 3 × 3 - 3   =
1 + 9 - 3   =
10 - 3   =  7