Opening subject page...
Loading your content
Learn how to plug numbers into expressions and find their value — a skill you'll use throughout all of math.
People have been solving math problems for thousands of years. But they didn't always have the neat symbols we use today. For most of history, math problems were written out in full sentences! Imagine writing "take a number, multiply it by three, and add seven" every single time. That would get tiring, right? Over time, mathematicians invented shortcuts — and that's how algebraic expressions (math phrases that use letters and symbols) were born.
So here's the big question this lesson answers: When you have a math expression with letters (variables), and someone tells you what number each letter stands for, how do you figure out the total value? That's what "evaluating an expression" means, and you're about to master it.
Before we start evaluating, let's make sure we understand a few key building blocks. Think of these as your toolkit — once you know them, everything else clicks into place.
x, y, n, and a.3x + 7. Expressions do not have an equals sign.x = 4, you replace every x in the expression with 4.Let's look at what happens when we evaluate the expression 2x + 5 when x = 3. Follow the diagram below — it shows each step from the original expression to the final answer.
Here's what just happened: we started with the expression 2x + 5, we were told that x = 3, so we substituted 3 in for x. Then we did the arithmetic (multiply before adding — remember order of operations!) and got 11. That's evaluating an expression!
No matter how complicated the expression looks, you can always follow the same three steps. Let's write them out clearly.
There's one really important rule to keep in mind: order of operations. You may know it as PEMDAS (Parentheses, Exponents, Multiplication/Division, Addition/Subtraction). When you do Step 3, always multiply and divide before you add and subtract, unless parentheses tell you otherwise.
Also, a quick tip about notation. When you see something like 4y, it means 4 × y. The multiplication sign is hidden! So when you substitute y = 6, you write 4(6) or 4 × 6. This shorthand is super common in algebra, and once you're used to it, it actually makes things easier to read.
So far we've looked at expressions with just one variable. But what if there are two — or even three? No problem! The process is exactly the same. You just substitute a number for each variable. Let's look at a few types of expressions you'll see.
Let's try one with two variables. Suppose we have 3a + 2b and we're told a = 4 and b = 5. We substitute both values: 3(4) + 2(5). That gives us 12 + 10, which equals 22. See? Same three steps — you just do them for each variable.
| Expression | Given Values | After Substitution | Result |
|---|---|---|---|
5x + 1 | x = 3 | 5(3) + 1 = 15 + 1 | 16 |
3a + 2b | a = 4, b = 5 | 3(4) + 2(5) = 12 + 10 | 22 |
x² + 3 | x = 5 | (5)² + 3 = 25 + 3 | 28 |
n ÷ 4 + 2 | n = 20 | 20 ÷ 4 + 2 = 5 + 2 | 7 |
2(y + 3) | y = 7 | 2(7 + 3) = 2(10) | 20 |
Notice the last row: 2(y + 3) when y = 7. The parentheses tell you to add first, then multiply. So it becomes 2(7 + 3) = 2(10) = 20. Parentheses always come first in order of operations!
Let's walk through a full problem together, nice and slow.
3x² − 2y + 4. We know that x = 2 and y = 5.x with 2 and every y with 5:3(2)² − 2(5) + 42² = 4 first:3(4) − 2(5) + 412 − 10 + 4x = 2 and y = 5, the expression 3x² − 2y + 4 equals 6.Evaluating expressions is pretty straightforward, but there are a few spots where students tend to trip up. Let's look at what to watch out for — and some tricks that make things easier.
| Common Mistake | What Goes Wrong | How to Fix It |
|---|---|---|
| Forgetting order of operations | In 2 + 3x with x = 4, adding first gives 5 × 4 = 20 (wrong!) | Multiply first: 3 × 4 = 12, then 2 + 12 = 14 ✓ |
Mixing up 2x and x² | 2x means 2 × x, but x² means x × x. They're different! | When x = 3: 2x = 6 but x² = 9. Read carefully. |
| Not substituting everywhere | In x + 2x, forgetting to replace both x's | Replace EVERY instance. Use parentheses: (3) + 2(3) = 9 ✓ |
| Dropping parentheses | Writing 3 × 2² instead of 3 × (2)² — works here, but risky with negatives | Always put parentheses around the substituted number. It's a good habit! |
3x becomes 3(5), not just 35. This small habit prevents so many mistakes, especially once you start working with negative numbers and exponents.Evaluating expressions is your gateway into bigger and more exciting math. Once you can plug values into expressions, you're ready to start working with equations — which are expressions that do have an equals sign. Instead of being given the value of x, you'll learn how to find it!
| What You're Learning Now | What Comes Next |
|---|---|
Evaluating expressions: given x, find the value | Solving equations: given the value, find x |
| Single specific value for each variable | Functions: see how the answer changes as the variable changes |
| Using numbers like 3, 5, 10 | Using negative numbers, decimals, and fractions as values |
| Simple operations (+, −, ×, ÷) | More complex expressions with multiple grouping symbols |
You'll also see evaluating expressions in science class. For example, if you learn that distance = speed × time, and you know the speed is 60 mph and the time is 3 hours, you're evaluating the expression 60 × 3 = 180 miles. The same skill pops up in cooking, budgeting, video game design, and just about everywhere numbers are used.
Time to try it yourself! Start with the easier ones and work your way up. Click "Show Answer" when you're ready to check your work.
x + 7 when x = 3?6n − 4 when n = 5.4a + 3b when a = 6 and b = 2.2c + 5 tells you how much money (in dollars) you'll have, where c is the number of cups you sell. Each cup costs $2, and you started with $5. How much money will you have after selling c = 12 cups?x² + 2x − 3 when x = 4. Then evaluate the same expression when x = 1. How much bigger is the first answer than the second?In this lesson, you learned how to evaluate expressions by following three clear steps: identify the expression and the given values, substitute (replace) each variable with its number, and then calculate using the correct order of operations (PEMDAS). You saw that this works whether there's one variable or several, and whether the expression involves addition, multiplication, exponents, or division.
Remember: always wrap your substituted numbers in parentheses to avoid mistakes, and always handle exponents and multiplication before addition and subtraction. This skill is the foundation for solving equations, working with functions, and applying math to real-world problems — from lemonade stands to science experiments. You've got the tools now, so keep practicing and it'll become second nature!