Search
Menu

Properties & Mixed Operations: Distributive Property, PEMDAS, and Order of Operations

Compare the grouping of two expressions before evaluating multiplication, division, addition and subtraction.

Quick Answer

Without the right order, 6 + 2 × 3 could be 24 OR 12... and only one is correct.

Arithmetic expressions and parentheses on graph paper

Math Magic: Properties & Mixed Ops!

Listen up, math squad! I almost failed 5th grade because I kept messing up order of operations... until I cracked the code. Now I'm about to share these game-changing secrets with you! Use the ratio tables and simplification to compare equivalent quantities without changing their scale.

The Distributive Property

①
Imagine you're at the mall with your squad - 3 friends, each wants 2 shirts and 4 stickers. Instead of calculating each person separately, the distributive property lets you calculate the item count as 3 × (2 + 4) = 3 × 2 + 3 × 4 = 18 items: 6 shirts and 12 stickers. To calculate a price instead, multiply each type of item by its own unit price! This trick saves me TONS of time when splitting restaurant bills or calculating group purchases!
②
The distributive property is like being an influencer sharing merch with your followers - you "distribute" what's outside the parentheses to EVERYTHING inside! If you have 5(x + 3), you're basically saying "everyone in the group gets 5 times their share." Algebraically, 5(x + 3) = 5x + 15. In general, a(b + c) = ab + ac and a(b − c) = ab − ac. Distribution also works with a negative multiplier: −2(x − 3) = −2x + 6. "It's the share button of math - what's outside goes to EVERYONE inside!"
③
Let's solve 6(4 + 5):
▶ Method 1 (distributive): 6 × 4 + 6 × 5
▶ = 24 + 30
▶ = 54
▶ Method 2 (regular): 6 × (4 + 5) = 6 × 9 = 54
④
Easy: 3(2 + 4) = ?
Medium: 7(8 - 3) = ?
Hard: 12(5 + 2) - 4(3 + 6) = ?
⑤
SPICY CHALLENGE: Party Planning Pro!
You're planning a gaming party. Each of your 8 friends needs 3 controllers and 5 energy drinks. The store sells controllers for $12 each and drinks for $2 each. Use the distributive property to find the total cost!

Order of Operations

①
Y'all, this is EXACTLY why calculators sometimes give weird answers on math tests! Without the right order, 6 + 2 × 3 could be 24 OR 12... and only one is correct. As a former gaming coder, I can tell you that wrong order = game crash!
②
Order of operations is like Instagram's algorithm - there's a specific sequence it follows EVERY TIME! Simplify inside parentheses and other grouping symbols first, starting with the innermost group; then evaluate exponents; then multiplication and division from left to right; finally addition and subtraction from left to right. Apply the same rules within every group. "It's the queue system of math - some operations skip the line!" ♂
③
Calculate 8 + 3 × 4 - 6 ÷ 2:
▶ First: Multiplication & Division (left to right)
▶ 3 × 4 = 12
▶ 6 ÷ 2 = 3
▶ Now: 8 + 12 - 3
▶ = 20 - 3 = 17
④
Easy: 5 + 2 × 3 = ?
Medium: 20 - 4 × 3 + 8 ÷ 2 = ?
Hard: 15 + 9 ÷ 3 × 4 - 2 × 5 = ?
⑤
SPICY CHALLENGE: Social Media Math!
Your TikTok post got 240 likes in the first hour. In hour 2, it got 3 times as many likes minus 120. In hour 3, it got half the total from the first two hours plus 80. How many total likes? Show your work using proper order!

PEMDAS

①
True story: I once lost a $50 bet because I calculated (8 - 3)² wrong! PEMDAS isn't just some random school thing - it's the difference between winning math competitions and embarrassing yourself in front of your crush!
②
PEMDAS is like a priority boarding system at airports - Parentheses (first class), Exponents (business class), Multiplication/Division (premium economy), Addition/Subtraction (economy). Multiplication and division share one priority level; addition and subtraction share another. Work left to right within each pair, rather than doing all multiplication before division or all addition before subtraction. For example, 24 ÷ 6 × 2 = 4 × 2 = 8, and 10 − 3 + 2 = 7 + 2 = 9. "Please Excuse My Dear Aunt Sally = the ultimate math cheat code!" ✈
③
Solve 4 + (5 - 2)² × 3 ÷ 9:
▶ P: (5 - 2) = 3
▶ E: 3² = 9
▶ M/D, left to right: 9 × 3 = 27
▶ M/D, next: 27 ÷ 9 = 3
▶ A: 4 + 3 = 7
④
Easy: 6 + 2² = ?
Medium: (4 + 3)² - 5 × 2 = ?
Hard: 8 ÷ 2(2 + 2) = ?
⑤
SPICY CHALLENGE: Gamer Score Calculator!
Your gaming score is calculated by: [(kills × 100 + assists × 50) ÷ deaths]² - penalty points. You had 8 kills, 12 assists, 4 deaths, and 250 penalty points. What's your final score? Use PEMDAS! The formula requires a nonzero number of deaths; division by zero is undefined.

You've Mastered Math Operations!

From distributing like a pro to following PEMDAS perfectly, you're now equipped to solve any math problem that comes your way! Remember: order matters in math just like it matters in your favorite video games!

Three checks that prevent common mistakes

  • Signs and powers: −3² means −(3²) = −9, while (−3)² = 9. The parentheses change the base being squared.
  • Grouping: 2 × [3 + (8 − 5)] = 2 × (3 + 3) = 12. A fraction bar groups its whole numerator and denominator too: (6 + 2)/(3 + 1) = 8/4 = 2.
  • Distribution: expand a product over a sum or difference, not a power over addition. (2 + 3)² = 25, whereas 2² + 3² = 13.

The original party, social-media and game-score challenges above remain available through their Show Solution buttons. Use Tab to reach a button, then Enter or Space to open or close it.

Read operations at the same level from left to right

Consider thirty-six divided by three times two. Multiplication and division have equal precedence, so evaluate from left to right. Thirty-six divided by three is twelve and twelve times two is twenty-four. If parentheses instead group three times two, the denominator becomes six and the value is six. Both results are consistent with the rules because the grouping differs. Read a fraction bar as a grouping device too: everything printed below it belongs to the denominator. Writing one complete intermediate expression per line helps preserve that grouping.

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 21−4×13.
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.
21−4×13=21−52
Step 2: The only operation remaining is the subtraction.
21−52=−31.
So, 21−4×13=−31.

Using Two Order of Operations

Calculate 4×83.
Solution
Step 1: Moving left to right, we see there is an exponent. We calculate the exponent first.
4×83=4×(8×8×8)=4×512
Step 2: The only operation remaining is the multiplication.
4×512=2,048
So, 4×83=2,048.

Using Three Order of Operations

Calculate 2+32×4.
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.
2+32×4=2+(3×3)×4=2+9×4
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.
2+9×4=2+36
Step 3: Moving left to right, perform the additions and subtractions. There is only one such operation, 2 plus 36.
2+36=38
So, 2+32×4=38.
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:
4−25×6/10×32+7×23.
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.
4−25×6/10×32+7×23=4−25×6/10×9+7×8
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.
4−25×6/10×9+7×8=4−150/10×9+7×8
Step 3: Next is the 150 divided by 10.
4−150/10×9+7×8=4−15×9+7×8
Step 4: Next is 15 multiplied by 9.
4−15×9+7×8=4−135+7×8
Step 5: Finally, multiply the 7 and 8.
4−135+7×8=4−135+56
As all the multiplications and divisions have been calculated, the additions and subtractions are performed, moving left to right.
4−135+56=−131+56=−131+56=−75
The computed value is −75.

Using Six Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following:
10−3×53/15+56/4.
Solution
Step 1: Calculate exponents first, moving left to right:
10−3×53/15+56/4=10−3×125/15+56/4
Step 2: Multiply and divide, moving left to right:
10−3×125/15+56/4=10−375/15+56/4=10−25+56/4=10−25+14
Step 3: Add and subtract, moving left to right:
10−25+14=−15+14=−1

Using Order of Operations

Correctly apply the rules for the order of operations to accurately compute the following: (−8)/2×3−9×24/12+9×(−4)2/23.
Solution
Step 1: Calculate the exponents first, moving left to right:
(−8)/2×3−9×24/12+9×(−4)2/23=(−8)/2×3−9×16/12+9×122/23=(−8)/2×3−9×16/12+9×144/23=(−8)/2×3−9×16/12+9×144/8
Step 2: Multiply and divide, moving left to right:
=(−8)/2×3−9×16/12+9×144/8=(−4)×3−9×16/12+9×144/8=(−12)−9×16/12+9×144/8=(−12)−144/12+9×144/8=(−12)−12+9×144/8=(−12)−12+1,296/8=(−12)−12+162
Step 3: Add and subtract, moving left to right:
=(−12)−12+162=(−24)+162=138

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: (4×7)2.
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:
(10−3)×53.
Solution
Step 1: Perform all calculations within the parentheses before all other operations.
(10−3)×53=7×53
Step 2: Since all parentheses have been cleared, move left to right, and compute all the exponents next.
7×53=7×125
Step 3: Perform all multiplications and divisions moving left to right.
7×125=875
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:
4+2×(32−(2+5)2×4)/(3+8).
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.
4+2×(32−(2+5)2×4)/(3+8)=4+2×(32−(7)2×4)/(11)
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.
4+2×(32−72×4)/11=4+2×(32−49×4)/11=4+2×(−187)/11
Step 3: Since all parentheses have been cleared, apply the EMDAS rules to finish the calculation.
4+2×(−187)/11=4−374/11=4−34=−30

Check Your Understanding

Videos

  • Order of Operations 1
  • Order of Operations 2
  • Order of Operations 3
  • Order of Operations 4

Algebraic Expressions and Equations

Xavier and Yasenia have the same birthday, but they were born in different years. This year Xavier is 20 years old and Yasenia is 23, so Yasenia is three years older than Xavier. When Xavier was 15, Yasenia was 18. When Xavier will be 33, Yasenia will be 36. No matter what Xavier’s age is, Yasenia’s age will always be 3 years more.
In the language of algebra, we say that Xavier's age and Yasenia's age are variable and the 3 is a constant. The ages change, or vary, so age is a variable. The 3 years between them always stays the same or has the same value, so the age difference is the constant. In algebra, letters of the alphabet are used to represent variables. The letters most often used for variables are x, y, z, a, b, and c. Suppose we call Xavier's age x. Then we could use x+3 to represent Yasenia's age, as shown in the table below.
Xavier’s Age Yasenia’s Age
15 18
20 23
33 36
x x+3
To write algebraically, we need some symbols as well as numbers and variables. The symbols for the four basic arithmetic operations: addition, subtraction, multiplication, and division are summarized in table, along with words we use for the operations and the result.
Symbols for Operations
Operation Notation Say: The result is…
Addition a+b a plus b The sum of a and b
Subtraction a − b a minus b The difference of a and b
Multiplication a • b, (a)(b), (a)b, a(b), ab, ba a times b The product of a and b
Division a ÷ b, a/b a divided by b The quotient of a and b
We perform these operations on two numbers. When translating from symbolic form to words, or from words to symbolic form, pay attention to the words of or and to help you find the numbers.
  • The sum of 5 and 3 means add 5 plus 3, which we write as 5+3.
  • The difference of 9 and 2 means subtract 9 minus 2, which we write as 9−2.
  • The product of 4 and 8 means multiply 4 times 8, which we can write as 4•8.
  • The quotient of 20 and 5 means divide 20 by 5, which we can write as 20÷5.

Translating from Algebra to Words

Translate the following algebraic expressions from algebra into words.
  1. 12+14
  2. (30)(5)
  3. 64÷8
  4. x−y
Solution
  1. According to table, this could be translated as 12 plus 14 OR the sum of 12 and 14.
  2. According to table, this could be translated as 30 times 5 OR the product of 30 and 5.
  3. According to table, this could be translated as 64 divided by 8 OR the quotient of 64 and 8.
  4. According to table, this could be translated as x minus y OR the difference of x and y.

Translating from Words to Algebra

Translate the following phrases from words into algebraic expressions.
  1. The difference of 47 and 19
  2. 72 divided by 9
  3. The sum of m and n
  4. 13 times 7
Solution
  1. According to table, these words could be translated as 47−19.
  2. According to table, these words could be translated as 72÷9.
  3. According to table, these words could be translated as m+n.
  4. According to table, these words could be translated as (13)(7).
What is the difference in English between a phrase and a sentence? A phrase expresses a single thought that is incomplete by itself, but a sentence makes a complete statement. “Running very fast” is a phrase, but “The football player was running very fast” is a sentence. A sentence has a subject and a verb. In algebra, we have expressions and equations. worked example and worked example used expressions. An expression is like an English phrase. Notice that the English phrases do not form a complete sentence because the phrase does not have a verb. The following table has examples of expressions, which are numbers, variables, or combinations of numbers and variables using operation symbols.
Expression Words English Phrase
3+5 3 plus 5 The sum of three and five
n−1 n minus one The difference of n and one
6•7 6 times 7 The product of six and seven
x÷y x divided by y The quotient of x and y

Translating from an English Phrase to an Expression

Translate the following phrases from words into algebraic expressions.
  1. Seven more than a number n.
  2. A number n times itself.
  3. Six times a number n, plus two more.
  4. The cost of postage is a flat rate of 10 cents for every parcel, plus 34 cents per ounce x.
Solution
  1. n+7
  2. n•n or n2
  3. 6n+2
  4. 10+34x
An equation is two expressions linked with an equal sign (the symbol =). When two quantities have the same value, we say they are equal and connect them with an equal sign. When you read the words the symbols represent in an equation, you have a complete sentence in English. The equal sign gives the verb. So, a = b is read “a is equal to b.” The following table has some examples of equations.
Equation English Sentence
3+5=8 The sum of three and five is equal to eight.
n−1=14 n minus one equals fourteen.
6•7=42 The product of six and seven is equal to forty-two.
x=53 x is equal to fifty-three.
y+9=2y−3 y plus nine is equal to two times y minus three.

Translating from an English Sentence to an Equation

Translate the following sentences from words into algebraic equations.
  1. Two times x is 6.
  2. n plus 2 is equal to n times 3.
  3. The quotient of 35 and 7 is 5.
  4. Sixty-seven minus x is 56.
Solution
  1. 2x=6
  2. n+2=3n
  3. 35÷7=5
  4. 67−x=56

Simplifying and Evaluating Algebraic Expressions

To simplify an expression means to do all the math possible. For example, to simplify 4•2+1 we would first multiply 4•2 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 2+7•3. Do you add first or multiply first? Do you get different answers?
Add first: 9•3=27 Multiply first: 2+21=23 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.
  1. 17−10+3=10
  2. 2•26−7=38
  3. 8+12÷5−3=14
  4. 5+23•7=91
Solution
  1. Add the parentheses around the 17−10. Then you have (17−10)+3=7+3=10.
  2. Add the parentheses around the 26−7. Then you have 2•(26−7)=2•19=38.
  3. Add the parentheses around the 5−3. Then you have 8+12÷(5−3)=8+12÷2=8+6=14.
  4. Add the parentheses around the 5+23. Then you have (5+23)•7=(5+8)•7=13•7=91.
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

  1. Evaluate 3x+5 when x=2.
  2. Evaluate x2+3x+1 when x=2.
Solution
  1. To evaluate, let x=2 in the expression, and then simplify: 3(2)+5=6+5=11.
  2. To evaluate, let x=2 in the expression, and then simplify: 22+3(2)+1=4+6+1=11.

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, y, 5x2, 9a, and b5. 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 5x2, which has a coefficient of 5, and 9a, which has a coefficient of 9. If there is no number listed in front of the variable, then the coefficient is 1 since x=1•x.
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 (x2+4x−9)+(3x2−x+12).
Solution
Step 1: Add the terms in any order and get the same result (think: 2+3=3+2 ) and drop the parentheses:
x2+4x−9+3x2−x+12
Step 2: Group like terms together:
x2+3x2+4x−x−9+12
Step 3: Combine the like terms:
4x2+3x+3

Subtracting Algebraic Expressions

Subtract (5x2+4x−9)−(3x2−x+12).
Solution
Step 1: Distribute the negative inside the parentheses (think: 2−(3−4)=2−3+4=−1+4=3, which is the correct answer). You cannot just drop the parentheses (for example, 2−3−4=−1−4=−5, which is not correct as we have already verified the answer is 3):
5x2+4x−9−3x2+x−12
Step 2: Group like terms together:
5x2−3x2+4x+x−9−12
Step 3: Combine the like terms:
2x2+x−21
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, 5(4+3)=5(4)+5(3)=20+15=35 can also be solved as 5(4+3)=5(7)=35. If we use a variable, then 5(x+3)=5x+15.
We can extended this example to (5+2)(4+3)=(5)(4)+(5)(3)+(2)(4)+(2)(3)=20+15+8+6=49, which can also be solved as (5+2)(4+3)=(7)(7)=49. If we use variables, then (x+5)(x+4)=(x)(x)+(x)(4)+(5)(x)+(5)(4)=x2+4x+5x+20=x2+9x+20.

Simplifying an Expression Using the Order of Operations

Simplify each expression.
  1. (x−3)5
  2. (−3)(x+y−2)
  3. 52(7+3)(x)
  4. 4+x•5
  5. (4+x)•5
Solution
  1. 5x−3•5=5x−15
  2. (−3)•x+(−3)•y−(−3)•2=−3x−3y+6
  3. 25(7+3)(x)=25(10)(x)=250x
  4. 4+5x
  5. (4)•(5)+(x)•(5)=20+5x

Multiplying Algebraic Expressions

Multiply (4x−9)(x+2).
Solution
Step 1: Use the Distributive Property:
(4x)(x)+(4x)(2)−(9)(x)−(9)(2)
Step 2: Multiply:
4x2+8x−9x−18
Step 3: Combine the like terms:
4x2−x−18

Dividing Algebraic Expressions

Divide (8x2+4x−16)÷(4x).
Solution
Divide EACH term by 4x:
(8x2÷4x)+(4x÷4x)−(16÷4x)=2x+1−4x
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.

Check Your Understanding

Videos

  • Q&A: Why We Teach Algebra

Formulas

  • Distributive Property: a(b+c)=ab+ac

Use Multiplication Notation

Suppose you were asked to count all these pennies shown in diagram.
An image of 3 horizontal rows of pennies, each row containing 8 pennies.
Would you count the pennies individually? Or would you count the number of pennies in each row and add that number 3 times.
8+8+8
Multiplication is a way to represent repeated addition. So instead of adding 8 three times, we could write a multiplication expression.
3×8
We call each number being multiplied a factor and the result the product. We read 3×8 as three times eight, and the result as the product of three and eight.
There are several symbols that represent multiplication. These include the symbol × as well as the dot, ·, and parentheses ().
Translate from math notation to words:
  1. ⓐ 7×6
  2. ⓑ 12·14
  3. ⓒ 6(13)
Solution

Solution

  • ⓐ We read this as seven times six and the result is the product of seven and six.
  • ⓑ We read this as twelve times fourteen and the result is the product of twelve and fourteen.
  • ⓒ We read this as six times thirteen and the result is the product of six and thirteen.