Consider the equation x = 8 + 4 x 3. What do you get when you solve for x? Perhaps you got 36. Do you see how the answer could also be 20? The problem can be done in two ways. You can carry out the addition first, and obtain 36 as the answer. You could also carry out the multiplication first and arrive at 20 for your answer. This is why is it necessary to know the order of operations, the order in which mathematical operations are supposed to be carried out.
A common mnemonic (memory device) used for remembering the order of operations is the acronym PEMDAS. This stands for Parenthesis, Exponents (and roots), Multiplication/Division, Addition/Subtraction.
Parenthesis
Expressions enclosed by parenthesis or brackets are always analyzed first. Inner parenthesis/brackets are done before outer ones.
Example: (3 +
x 4
- First analyze the parenthetical expression.
(11) x 4
- Complete the problem.
11 x 4 = 44
Example: [ 2 + ( 2 x 5)] x 4
- Analyze the inner parenthesis first.
[2 + (10)] x 4 = (2 + 10) x 4
- Analyze the outer parenthesis.
12 x 4 = 48
Exponents
After taking care of the parenthesis, move on to terms with exponents. If an expression with an exponent is inside of parenthesis, carry out the exponential operation before the parenthetical operation.
Example: (3 + 1) x 2³
- Take care of the parenthesis…
4 x 2³
- Simplify the exponential expression…
4 x 8 = 32
Multiplication/Division
When there are no remaining parenthesis or exponents, carry out any multiplication or division. The order in which multiplication and division are done does not matter at this point if they are not combined. However, most people choose to work from left to right for the sake of convenience. This is also the easiest way to finish a problem that included a combination of multiplication and division.
Example: 20 ÷ 2 x 5
- First carry out the division and then multiply…
10 x 5 = 50
Addition/Subtraction
Similar to multiplication and division, you should add and subtract from left to right to make things simpler. However, Repeated addition can be done in any order.
Example: 3 + 9 – 5
- Add 3 and 9, then subtract 5…
12 – 5 = 7
PEMDAS: Putting it all Together
It is possible to have a problem that includes many different operations. Use PEMDAS to solve them.
Example: (2 + 1)² x 3 + 10 ÷ 5
- Parenthesis first…
3² x 3 + 10 ÷ 5
- Simplify the exponential expression…
9 x 3 + 10 ÷ 5
- Carry out the multiplication and division from left to right…
27 + 10 ÷ 5
27 + 2
And the answer is 29. Solving complex problems becomes much simpler when you know what order to do them in. Eventually, this process will become very natural to you. Recall the first equation x = 8 + 4 x 3. The order of operations tells us to multiply first and then add. The correct answer is 20.

