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 .
- The phrases "less than" and "subtracted from" reverse the word order, so "7 less than n" is , 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 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.

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 .
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 , the 3 is the coefficient (the number multiplying the variable), the 4 is a constant, and and are the two terms.
You already did half of this in 5th grade with numerical expressions such as . 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 .
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.
- Say what the letter stands for, such as "let t be the number of tickets."
- Break the phrase into chunks at words like "of" and "and."
- Swap each chunk for its math, using the table below.
- Put parentheses around "the sum of" or "the difference of" when another operation acts on it.
- 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 | |
| increased by 5 | add 5 |
| the difference of d and 3 | |
| $9 each for t tickets | |
| the quotient of n and 4 | |
| 7 less than n | |
| 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.

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 . With a number, 7 less than 20 is 13, which is .
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 or . Subtraction isn't, because while .
Division works the same way. "The quotient of n and 4" is , 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 , never . Skip the times sign next to a letter, since it looks like the letter x, and use a raised dot such as 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 , so it is . "The sum of 3 times n and 4" multiplies only n, so it is .
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 the 4 sits in every one of the three bars. In it appears once, at the end. With , the first gives and the second gives .

Children who rushed past order of operations tend to drop these parentheses, because they don't yet see that already means multiply first. Later this year, the distributive property shows why also equals .
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 .
"Increased by 5" means add 5.
With , twice 4 is 8 and 8 increased by 5 is 13, and 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 .
Check it with . The difference of 10 and 3 is 7, and four times 7 is 28. But , so doesn't match the words. It multiplies only d, while "four times" acts on the whole difference.
Group the difference first, then multiply.
With , , 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 dollars.
Add the popcorn.
For 3 tickets, , so the total is $32.
Example 4
Write a phrase in words for .
Read the part that happens first. The fraction 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 , both give .
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 .
Perimeter adds two lengths and two widths.
With , the length is 9 feet, and , so the perimeter is 28 feet. After combining like terms, the same perimeter is , and 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 dollars, so Theo has dollars left.
The split divides the whole amount left, so goes on top of the fraction as one group.
If Theo starts with $20, each person gets , 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. prices 3 tickets or 30, and , 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 , and it becomes an equation, the work of one-step equation word problems.
- A shared language. Science writes distance as rate times time, , 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 . With it gives , but 7 less than 20 is 13.
The correct way: Write , since matches the words.
Children copy the words in the order they hear them, the same habit that works perfectly for "more than."

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 as "2 muffins," or writing because m "is" the muffins.
The correct way: m is the number of muffins, so the cost is dollars. For 6 muffins, , 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 and writing , or answering "32."
The correct way: Stop at . 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 or , 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 , 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 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.
Read More
- Order of Operations with Exponents
- Equations with Tape and Hanger Diagrams
- Writing and Interpreting Linear Expressions
- Expression, Term, Factor and Coefficient
- Independent and Dependent Variables
Research Behind This Article
- J J O'Connor and E F Robertson, MacTutor History of Mathematics, François Viète biography (2000). mathshistory.st-andrews.ac.uk
- OpenStax, Prealgebra 2e, 2.1 Use the Language of Algebra (2020). openstax.org
- Common Core State Standards Initiative, Grade 6 Expressions and Equations (2010). thecorestandards.org
- Zarina Akhtar and Vicki Steinle, The Prevalence of the Letter as Object Misconception in Junior Secondary Students (2017). files.eric.ed.gov
- 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?
Can a variable be any letter?
Can a number be a variable?
What should my child know about variables and expressions in 6th grade?
How can I help my child with writing algebraic expressions at home?
How do you explain algebra to kids?




