Algebra textbooks throw the words coefficient and constant around as if everyone already knows the difference. Ask a student who has been using the words for a year, though, and you often get an uncertain answer. This article pins down what each word means, where they overlap, and how to read a term at a glance and say which is which.
The one-line answer
In the expression 3x + 5:
- the coefficient is 3 — it is the number multiplying the variable x;
- the constant is 5 — it is the standalone number with no variable attached.
That is the whole distinction in its most basic form. A coefficient is bolted to a variable. A constant stands by itself.
The test that separates them
Here is a one-question test you can run on any term in any expression:
Is there a variable written right next to this number (with nothing between them except multiplication)?
- Yes → the number is a coefficient.
- No → the number is a constant.
Try it on 7a - 4b + 9.
- 7 sits next to a, so 7 is the coefficient of a.
- -4 sits next to b, so -4 is the coefficient of b. (Yes, the sign travels with the number.)
- 9 has no variable next to it. It is the constant.
Try it on -x + 12.
- -x has an invisible -1 in front of the x (see the invisible-coefficient trap), so the coefficient of x is -1.
- 12 has no variable, so 12 is the constant.
Try it on \tfrac{2}{3}y.
- \tfrac{2}{3} sits next to y. Coefficient. And there is no constant term — the expression is a single term.
Why we bother separating them
The two words exist because coefficients and constants behave differently when you evaluate.
- Coefficients scale with the variable. Double x in 3x + 5 and the 3x part doubles too. The 5 sits unchanged. A coefficient is a multiplier; it stretches or shrinks the variable's contribution.
- Constants contribute a fixed amount, no matter what the variable is. If x = 0, the 3x term vanishes but the 5 is still 5. Plugging x = 10 into 3x + 5 gives 35, of which 5 came from the constant and 30 from the scaled variable.
This is why the y-intercept of the line y = 3x + 5 is 5 — the value of y when x = 0, exactly what the constant contributes. And the slope is 3, because that is the coefficient: how fast y changes when x changes by 1.
The broader use of "coefficient"
There is a second, slightly wider use of the word coefficient that trips up students who have only met the simple version. In a polynomial like
people will say "the coefficient of x^2 is 2" and "the coefficient of x is 3." That is still the number multiplying the variable part — the variable part has just been generalised to include powers like x^2, x^3, xy.
In this broader sense, every term has a coefficient, including the constant term. The constant 5 is then called the coefficient of x^0, because x^0 = 1 and 5 = 5 \cdot x^0. By that reading, a constant is a coefficient — specifically, the coefficient of the x^0 term. You do not have to use this broader language yourself; just recognise it so "the coefficient of x^2 in 2x^2 + 3x + 5 is 2" does not read as a contradiction to "the coefficient is the number attached to a variable."
Worked examples
Example 1. Identify the coefficients and constants in -5x + 7y - 2.
- Coefficient of x: -5.
- Coefficient of y: 7.
- Constant: -2.
Example 2. In x^2 - 4x + 9, list the coefficient of every power of x.
- Coefficient of x^2: 1 (invisible, but always 1 when nothing is written in front).
- Coefficient of x^1: -4.
- Coefficient of x^0 (the constant term): 9.
Example 3. Is the \pi in \pi r^2 a coefficient or a constant? In this expression, it is a coefficient — it multiplies the variable r^2. Even though \pi is a numerical constant (its value never changes), in the structural sense used here it is the coefficient of r^2. The word constant has two distinct uses: "a fixed number" (like \pi, e, c) and "the standalone term of an expression." Context tells you which is meant.
Example 4. In 3x + 0, is 0 a constant? Yes — 0 is a valid constant term. Writing it is unusual because it contributes nothing to the value, but the constant has not vanished; it is just zero.
The takeaway
Keep the two ideas cleanly separated as you read an expression:
- A coefficient rides on a variable. It answers how much of this variable do we have? You find it by looking just to the left of a variable (or a variable raised to a power).
- A constant stands alone. It answers what do we add regardless of the variable? You find it by spotting the number without a letter next to it.
Only after you are fluent with the simple version does the broader sense — "every term has a coefficient, including the constant term" — stop feeling like a trick and start feeling like the natural extension it is.