Evaluating Algebraic Expressions Calculator
This Evaluating Algebraic Expressions Calculator works out what an expression is worth once a value is given for every letter in it, and shows the working at every step. Each letter is swapped for its value inside brackets, so a negative sign is never lost along the way. The terms are then worked out one at a time, powers before multiplying, and the results are added and subtracted from left to right. Following the same pattern every time is what makes evaluating easy to picture, check, and repeat on your own.
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Useful Tips to Remember
Replace every variable with its value inside brackets, then follow the order of operations: brackets, exponents, multiplication and division, then addition and subtraction. Brackets matter most for negative numbers, because \((-3)^2 = 9\) but \(-3^2 = -9\). A number written next to a variable means multiplication, so \(4x\) with \(x = 2\) is \(4 \times 2\), not 42. Work one step at a time to avoid mixing up the order.
Required knowledge
- No prerequisite knowledge is needed.
Where Is Evaluating Algebraic Expressions Used?
Evaluating an expression means replacing each variable with a number and working out the value, following the order of operations. It is exactly what happens every time a formula is used, whether in a science lesson, a spreadsheet or a phone app. A taxi fare of \(3 + 2d\), the area \(\pi r^2\) of a pizza, or the cost of a phone plan with a fixed fee and a charge per gigabyte all become numbers once the values are substituted. Getting the order of operations right is what makes the answer correct.
- Working out a taxi or delivery fare from a pricing formula
- Using spreadsheet formulas that refer to cell values
- Finding areas and volumes by substituting measurements
- Calculating results from science formulas like \(F = ma\)
- Comparing phone or energy plans with fixed and usage charges
Evaluating Algebraic Expressions Practice Problems
Example 1 evaluates \(2x + 3y\) with \(x = 3\) and \(y = 5\), and Example 2 evaluates \(5a^2 - 2b\) with the negative value \(a = -1\). Try substituting yourself before opening each example. For two more free worked examples, check out the Evaluating Algebraic Expressions Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(2x + 3y\) and the values given are \(x = 3, \; y = 5\).
Step 2
Step 2 - Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
In this problem: Every letter is swapped for its value, so \(x\) becomes \(\left(3\right)\) and \(y\) becomes \(\left(5\right)\), which turns \(2x + 3y\) into \(2\left(3\right) + 3\left(5\right)\).
Step 3
Step 3 - Work out each term on its own, dealing with any power before multiplying.
In this problem: The \(2\) terms are worked out one at a time.
Step 3a
Step 3a - Work out the first term.
In this problem: Multiplying the term out gives \(2 \cdot 3 = 6\).
Step 3b
Step 3b - Work out the second term.
In this problem: Multiplying the term out gives \(3 \cdot 5 = 15\).
Step 4
Step 4 - Add and subtract the results from left to right.
In this problem: Working left to right through \(6 + 15\) gives \(21\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(5a^{2} - 2b\) and the values given are \(a = -1, \; b = 4\).
Step 2
Step 2 - Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
In this problem: Every letter is swapped for its value, so \(a\) becomes \(\left(-1\right)\) and \(b\) becomes \(\left(4\right)\), which turns \(5a^{2} - 2b\) into \(5\left(-1\right)^{2} - 2\left(4\right)\).
Step 3
Step 3 - Work out each term on its own, dealing with any power before multiplying.
In this problem: The \(2\) terms are worked out one at a time.
Step 3a
Step 3a - Work out the first term.
In this problem: The power is worked out first: \(\left(-1\right)^{2} = 1\). Multiplying what is left gives \(5 \cdot 1 = 5\).
Step 3b
Step 3b - Work out the second term.
In this problem: Multiplying the term out gives \(\left(-2\right) \cdot 4 = -8\).
Step 4
Step 4 - Add and subtract the results from left to right.
In this problem: Working left to right through \(5 - 8\) gives \(-3\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Evaluating Algebraic Expressions Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Evaluating Algebraic Expressions Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.