Variables and Constants: Changing and Fixed Values
A variable is a symbol whose value can change, while a constant is a number that always has a fixed value. In algebra, variables are usually represented by letters, while constants are represented by standalone numbers. Understanding the difference between these concepts is an essential first step when starting an introduction to algebra.
What are variables and constants?
A variable is a mathematical quantity that can vary or take on different values. We use letters such as , , and to represent variables because their exact value might be unknown or changing depending on the situation.
A constant is a fixed value that never changes. In an expression, numbers like , , or are constants. Their numerical value remains exactly what it is, regardless of what happens to the variables.

Every algebraic expression uses at least one variable or constant to represent a mathematical relationship.
Compare changing and fixed quantities
To see the difference clearly, imagine a mathematical rule that adds to any given number. The number you start with can change, making it a variable. The amount you add is always , making it a constant.

No matter what value is chosen for the input , the constant remains exactly the same. The output changes in response to the input.
Identify them in expressions
When working with algebraic expressions, it is important to distinguish between parts that change and parts that remain the same. An expression is made up of terms separated by addition or subtraction.

A number attached to a variable by multiplication is called a coefficient. While a coefficient like is a fixed number, it is part of a variable term because the entire term changes when changes. The constant term is a number standing alone, like , because it has no variable attached to it. Learning to identify these distinct parts helps when studying terms factors coefficients and constants.
Use variables in a formula
Formulas use both variables and constants to describe mathematical rules. Once a formula is set, you can use substitution to replace variables with numbers.

For example, the perimeter of a square is found using the formula . The number is a constant because every square has exactly four sides. The side length and the perimeter are variables because they change depending on the size of the square.
Avoid context mistakes
While variables are usually letters and constants are usually numbers, a letter can sometimes represent a named constant. Context determines what is fixed and what changes.

In the equation , and are variables that represent changing coordinates on a line. The letters and represent the line's steepness and starting point. For any single line, and are fixed numbers, making them named constants in that specific context. Another common named constant is , which always represents approximately , even though it is written as a symbol.
Worked examples
Applying the definitions of variables and constants makes it easier to evaluate formulas and solve applied problems.
Example 1: Identifying constants and variables
Question: In the expression , identify the variable and the constant term.
Method:
- Look for symbols that represent unknown or changing values.
- Look for standalone numbers that do not change.
Answer: The variable is , and the constant term is .
Check: The term changes depending on the value of , but remains fixed.
Example 2: Variables in real-world contexts
Question: A taxi charges a fixed fee of dollars plus dollars for every kilometre traveled. Which parts of this situation are variables, and which are constants?
Method:
- Identify the values that do not change during the journey.
- Identify the values that depend on the specific trip.
Answer: The fixed fee of dollars and the rate of dollars per kilometre are constants. The distance traveled and the total cost are variables.
Check: If you travel kilometres or kilometres, the fee rates stay the same, but the distance and total cost change. Solving math word problems requires identifying these fixed and changing parts.
Example 3: Named constants in formulas
Question: The formula for the area of a circle is . Which symbols represent variables, and which represent constants?
Method:
- Identify the symbols that change based on the size of the circle.
- Identify any symbols that always represent the same numerical value.
Answer: The area and the radius are variables. The symbol is a named constant.
Check: The value of is always approximately , regardless of the circle's size, while and vary.
Common mistakes
- Confusing coefficients with constant terms: In , the number is a coefficient. While itself is a fixed number, the entire term is a variable term because its value changes. Only the is the constant term.
- Assuming all letters are variables: Letters can represent fixed values in specific contexts. For example, in the physics formula , is a constant representing the speed of light.
- Ignoring the negative sign on a constant: In the expression , the constant term is , not just .
Frequently asked questions
Can a constant be a negative number or a fraction?
Yes. A constant can be any real number, including negative numbers, fractions, and decimals, as long as its value does not change.
Why do we use letters for variables?
Letters provide a clear, short way to represent unknown numbers in expressions and equations. They allow us to write general rules that work for any possible number.
Can an expression have more than one variable?
Yes. Expressions like have multiple variables, representing different unknown values in the same relationship.
Practice questions

In the expression shown in the image, what is the constant term?
Which of the following describes a variable in algebra?
A symbol whose value remains exactly the same.
A letter that represents a changing or unknown value.
An expression with no numbers.
A fixed number in a formula.
A letter that represents a changing or unknown value.
In the formula , which parts are the variables?
and
and
and
and
and
Why is the number in the term NOT considered a constant term?
Because is a variable that changes value.
Because it is a coefficient that multiplies a variable.
Because it is a positive number instead of a negative number.
Because expressions cannot contain constant terms.
Because it is a coefficient that multiplies a variable.

The table shows a relationship between inputs and outputs . Which statement correctly describes the variables and constants in this relationship?
and are constants, while is a variable.
and are variables, and the rule involves adding a constant of .
is a constant, and is a variable.
There are no constants because all the numbers in the table change.
and are variables, and the rule involves adding a constant of .
