PEMDAS & BODMAS Learning Tool
Trace one operation at a time and compare how different groupings change the answer.
Quick Answer
Use PEMDAS, BODMAS, BIDMAS, or GEMA language, evaluate parentheses, brackets, braces, exponents, multiplication, division, addition, and subtraction, then practice with instant feedback.

Break a tie between division and multiplication
For 48 divided by four times three, division and multiplication have equal priority. Work from the left to obtain twelve times three, or 36. Putting parentheses around four times three changes the divisor to twelve and produces four. Write down the replacement for each completed step so the two versions can be compared without relying on the mnemonic alone.
Simplify Expressions Using Order of Operations
The order in which mathematical operations is performed is a convention that makes it easier for anyone to correctly calculate. They follow the acronym EMDAS:
| E | Exponents |
| M/D | Multiplication and division |
| A/S | Addition and Subtraction |
So, what does EMDAS tell us to do? In an equation, moving left to right, we begin by calculating all the exponents first. Once the exponents have been calculated, we again move left to right, calculating the multiplications and divisions, one at a time. Multiplication and division hold the same position in the ordering, so when you encounter one or the other at this step, do it. Once the multiplications and divisions have been calculated, we again move left to right, calculating the additions and subtractions, one at a time. Additions and subtractions hold the same position in the ordering, so when you encounter one or the other at this step, do it. (You may have previously learned the order of operations as PEMDAS, with parentheses first; we will add that aspect later on.) We’ll explore this as we work an example.
Using Two Order of Operations
Calculate .
Solution
There are no exponents in this expression, so the next operations to check are multiplication and division.
Step 1: Moving left to right, the first multiplication encountered is 4 multiplied by 13. We perform that operation first.
Step 2: The only operation remaining is the subtraction.
.
So, .
Using Two Order of Operations
Calculate .
Solution
Step 1: Moving left to right, we see there is an exponent. We calculate the exponent first.
Step 2: The only operation remaining is the multiplication.
So, .
Using Three Order of Operations
Calculate .
Solution
Step 1: To calculate this, move left to right, and compute all the exponents first. The only exponent we see is the squaring of the 3, so that is calculated first.
Step 2: Since the exponents are all calculated, now calculate all the multiplications and divisions moving left to right. The only multiplication or division present is 9 times 4.
Step 3: Moving left to right, perform the additions and subtractions. There is only one such operation, 2 plus 36.
So, .
Even if the expression being calculated gets more complicated, we perform the operations in the order: EMDAS.
Using Eight Order of Operations
Correctly apply the order of operations to compute the following:
.
Solution
Step 1: To do so, calculate the exponents first, moving left to right. There are two occurrences of exponents in the expression, 3 squared and 2 cubed.
Step 2: Now that the exponents are calculated, perform the multiplication and division, moving left to right. The first is the product of 25 and 6.
Step 3: Next is the 150 divided by 10.
Step 4: Next is 15 multiplied by 9.
Step 5: Finally, multiply the 7 and 8.
As all the multiplications and divisions have been calculated, the additions and subtractions are performed, moving left to right.
The computed value is −75.
Using Six Order of Operations
Correctly apply the rules for the order of operations to accurately compute the following:
.
Solution
Step 1: Calculate exponents first, moving left to right:
Step 2: Multiply and divide, moving left to right:
Step 3: Add and subtract, moving left to right:
Using Order of Operations
Correctly apply the rules for the order of operations to accurately compute the following:
.
Solution
Step 1: Calculate the exponents first, moving left to right:
Step 2: Multiply and divide, moving left to right:
Step 3: Add and subtract, moving left to right:
Using the Order of Operations Involving Grouping Symbols
We have examined how to use the order of operations, denoted by EMDAS, to correctly calculate expressions. However, there may be expressions where a multiplication should happen before an exponent, or a subtraction before a division. To indicate an operation should be performed out of order, the operation is placed inside parentheses. When parentheses are present, the operations inside the parentheses are performed first. Adding the parentheses to our list, we now have PEMDAS, as shown below.
| P | Parentheses | |
| E | Exponents | |
| M/D | Multiplication and division | (division is just the multiplication by the reciprocal) |
| A/S | Addition and subtraction | (subtraction is just the addition of the negative) |
As said previously, parentheses indicate that some operation or operations will be performed outside the standard order of operation rules. For instance, perhaps you want to multiply 4 and 7 before squaring. To indicate that the multiplication happens before the exponent, the multiplication is placed inside parentheses: .
This means operations inside the parentheses take precedence, or happen before other operations. Now, the first step in calculating arithmetic expressions using the order of operations is to perform operations inside parentheses first. Inside the parentheses, you follow the order of operation rules EMDAS.
Prioritizing Parentheses in the Order of Operations
Correctly apply the rules for the order of operations to accurately compute the following:
.
Solution
Step 1: Perform all calculations within the parentheses before all other operations.
Step 2: Since all parentheses have been cleared, move left to right, and compute all the exponents next.
Step 3: Perform all multiplications and divisions moving left to right.
Be aware that there can be more than one set of parentheses, and parentheses within parentheses. When one set of parentheses is inside another set, do the innermost set first, and then work outward.
Working Innermost Parentheses in the Order of Operations
Correctly apply the rules for order of operations to accurately compute the following:
.
Solution
Step 1: Perform all calculations within the parentheses before other operations. Evaluate the innermost parentheses first. We can work separate parentheses expressions at the same time. The innermost set of parentheses has the 2 + 5 inside. The 3 + 8 is in a separate set of parentheses, so that addition can occur at the same time as the 2 + 5.
Step 2: Now that those parentheses have been handled, move on to the next set of parentheses. Applying the order of operation rules inside that set of parentheses, the exponent is evaluated first, then the multiplication, and then the addition.
Step 3: Since all parentheses have been cleared, apply the EMDAS rules to finish the calculation.
Simplify Expressions with Exponents
To simplify a numerical expression means to do all the math possible. For example, to simplify we’d first multiply to get and then add the to get A good habit to develop is to work down the page, writing each step of the process below the previous step. The example just described would look like this:
Suppose we have the expression We could write this more compactly using exponential notation. Exponential notation is used in algebra to represent a quantity multiplied by itself several times. We write as and as In expressions such as the is called the base and the is called the exponent. The exponent tells us how many factors of the base we have to multiply.
We say is in exponential notation and is in expanded notation.
For powers of and we have special names.
table lists some examples of expressions written in exponential notation.
| Exponential Notation | In Words |
| to the second power, or squared | |
| to the third power, or cubed | |
| to the fourth power | |
| to the fifth power |
Write each expression in exponential form:
- ⓐ
- ⓑ
- ⓒ
- ⓓ
Solution
Solution
| ⓐ The base 16 is a factor 7 times. | |
| ⓑ The base 9 is a factor 5 times. | |
| ⓒ The base is a factor 4 times. | |
| ⓓ The base is a factor 8 times. |
Write each exponential expression in expanded form:
- ⓐ
- ⓑ
Solution
Solution
ⓐ The base is and the exponent is so means
ⓑ The base is and the exponent is so means
To simplify an exponential expression without using a calculator, we write it in expanded form and then multiply the factors.
Simplify:
Solution
Solution
| Expand the expression. | |
| Multiply left to right. | |
| Multiply. |
Simplify Expressions Using the Order of Operations
We’ve introduced most of the symbols and notation used in algebra, but now we need to clarify the order of operations. Otherwise, expressions may have different meanings, and they may result in different values.
For example, consider the expression:
Imagine the confusion that could result if every problem had several different correct answers. The same expression should give the same result. So mathematicians established some guidelines called the order of operations, which outlines the order in which parts of an expression must be simplified.
Students often ask, “How will I remember the order?” Here is a way to help you remember: Take the first letter of each key word and substitute the silly phrase. Please Excuse My Dear Aunt Sally.
| Order of Operations | |
| Please | Parentheses |
| Excuse | Exponents |
| My Dear | Multiplication and Division |
| Aunt Sally | Addition and Subtraction |
It’s good that ‘My Dear’ goes together, as this reminds us that multiplication and division have equal priority. We do not always do multiplication before division or always do division before multiplication. We do them in order from left to right.
Similarly, ‘Aunt Sally’ goes together and so reminds us that addition and subtraction also have equal priority and we do them in order from left to right.
Simplify the expressions:
- ⓐ
- ⓑ
Solution
Solution
| ⓐ | |
![]() |
|
| Are there any parentheses? No. | |
| Are there any exponents? No. | |
| Is there any multiplication or division? Yes. | |
| Multiply first. | ![]() |
| Add. | ![]() |
![]() |
| ⓑ | |
![]() |
|
| Are there any parentheses? Yes. | ![]() |
| Simplify inside the parentheses. | ![]() |
| Are there any exponents? No. | |
| Is there any multiplication or division? Yes. | |
| Multiply. | ![]() |
Simplify:
- ⓐ
- ⓑ
Solution
Solution
| ⓐ | |
![]() |
|
| Are there any parentheses? No. | |
| Are there any exponents? No. | |
| Is there any multiplication or division? Yes. | |
| Multiply and divide from left to right. Divide. | ![]() |
| Multiply. | ![]() |
| ⓑ | |
![]() |
|
| Are there any parentheses? No. | |
| Are there any exponents? No. | |
| Is there any multiplication or division? Yes. | |
| Multiply and divide from left to right. | |
| Multiply. | ![]() |
| Divide. | ![]() |
Simplify:
Solution
Solution
![]() |
|
| Parentheses? Yes, subtract first. | ![]() |
| Exponents? No. | |
| Multiplication or division? Yes. | |
| Divide first because we multiply and divide left to right. | ![]() |
| Any other multiplication or division? Yes. | |
| Multiply. | ![]() |
| Any other multiplication or division? No. | |
| Any addition or subtraction? Yes. | ![]() |
When there are multiple grouping symbols, we simplify the innermost parentheses first and work outward.
Solution
Solution
![]() |
|
| Are there any parentheses (or other grouping symbol)? Yes. | |
| Focus on the parentheses that are inside the brackets. | ![]() |
| Subtract. | ![]() |
| Continue inside the brackets and multiply. | ![]() |
| Continue inside the brackets and subtract. | ![]() |
| The expression inside the brackets requires no further simplification. | |
| Are there any exponents? Yes. | |
| Simplify exponents. | ![]() |
| Is there any multiplication or division? Yes. | |
| Multiply. | ![]() |
| Is there any addition or subtraction? Yes. | |
| Add. | ![]() |
| Add. | ![]() |
![]() |
Simplify:
Solution
Solution
![]() |
|
| If an expression has several exponents, they may be simplified in the same step. | |
| Simplify exponents. | ![]() |
| Divide. | ![]() |
| Add. | ![]() |
| Subtract. | ![]() |
![]() |
Applying the Order of Operations to Simplify Expressions
The order of operations for rational numbers is the same as for integers, as discussed in Order of Operations. The order of operations makes it easier for anyone to correctly calculate and represent. The order follows the well-known acronym PEMDAS:
| P | Parentheses |
| E | Exponents |
| M/D | Multiplication and division |
| A/S | Addition and subtraction |
The first step in calculating using the order of operations is to perform operations inside the parentheses. Moving down the list, next perform all exponent operations moving from left to right. Next (left to right once more), perform all multiplications and divisions. Finally, perform the additions and subtractions.
Applying the Order of Operations with Rational Numbers
Correctly apply the rules for the order of operations to accurately compute .
Solution
Step 1: To calculate this, perform all calculations within the parentheses before other operations.
Step 2: Since all parentheses have been cleared, we move left to right, and compute all the exponents next.
Step 3: Now, perform all multiplications and divisions, moving left to right.
Applying the Order of Operations with Rational Numbers
Correctly apply the rules for the order of operations to accurately compute .
Solution
To calculate this, perform all calculations within the parentheses before other operations. Evaluate the innermost parentheses first. We can work separate parentheses expressions at the same time.
Step 1: The innermost parentheses contain . Calculate that first, dividing after finding the common denominator.
Step 2: Calculate the exponent in the parentheses, .
Step 3: Subtract inside the parentheses is done, using a common denominator.
Step 4: At this point, evaluate the exponent and divide.
Step 5: Add.
Had this been done on a calculator, the decimal form of the answer would be 4.0232 (rounded to four decimal places).
Simplifying and Evaluating Algebraic Expressions
To simplify an expression means to do all the math possible. For example, to simplify we would first multiply to get 8 and then add 1 to get 9. We have introduced most of the symbols and notation used in algebra, but now we need to clarify the order of operations. Otherwise, expressions may have different meanings, and they may result in different values. Consider . Do you add first or multiply first? Do you get different answers?
| Add first: | Multiply first: | Which one is correct? |
Early on, mathematicians realized the need to establish some guidelines when performing arithmetic operations to ensure that everyone would get the same answer. Those guidelines are called the order of operations and are listed in the table below.
| Step 1: Parentheses and Other Grouping Symbols | Simplify all expressions inside the parentheses or other grouping symbols, working on the innermost parentheses first. |
| Step 2: Exponents | Simplify all expressions with exponents. |
| Step 3: Multiplication and Division | Perform all multiplication and division in order from left to right. These operations have equal priority. |
| Step 4: Addition and Subtraction | Perform all addition and subtraction in order from left to right. These operations have equal priority. |
Making a Numerical Equation True Using the Order of Operations
Use parentheses to make the following statements true.
Solution
- Add the parentheses around the . Then you have .
- Add the parentheses around the . Then you have .
- Add the parentheses around the . Then you have .
- Add the parentheses around the . Then you have .
In the last example, we simplified expressions using the order of operations. Now we'll evaluate some expressions—again following the order of operations. To evaluate an expression means to find the value of the expression when the variable is replaced by a given number.
Evaluating and Simplifying an Expression
- Evaluate when .
- Evaluate when .
Solution
- To evaluate, let in the expression, and then simplify: .
- To evaluate, let in the expression, and then simplify: .
Operations of Algebraic Expressions
Algebraic expressions are made up of terms. A term is a constant or the product of a constant and one or more variables. Examples of terms are 7, , 5, 9, and . The constant that multiplies the variable is called the coefficient. Think of the coefficient as the number in front of the variable. Consider the algebraic expressions 5, which has a coefficient of 5, and 9, which has a coefficient of 9. If there is no number listed in front of the variable, then the coefficient is 1 since .
Some terms share common traits. When two terms are constants or have the same variable and exponent, we say they are like terms. If there are like terms in an expression, you can simplify the expression by combining the like terms. We add the coefficients and keep the same variable.
Adding Algebraic Expressions
Add .
Solution
Step 1: Add the terms in any order and get the same result (think: ) and drop the parentheses:
Step 2: Group like terms together:
Step 3: Combine the like terms:
Subtracting Algebraic Expressions
Subtract .
Solution
Step 1: Distribute the negative inside the parentheses (think: , which is the correct answer). You cannot just drop the parentheses (for example, , which is not correct as we have already verified the answer is 3):
Step 2: Group like terms together:
Step 3: Combine the like terms:
Before looking at multiplying algebraic expressions we look at the Distributive Property, which says that to multiply a sum, first you multiply each term in the sum and then you add the products. For example, can also be solved as . If we use a variable, then .
We can extended this example to , which can also be solved as . If we use variables, then .
Simplifying an Expression Using the Order of Operations
Simplify each expression.
Solution
Multiplying Algebraic Expressions
Multiply .
Solution
Step 1: Use the Distributive Property:
Step 2: Multiply:
Step 3: Combine the like terms:
Dividing Algebraic Expressions
Divide .
Solution
Divide EACH term by 4:
In 2012, Andrew Hacker wrote an opinion piece in the New York Times Magazine suggesting that teaching algebra in high school was a waste of time. Keith Devlin, a British mathematician, was asked to comment on Hacker's article by his students in his Stanford University Continuing Studies course "Mathematics: Making the Invisible Visible" on iTunes University. Devlin concludes that Hacker was displaying his ignorance of what algebra is.



































