Track which operations belong together before evaluating the four-fours challenge.
Quick Answer
The expression 4 × 4 − 4 ÷ 4 + 4 equals 19. Do multiplication and division first to get 16 − 1 + 4, then evaluate addition and subtraction from left to right.
Advertisement
Order of operations • worked answer
The answer to 4 × 4 − 4 ÷ 4 + 4 is 19
4 × 4 − 4 ÷ 4 + 4= 16 − 1 + 4= 15 + 4 = 19
Calculate the multiplication and division first. Then do the subtraction and addition from left to right. There are five 4s and four operation signs in this expression.
This short puzzle is a useful test of how you read an expression. The arithmetic is simple; the important step is deciding which numbers belong together. Below, compare the correct method with the routes that produce 7 or 11, see how brackets change the question, and try 12 practice questions with worked answers.
What does 4×4−4÷4+4 mean?
The standard grouping is (4 × 4) − (4 ÷ 4) + 4. The product 4 × 4 and the quotient 4 ÷ 4 are separate parts of the calculation. The final +4 is outside the quotient.
The expression has no brackets or powers to evaluate. In the informal version “4x4-4/4+4”, x usually means multiplication and / means division. In algebra, x can be a variable, so × is clearer for this numerical question.
Multiply 4 by 4. Replace 4 × 4 with 16. The expression becomes 16 − 4 ÷ 4 + 4.
Divide 4 by 4. Replace 4 ÷ 4 with 1. The expression becomes 16 − 1 + 4.
Subtract, then add. At this level, read from left to right: 16 − 1 = 15, then 15 + 4 = 19.
The multiplication and division form independent pieces here. Either can be calculated first, provided you keep the subtraction and final addition in place.
Check the scale: start with 16, remove 1, then add 4. The result should be 3 more than 16, so 19 is sensible. This checks the arithmetic after you have identified the grouping.
PEMDAS and BODMAS use the same priorities
Read either acronym as four levels, not six separate commands. PEMDAS uses “parentheses” and “exponents”; BODMAS uses “brackets” and “orders”; BIDMAS uses “indices” for powers.
Grouping: work inside the innermost brackets first.
Powers: evaluate exponents.
Multiplication and division: share a level; work from left to right.
Addition and subtraction: share a level; work from left to right.
The rule applies inside brackets too. A bracket around 2 + 3 × 4 does not make the addition happen first: the value inside is 2 + 12 = 14.
Division can come before multiplication
24 ÷ 3 × 2 = 8 × 2 = 16
The division is first because it is farther left at the same priority level. Calculating 3 × 2 first would silently change the expression into 24 ÷ (3 × 2), which equals 4.
Subtraction can come before addition
18 − 5 + 2 = 13 + 2 = 15
It is not 18 − (5 + 2). That bracketed expression equals 11 and asks a different question.
Keep × with ÷, and + with −. The order of letters in an acronym does not separate those pairs.
Why do some methods give 7 or 11?
7: doing every operation strictly left to right
A sequential calculation goes 4 × 4 = 16, then 16 − 4 = 12, then 12 ÷ 4 = 3, then 3 + 4 = 7. The arithmetic in each small step is correct, but the subtraction was done before the division.
This method actually evaluates ((4 × 4 − 4) ÷ 4) + 4, not the unbracketed original.
11: treating addition as higher priority than subtraction
After reaching 16 − 1 + 4, adding 1 + 4 and then subtracting 5 gives 11. That changes the expression into 16 − (1 + 4). The +4 has been turned into part of the amount subtracted.
A useful nuance: you may rewrite 16 − 1 + 4 as 16 + 4 − 1, because the −1 keeps its sign. Both equal 19. Reordering signed terms correctly is different from inventing 16 − (1 + 4).
Different brackets legitimately give different answers
These are valid new questions. They do not make the answer to the original expression uncertain.
Expression
Working
Answer
4 × 4 − 4 ÷ 4 + 4
16 − 1 + 4
19
4 × (4 − 4) ÷ 4 + 4
4 × 0 ÷ 4 + 4
4
4 × 4 − 4 ÷ (4 + 4)
16 − 4 ÷ 8
15.5
(4 × 4 − 4) ÷ 4 + 4
12 ÷ 4 + 4
7
4 × (4 − 4 ÷ 4) + 4
4 × 3 + 4
16
Why might a calculator show a different result?
Check its calculation mode and the exact input. A calculator using chain or immediate execution evaluates operations as they are entered. A calculator using an algebraic precedence mode follows a hierarchy. Texas Instruments documents both methods for the BA II Plus, so “calculator” alone does not tell you which method is active.
In chain mode, the ungrouped key sequence can produce the 7 route above. In an algebraic mode, entering the original expression should produce 19. A full-expression display can help you inspect your input, but the display alone does not establish the evaluation rule.
Check that the third operation is division, not addition.
Check that no brackets were added or omitted.
Look up the device's calculation mode if results disagree.
As a simple cross-check, calculate 4 × 4 and 4 ÷ 4 separately, then enter 16 − 1 + 4.
For longer calculations, the site's scientific calculator is a companion tool. Keep your written working so that you can compare the input with the expression you intended.
Use brackets and fraction bars to show grouping
Writing (4 × 4) − (4 ÷ 4) + 4 makes the original structure explicit without changing its value. Writing 4 × 4 − 4 ÷ (4 + 4) changes the divisor from 4 to 8.
A horizontal fraction bar groups the whole numerator and the whole denominator. Compare:
Sixteen minus the fraction four over four, plus four, equals nineteen.16 − 44 + 4 = 19
Sixteen minus four divided by the quantity four plus four equals fifteen point five.16 − 44 + 4 = 15.5
In one-line input, write the second fraction as 4/(4+4). For more on what a numerator and denominator represent, review fractions.
A reliable method for a longer expression
Copy every sign, mark the groups, and change only one part of the expression at a time. Keep the untouched parts on the next line.
The brackets are first. Next, multiplication and division are read left to right. The remaining subtraction and addition are also read left to right. In algebra, 3(2 + 4) means the same as 3 × (2 + 4); our linear expressions guide develops that notation further.
Three checks that catch common errors
Preserve the problem. Copy five 4s, one ×, one −, one ÷ and one +. A changed symbol creates a different puzzle.
Keep equality true. Write 4 × 4 − 4 ÷ 4 + 4 = 16 − 1 + 4. Do not write “4 × 4 = 16 − 1 + 4”; those two sides have different values.
Keep a negative sign with its term. Subtracting 1 and adding 4 is not subtracting both 1 and 4.
A grouping check outside the puzzle
Four notebooks cost £4 each. A £1 voucher reduces the order total, and delivery costs £4. The total is 4 × £4 − £1 + £4 = £19. Multiplication finds the notebook subtotal before the one-off adjustment and delivery charge are applied.
If instead the voucher were £1 per notebook, the calculation would be 4 × (£4 − £1) + £4 = £16. The words decide what is grouped. The arithmetic notation must communicate that decision.
Practice: 12 questions with worked answers
Try each question on paper first. Open the answer to compare the steps, not just the final number. The later questions add powers, nested grouping and negative signs.
1. 7 + 3 × 4 − 8 ÷ 2
Show worked answer 1
7 + 12 − 4 = 19 − 4 = 15
Multiply and divide before subtracting or adding.
2. (18 − 6) ÷ 3 + 22
Show worked answer 2
12 ÷ 3 + 4 = 4 + 4 = 8
Evaluate the bracket and the power before combining the results.
3. 24 ÷ 4 × 3 − 5
Show worked answer 3
6 × 3 − 5 = 18 − 5 = 13
Division and multiplication share a priority, so begin with 24 ÷ 4.
4. Which is larger: 6 + 2 × 5 or (6 + 2) × 5?
Show worked answer 4
6 + 2 × 5 = 6 + 10 = 16 (6 + 2) × 5 = 8 × 5 = 40
The bracketed expression is larger. Its addition must happen first.
5. Insert brackets into 4 × 4 − 4 ÷ 4 + 4 to change its value.
There are other valid answers. Keep the five numbers and their operation signs in their original order.
6. 30 ÷ 5 × 2
Show worked answer 6
6 × 2 = 12
Do not replace the divisor with 5 × 2; that would insert new brackets.
7. 20 − 6 + 3
Show worked answer 7
14 + 3 = 17
Subtract 6, then add 3. Do not subtract the sum 6 + 3.
8. 6 + 23 × 3
Show worked answer 8
6 + 8 × 3 = 6 + 24 = 30
The exponent applies to 2, so 2³ = 8. Then multiply before adding.
9. (14 − 6) ÷ (3 + 1)
Show worked answer 9
8 ÷ 4 = 2
The two brackets are independent groups. Complete both before the division.
10. −32 + 4 × 3
Show worked answer 10
−9 + 12 = 3
The unbracketed −3² means −(3²), which is −9. In contrast, (−3)² + 4 × 3 = 9 + 12 = 21.
11. 3 × (2 + 4) − 18 ÷ 3
Show worked answer 11
3 × 6 − 6 = 18 − 6 = 12
Complete the bracket, then the product and quotient, then subtract.
12. 12 − [2 × (3 + 1)] + 5
Show worked answer 12
12 − [2 × 4] + 5 = 12 − 8 + 5 = 4 + 5 = 9
Begin with the innermost bracket. The subtraction and final addition happen after the outer group is simplified.
How to use this with a learner
Ask “Which part will you calculate next, and why?” before asking for the final answer. If a learner gives 7, discuss the operation priority; if they give 11, inspect the last subtraction and addition. Then use a fresh example to check the reasoning transferred.
A short lesson can have three stages: explain the original answer, compare one bracketed variation, and solve one unseen practice question. For an extension, ask learners to insert brackets into the five-4 expression and show why their new answer changes. No speed target is needed to assess this skill.
Frequently asked questions
Is the answer 19 or 7?
It is 19 for 4 × 4 − 4 ÷ 4 + 4. The answer 7 belongs to the different grouping (4 × 4 − 4) ÷ 4 + 4, or to a chain calculation that evaluates every operation in input order.
Does BODMAS give a different answer from PEMDAS?
No. For this expression, both give 19. Both place multiplication and division together, above addition and subtraction. Their letter order is not an instruction to separate equal-priority operations.
Can I calculate 4 ÷ 4 before 4 × 4 here?
Yes. They are independent parts: (4 × 4) − (4 ÷ 4) + 4. Calculating either part first preserves that structure. This does not let you regroup a chain such as 24 ÷ 3 × 2.
Do brackets always change the answer?
No. Brackets that make the existing grouping explicit, such as (4 × 4) − (4 ÷ 4) + 4, keep the answer 19. Brackets that change what an operation acts on can change the answer.
Is this the classic “four fours” puzzle?
No. This expression contains five occurrences of 4. “Four fours” usually describes a different kind of puzzle: constructing values with exactly four 4s and a specified set of permitted operations.
What is the quickest way to check my result?
Identify the two higher-priority pieces: 4 × 4 = 16 and 4 ÷ 4 = 1. Then the remaining calculation is 16 − 1 + 4 = 19. Explain that grouping before relying on a calculator display.
Advertisement
Compare two expressions with the same digits
Evaluate 4 × 4 − 4 ÷ 4 + 4. The product is sixteen and the quotient is one. The remaining chain is sixteen minus one plus four, giving nineteen. Grouping the final two terms as one plus four and then subtracting five would give eleven, but it changes the expression. A second way to check is to rewrite subtraction as adding negative one. Sixteen plus negative one plus four again gives nineteen. Parentheses make an excellent diagnostic: ask someone to place them so they describe their first calculation, then compare that grouping against the original expression.
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.
Use the Commutative and Associative Properties
Think about adding two numbers, such as and
The results are the same.
Notice, the order in which we add does not matter. The same is true when multiplying and
Again, the results are the same! The order in which we multiply does not matter.
These examples illustrate the commutative properties of addition and multiplication.
The commutative properties have to do with order. If you change the order of the numbers when adding or multiplying, the result is the same.
Use the commutative properties to rewrite the following expressions:
ⓐ
ⓑ
Solution
Solution
ⓐ
Use the commutative property of addition to change the order.
ⓑ
Use the commutative property of multiplication to change the order.
What about subtraction? Does order matter when we subtract numbers? Does give the same result as
Since changing the order of the subtraction did not give the same result, we can say that subtraction is not commutative.
Let’s see what happens when we divide two numbers. Is division commutative?
Since changing the order of the division did not give the same result, division is not commutative.
Addition and multiplication are commutative. Subtraction and division are not commutative.
Suppose you were asked to simplify this expression.
How would you do it and what would your answer be?
Some people would think and then Others might start with and then
Both ways give the same result, as shown in diagram. (Remember that parentheses are grouping symbols that indicate which operations should be done first.)
When adding three numbers, changing the grouping of the numbers does not change the result. This is known as the Associative Property of Addition.
The same principle holds true for multiplication as well. Suppose we want to find the value of the following expression:
Changing the grouping of the numbers gives the same result, as shown in diagram.
When multiplying three numbers, changing the grouping of the numbers does not change the result. This is known as the Associative Property of Multiplication.
If we multiply three numbers, changing the grouping does not affect the product.
You probably know this, but the terminology may be new to you. These examples illustrate the Associative Properties.
Use the associative properties to rewrite the following:
ⓐ
ⓑ
Solution
Solution
ⓐ
Change the grouping.
Notice that is so the addition will be easier if we group as shown on the right.
ⓑ
Change the grouping.
Notice that is The multiplication will be easier if we group as shown on the right.
Besides using the associative properties to make calculations easier, we will often use it to simplify expressions with variables.
Use the Associative Property of Multiplication to simplify:
Solution
Solution
Change the grouping.
Multiply in the parentheses.
Notice that we can multiply but we could not multiply without having a value for
Evaluate Expressions using the Commutative and Associative Properties
The commutative and associative properties can make it easier to evaluate some algebraic expressions. Since order does not matter when adding or multiplying three or more terms, we can rearrange and re-group terms to make our work easier, as the next several examples illustrate.
Evaluate each expression when
ⓐ
ⓑ
Solution
Solution
ⓐ
Substitute for .
Convert fractions to decimals.
Add left to right.
Subtract.
ⓑ
Substitute for x.
Add opposites first.
What was the difference between part ⓐ and part ⓑ ? Only the order changed. By the Commutative Property of Addition, But wasn’t part ⓑ much easier?
Let’s do one more, this time with multiplication.
Evaluate each expression when
ⓐ
ⓑ
Solution
Solution
ⓐ
Substitute 17 for n.
Multiply in the parentheses first.
Multiply again.
ⓑ
Substitute 17 for n.
Multiply. The product of reciprocals is 1.
Multiply again.
What was the difference between part ⓐ and part ⓑ here? Only the grouping changed. By the Associative Property of Multiplication, By carefully choosing how to group the factors, we can make the work easier.