Writing Expressions with Variables: Turning Words into Math

#6th Grade Math#Expressions and Equations#Writing Expressions with Variables
TL;DR
Writing expressions with variables means turning a word phrase into math, with a letter standing in for a number. Below are five steps, the "less than" flip and a number check that catches errors.
Bhanzu TeamLast updated on December 3, 202615 min read

Key Points

  • Writing expressions with variables means translating a word phrase into numbers, letters and operation signs, so "5 more than twice a number n" becomes 2n+52n + 5.
  • The phrases "less than" and "subtracted from" reverse the word order, so "7 less than n" is n−7n - 7, because subtraction changes its answer when the order changes.
  • Putting one real number into both the words and the expression, then comparing the two results, catches most translation errors.
  • A variable stands for a number, so in 2m2m for muffins at $2 each, the letter m means how many muffins, never the muffins themselves.

Letters that wait for a number

In 1591, François Viète published a book that used letters for unknown numbers. He picked vowels for the numbers he was hunting and consonants for the numbers he already knew, as the MacTutor history archive records.

The favorite letters have changed (n and x win most often now). The move hasn't. It's the same one you make every time you start writing expressions with variables, and it sits inside spreadsheet formulas, the code behind video games and the formulas scientists use for speed.

Writing expressions with variables, the letter n standing for 4, 7 or 10 in the expression n + 3.
A box labelled n holds 4, then 7, then 10, and the expression n + 3 gives 7, 10 and 13 for those three values.

What does writing expressions with variables mean?

Writing expressions with variables means turning a math phrase in words into numbers, operation signs and letters, where each letter stands for a number. "Five more than a number n" becomes n+5n + 5.

A variable is a letter that stands for a number you don't know yet, or for a number that can change. An expression is a mix of numbers, variables and operation signs with no equal sign. In 3n+43n + 4, the 3 is the coefficient (the number multiplying the variable), the 4 is a constant, and 3n3n and 44 are the two terms.

You already did half of this in 5th grade with numerical expressions such as 2⋅(8+7)2 \cdot (8 + 7). Sixth grade adds the letters. Common Core standard 6.EE.A.2.a asks your child to write expressions "with letters standing for numbers," and its own example turns "Subtract y from 5" into 5−y5 - y.

The letter is a number, never the thing being counted. That sounds obvious, yet it trips up a lot of beginners. A 2017 study by Zarina Akhtar and Vicki Steinle looked at 1,433 students in Years 7 to 9 at 26 schools in Melbourne, Australia. It estimated that 50% to 80% of Year 7 students start algebra treating a letter as an object. Over 40% of the Year 7 students picked the answer saying d stands for doughnuts, not the number of doughnuts.

How do you turn words into an expression?

To turn words into an expression, choose a letter for the unknown number, swap each phrase for its operation, and add parentheses when a whole sum or difference gets multiplied or divided. Then check the result with a real number.

  1. Say what the letter stands for, such as "let t be the number of tickets."
  2. Break the phrase into chunks at words like "of" and "and."
  3. Swap each chunk for its math, using the table below.
  4. Put parentheses around "the sum of" or "the difference of" when another operation acts on it.
  5. Pick a value such as 10 and work out the words and your expression separately. Matching answers mean the expression is right.

Step 5 is evaluating expressions with variables, a check you'll keep using for years.

Words in the problem Math it means
twice a number p 2p2p
increased by 5 add 5
the difference of d and 3 d−3d - 3
$9 each for t tickets 9t9t
the quotient of n and 4 n4\frac{n}{4}
7 less than n n−7n - 7
split equally between 2 people divide by 2

Two methods are common. The signal-word method matches each phrase to an operation, as in the table. The number-first method says the phrase with a real number (7 less than 10 is 3), then puts the letter where the 10 was.

Signal words break on "less than," "subtracted from" and "divided into," where the math runs opposite to the words. Kids often circle the signal word, write its sign and stop reading, which works until a phrase holds two operations. That's why step 5 matters most.

Three steps for writing an expression with variables from the phrase 6 more than the product of 5 and m.
The phrase 6 more than the product of 5 and a number m is split into two chunks, the product of 5 and m becomes 5m, 6 more than becomes plus 6, giving 5m + 6, which equals 16 when m is 2.

Why does "less than" flip the order?

"Less than" flips the order because you start from the number being made smaller. "7 less than n" means begin at n and go down 7, so it is n−7n - 7. With a number, 7 less than 20 is 13, which is 20−720 - 7.

Order only matters for subtraction and division. Addition and multiplication are commutative, meaning you can swap the parts and get the same answer, so "5 more than n" is n+5n + 5 or 5+n5 + n. Subtraction isn't, because 20−7=1320 - 7 = 13 while 7−20=−137 - 20 = -13.

Division works the same way. "The quotient of n and 4" is n4\frac{n}{4}, and so is "4 divided into n," because "divided into" names the divisor first.

Two writing habits come with letters. Put the number before the letter, so 3 times n is 3n3n, never n3n3. Skip the times sign next to a letter, since it looks like the letter x, and use a raised dot such as 3⋅n3 \cdot n or no sign at all.

When do you need parentheses?

You need parentheses when a phrase does something to a whole sum or difference. "3 times the sum of n and 4" multiplies all of n+4n + 4, so it is 3(n+4)3(n + 4). "The sum of 3 times n and 4" multiplies only n, so it is 3n+43n + 4.

Those two phrases use almost the same words, and they are the most confusing pair in the whole topic. "The sum of" marks where a group starts.

A tape diagram shows the difference. In 3(n+4)3(n + 4) the 4 sits in every one of the three bars. In 3n+43n + 4 it appears once, at the end. With n=5n = 5, the first gives 3(9)=273(9) = 27 and the second gives 15+4=1915 + 4 = 19.

Tape diagram comparing 3(n + 4) and 3n + 4 when n equals 5.
Tape diagram with three bars of n + 4 for 3(n + 4) above three n blocks plus one 4 for 3n + 4, with n = 5 giving 27 and 19.

Children who rushed past order of operations tend to drop these parentheses, because they don't yet see that 3n+43n + 4 already means multiply first. Later this year, the distributive property shows why 3(n+4)3(n + 4) also equals 3n+123n + 12.

Try It Yourself

Pick a phrase card, then tap the pieces in the order that matches what the phrase means. Slide the value of n and watch whether the phrase and your expression give the same number.

Examples of writing expressions with variables

Example 1

Write an expression for "twice a number p, increased by 5."

"Twice a number p" means 2 times p, which is 2p2p.

"Increased by 5" means add 5.

2p+52p + 5

With p=4p = 4, twice 4 is 8 and 8 increased by 5 is 13, and 2(4)+5=132(4) + 5 = 13 agrees.

Example 2

Write an expression for "four times the difference of a number d and 3."

The tempting move is to write the words in the order you meet them, which gives 4d−34d - 3.

Check it with d=10d = 10. The difference of 10 and 3 is 7, and four times 7 is 28. But 4(10)−3=374(10) - 3 = 37, so 4d−34d - 3 doesn't match the words. It multiplies only d, while "four times" acts on the whole difference.

Group the difference first, then multiply.

4(d−3)4(d - 3)

With d=10d = 10, 4(7)=284(7) = 28, which matches the words.

Example 3

Movie tickets cost $9 each and a bag of popcorn costs $5. Write an expression for the total cost of t tickets and one bag of popcorn.

Let t be the number of tickets. Each costs $9, so t tickets cost 9t9t dollars.

Add the popcorn.

9t+59t + 5

For 3 tickets, 9(3)+5=27+5=329(3) + 5 = 27 + 5 = 32, so the total is $32.

Example 4

Write a phrase in words for n4+7\frac{n}{4} + 7.

Read the part that happens first. The fraction n4\frac{n}{4} is "the quotient of n and 4."

Then 7 is added, so the phrase is "7 more than the quotient of n and 4."

"A number n divided by 4, increased by 7" also works. With n=12n = 12, both give 3+7=103 + 7 = 10.

Example 5

A rectangle is 4 feet longer than it is wide. Let w be the width in feet. Write an expression for its perimeter.

The length is 4 more than the width, so it is w+4w + 4.

Perimeter adds two lengths and two widths.

2(w+4)+2w2(w + 4) + 2w

With w=5w = 5, the length is 9 feet, and 2(9)+2(5)=18+10=282(9) + 2(5) = 18 + 10 = 28, so the perimeter is 28 feet. After combining like terms, the same perimeter is 4w+84w + 8, and 4(5)+8=284(5) + 8 = 28 agrees.

Example 6

Theo has n dollars. He buys 2 notebooks at $3 each, then splits the money left over equally with his sister. Write an expression for the amount each of them gets.

The notebooks cost 2⋅3=62 \cdot 3 = 6 dollars, so Theo has n−6n - 6 dollars left.

The split divides the whole amount left, so n−6n - 6 goes on top of the fraction as one group.

n−62\frac{n - 6}{2}

If Theo starts with $20, each person gets 20−62=142=7\frac{20 - 6}{2} = \frac{14}{2} = 7, which is $7.

One expression, every possible number

A letter lets one line of math cover every case at once, so nobody has to write a new sentence for every new number.

  • One rule, any amount. 9t+59t + 5 prices 3 tickets or 30, and 9(30)+5=2759(30) + 5 = 275, so 30 tickets and popcorn cost $275.
  • A record before the answer. You can write down how two amounts are linked before anyone tells you the number, which is the job Viète gave his letters in 1591.
  • The doorway to equations. Set an expression equal to a value, as in 9t+5=329t + 5 = 32, and it becomes an equation, the work of one-step equation word problems.
  • A shared language. Science writes distance as rate times time, d=rtd = rt, and the same pattern returns in 7th and 8th grade graphs.

Writing algebraic expressions for word problems comes back to this. Find the amount that changes, give it a letter, and the rest of the sentence turns into math.

Where do kids trip up on writing expressions with variables?

Mistake 1: Reading "less than" from left to right

Where it slips in: Any phrase with "less than" or "subtracted from," such as "7 less than a number n."

Don't do this: Writing 7−n7 - n. With n=20n = 20 it gives 7−20=−137 - 20 = -13, but 7 less than 20 is 13.

The correct way: Write n−7n - 7, since 20−7=1320 - 7 = 13 matches the words.

Children copy the words in the order they hear them, the same habit that works perfectly for "more than."

Wrong versus right way to write 7 less than n, checked with n equal to 20.
Side by side panels for 7 less than n, the wrong panel showing 7 - n giving -13 when n is 20 and the right panel showing n - 7 giving 13.

Mistake 2: Treating the letter as the object

Where it slips in: Word problems about things, such as "Muffins cost $2 each. Write an expression for the cost of m muffins."

Don't do this: Reading 2m2m as "2 muffins," or writing 2+m2 + m because m "is" the muffins.

The correct way: m is the number of muffins, so the cost is 2m2m dollars. For 6 muffins, 2(6)=122(6) = 12, which is $12.

A child who says "m for muffins" out loud is usually on this path. Asking "m is how many muffins?" moves the letter back to a number.

Mistake 3: Writing an equation instead of an expression

Where it slips in: "Write an expression" questions that sound as if they want an answer, as in Example 3.

Don't do this: Guessing t=3t = 3 and writing 9t+5=329t + 5 = 32, or answering "32."

The correct way: Stop at 9t+59t + 5. An expression has no equal sign, and it only becomes one number once someone tells you t.

Years of arithmetic, where every problem ends in a single number, make an unfinished-looking expression feel wrong.

What most guides miss about writing expressions

Signal-word lists get you most of the way, but spoken English has no parentheses, and that's where the hardest errors hide.

Say "three times n plus four" out loud. It could mean 3n+43n + 4 or 3(n+4)3(n + 4), and a listener can't tell which. Textbooks fix this with "the sum of" or "the quantity," so it helps to hear those words as an opening parenthesis.

The other missing habit is reading back. After writing n−7n - 7, say it in fresh words ("start at n, take 7 away") and compare that with the original phrase. A child who reads back catches the "less than" flip without needing a rule at all.

Key Takeaways

  • A letter in an expression is a placeholder for a number, which is why 9t+59t + 5 can price any number of tickets.
  • Subtraction and division care about order, so "less than" and "divided into" need a second look.
  • Phrases such as "the sum of" and "the difference of" mark a group that needs parentheses when another operation acts on it.
  • Writing expressions with variables ends with an expression, not a number, and swapping in one value is the fastest way to check it.
  • For more practice writing expressions with variables with a teacher who catches the "less than" flip, explore Bhanzu's 6th grade math tutor or algebra tutor sessions.

A Practical Next Step

Write an expression for each phrase, then check it with n=10n = 10.

  1. 9 less than the product of 4 and n
  2. The quotient of n and 5, increased by 2
  3. 6 times the sum of n and 3
  4. Sticker packs cost $4 each and shipping costs $7. Write the total cost of n packs.

Answers: 4n−94n - 9 (31), n5+2\frac{n}{5} + 2 (4), 6(n+3)6(n + 3) (78), 4n+74n + 7 (47 dollars).

Practice these to solidify your understanding. If the order in problem 1 catches you, return to Mistake 1. Want a live Bhanzu trainer to walk through more writing expressions with variables problems? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. J J O'Connor and E F Robertson, MacTutor History of Mathematics, François Viète biography (2000). mathshistory.st-andrews.ac.uk
  2. OpenStax, Prealgebra 2e, 2.1 Use the Language of Algebra (2020). openstax.org
  3. Common Core State Standards Initiative, Grade 6 Expressions and Equations (2010). thecorestandards.org
  4. Zarina Akhtar and Vicki Steinle, The Prevalence of the Letter as Object Misconception in Junior Secondary Students (2017). files.eric.ed.gov
  5. OpenStax, Prealgebra 2e, 2.2 Evaluate, Simplify, and Translate Expressions (2020). openstax.org

Quick Quiz: Check Yourself

Three levels, new numbers every time: turn a phrase into an expression and find its value, then handle parentheses and the "less than" flip, then do the same for a two-step word problem.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the difference between an expression and an equation?
An expression is a phrase, such as 9t+59t + 5, and it has no equal sign. An equation joins two expressions with an equal sign, such as 9t+5=329t + 5 = 32, so it makes a claim you can solve. Writing algebraic expressions comes first, and equations are built from them.
Can a variable be any letter?
Yes, any letter works for writing expressions with variables as long as you say what it stands for, though it helps to avoid o and l, which look like 0 and 1.
Can a number be a variable?
No. A number such as 7 always means the same amount, which is why it's called a constant, while a variable is a letter that can stand for different numbers.
What should my child know about variables and expressions in 6th grade?
Your child should be able to write, read and evaluate expressions in which letters stand for numbers, which is Common Core standard 6.EE.A.2. That includes naming parts such as term and coefficient, and using a variable to set up a real-world problem.
How can I help my child with writing algebraic expressions at home?
Take turns making up phrases from your day, such as prices or game scores, and translating each other's. If your child follows the math when you read a problem aloud but stalls reading alone, the snag is reading, not math, so talk to the classroom teacher first. A tutor makes sense when your child is about two grade levels behind on a foundation skill such as order of operations, or when confidence keeps dropping.
How do you explain algebra to kids?
Start with one real number in a phrase and swap it for a letter. The five steps in How do you turn words into an expression? cover writing algebraic expressions from words and writing expressions with variables.
✍️ Written By
Bhanzu Team
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →