On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 6-8

Constant vs Variable

A constant is a symbol with a fixed value (π, 7); a variable is a symbol whose value can change or is undetermined (x, t).

A=πr2 (π is constant, r is variable)

Quick Answer

A constant is a symbol with a fixed value (π, 7); a variable is a symbol whose value can change or is undetermined (x, t). In A=πr2, π is always about 3.14159, while r and A change from circle to circle. You use the distinction to know which letters you can choose or solve for, and which are simply numbers written as symbols. Some letters, like m in y=mx+b, sit in between: fixed for one line but different for another.

Why This Matters

Knowing which symbols are fixed tells you how many unknowns a problem really has. In F=1.8C+32 the 1.8 and the 32 never change, so a reading of F=50 gives C=50−321.8=10 in one step. Mistake a constant for a variable and a solvable problem looks impossible; mistake a variable for a constant and you miss that the answer changes from case to case.

Intuitive Explanation

Look at a bakery sign: "cupcakes $2 each". The price is a constant, because every customer today pays $2 per cupcake. The number of cupcakes is a variable: one customer buys 3, the next buys 12. The bill C=2n changes because n changes, never because the 2 does. In any formula, the constants are the fixed facts of the situation and the variables are the parts that differ from one use to the next.

Some constants have names. π is about 3.14159 and is the same for every circle ever drawn, and e≈2.71828 is another. Other constants are plain numbers, like the 2 in 2n or the 32 in F=1.8C+32. A letter such as k or c often stands for a constant whose value the problem has not told you yet: in "distance is k times time", k is fixed for this car on this trip even if you don't know it.

The same letter can play different roles in different problems, so read each situation fresh. In y=3x+1 the 3 is fixed and x varies. In the family y=mx+1, the slope m is fixed along any one line but changes when you switch to another line; that in-between role is called a parameter. A true constant never changes in any case of the problem.

Think of it like this. Constants are like the rules of a board game and variables like the dice: the rules stay the same every turn, while the dice show something new on each roll. House rules that change from one game night to the next are like parameters, fixed for tonight but not forever.

Core idea. A constant holds one fixed value; a variable's value can change or is yet unknown.


When to Use

Sort constants from variables before you solve, rearrange or graph: count the quantities that can change, and treat named constants such as π and e, and given fixed amounts such as a price per item, as known numbers. Ask whether the symbol could take a different value in another case of the same problem. If a letter is fixed for one case but changes between cases, it is a parameter; to decide which quantity drives which, use independent and dependent variables.

Tip. Ask: Could this symbol's value be different in another situation, or is it locked forever?

How to Recognize It

Look at each symbol in the formula and at what would happen to it if the situation changed slightly.

  1. Does the symbol stand for a named number such as π or e, or for a plain numeral?

    Then it is a constant: π is about 3.14159 in every circle ever drawn. You never solve for it; you put in its value. Letters like x, r or t are usually the variables.

  2. Does the value change from one row of a table, or one point of a graph, to the next?

    If yes, it is a variable. In a table of circle sizes, r and A change from row to row while π does not. A value that changes only between different tables is a parameter.

  3. Is the number multiplying a letter, like the 3 in 3x?

    That number is a coefficient. It is usually a constant, but in a family such as y=kx the coefficient k is a parameter. Calling it a coefficient names its job, not whether it can change.

  4. Is a letter given a fixed value for the whole problem, like k in 'the cost is k dollars per kilogram'?

    A letter can be a constant: the price per kilogram is the same for every purchase, so k stays fixed while the weight w and the cost C=kw change. Writing a letter does not make a quantity vary.

Constant vs Variable compared with Parameter, Independent variable, and Coefficient

Every row labels a symbol in a formula, so the words overlap. Ask how the value behaves: never changes (constant), changes within one situation (variable, and the one you choose is the independent variable), changes only between situations (parameter), or multiplies a letter (coefficient).

Constant vs Variable

Meaning
Use this when you need to decide whether a symbol's value is fixed or free before manipulating it.
Key test
Could this symbol's value be different in another situation, or is it locked forever?
Formula
A=πr2 (π is constant, r is variable)
Example
In A=πr2, which symbols are constant and which are variable?

Parameter

Meaning
A value fixed within one case but changeable between cases.
Key test
Use when a 'constant' actually shifts from situation to situation, like m in y=mx+b.
Formula
y=mx+b
Example
m fixed per line

Independent variable

Meaning
Specifically the input you choose; a constant is never chosen.
Key test
Use when distinguishing input from output among the variables.
Formula
y=f(x)
Example
x is the input

Coefficient

Meaning
The fixed number multiplying a variable in a term; often a constant.
Key test
Use when naming the multiplier, e.g. the 3 in 3x.
Formula
3x
Example
3 is the coefficient

Formula & Notation

A=πr2 (π is constant, r is variable)
A constant is a fixed element c∈R (e.g., π, e, 0, 1). A variable x ranges over a domain D⊆R. In an expression f(x)=ax+c, a and c are constants while x is the free variable.

How to read it: Named constants: π≈3.14159, e≈2.71828. Arbitrary constants often use c, k, or C. Variables use x, y, z, t, etc.

Worked Examples

Example 1 — Circle area

Easy

In A=πr2, which symbols are constant and which are variable?
Show the steps and the answer
  1. Work out two areas: r=3 gives A=9π≈28.27, and r=5 gives A=25π≈78.54.

    Comparing two cases of the same formula shows which symbols changed between them.

  2. Note that π was about 3.14159 both times.

    π is the same for every circle, so it is a constant.

  3. Note that r and A took new values.

    The radius can be chosen and the area changes with it, so both are variables.

  4. Spot the constant in the exponent: the 2 in r2 never changes either.

    Numbers written into a formula are constants too, not only named ones like π.

Answer: π constant; r,A variable

Takeaway: Compare two cases of a formula: whatever stays put is a constant, whatever changes is a variable.

Example 2 — Changes between cases

Standard

In y=mx+b, is m a constant?
Show the steps and the answer
  1. Look at one line, y=3x−2: at x=0,1,2 the values are y=−2,1,4.

    Along this line m is 3 at every point, so within the line it behaves like a constant.

  2. Look at another line, y=−x+4.

    Here m=−1, so m took a different value in a different case.

  3. Compare with π, which has the same value in every problem.

    A true constant never changes between cases, but m does.

  4. Classify m as a parameter.

    Fixed within one case but changeable between cases is exactly what a parameter is.

Answer: m is a parameter

Takeaway: A letter that is fixed for one line but different for another is a parameter, not a constant.

Example 3 — Find the mistake: a named constant treated as unknown

Application

A round tabletop has circumference 314 cm. Jo writes: "314=2πr has two unknowns, π and r, so I can't find the radius." Find the mistake and find r.
Show the steps and the answer
  1. Recall that π is about 3.14159 for every circle.

    A named constant is a known number written as a symbol, so it is not an unknown.

  2. Count the real unknowns: only r.

    With one unknown and one equation, the radius can be found.

  3. Divide both sides by 2π: r=3142π≈3146.283≈50.

    Isolating r treats 2π≈6.283 as an ordinary number.

  4. Check: 2π(50)≈314.2 cm.

    The radius reproduces the given circumference to rounding.

Answer: r≈50 cm

Takeaway: Named constants such as π are numbers in disguise; only the letters that can change are unknowns.

Where You'll See It

  • Converting inches to centimetres

    Since 1959 an inch has been defined as exactly 2.54 cm, so c=2.54i has one constant and two variables. A 12-inch ruler is 2.54×12=30.48 cm long, and a 65-inch TV screen measures 165.1 cm across its diagonal.

  • Scaling a pancake recipe

    A recipe uses 1.5 cups of flour per batch. The amount per batch is a constant and the number of batches b is a variable, so the flour needed is 1.5b cups. For 4 batches you need 6 cups; changing b changes the flour, never the 1.5.

Common Mistakes

  1. The slip: Trying to solve for a named constant

    Instead: π and e have fixed values; you never isolate them.

  2. The slip: Assuming every letter is a variable

    Instead: letters like c or k often stand for fixed unknown constants.

  3. The slip: Forgetting context

    Instead: the same letter can be a constant in one problem and a variable in another.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. In C=2πr, find C when r=5, using π≈3.14. Which symbols are constants and which are variables?

    Hint: Which symbols could change if you measured a different circle?

  2. A taxi fare is F=3+2d dollars for d km. Which numbers stay the same for every trip, and which quantities change? Find F when d=8.

    Hint: Think about what is different between a short trip and a long one.

  3. The perimeter of a square is P=4s. Find P for s=2, 5 and 9. Which symbol never changes?

    Hint: Multiply each side length by the same number.

  4. The number of seconds in h hours is S=3600h. Find S when h=2.5, and say which part is the constant.

    Hint: Multiply the hours by the number of seconds in one hour.

  5. Phone plans cost C=20+kg dollars, where g is gigabytes used. Every company charges the same $20 base fee, but each sets its own price k per GB. Is k a constant, a variable or a parameter? What about 20?

    Hint: Does k change within one plan, between companies, or never?

  6. A circle's area is A=12.56. Max writes π=12.56÷r2 and says he needs to solve for π. What is wrong, and what is the radius?

    Hint: Is π ever unknown?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

If π is a constant, why can't I write it exactly as a decimal?

Its value is fixed, but its decimal never ends and never repeats, so any decimal you write, like 3.14 or 3.14159, is an approximation. Being constant means the value never changes, not that it is easy to write down. That is why exact answers keep the symbol, as in an area of 9π9\pi, and you round only at the very end.

Is g, the pull of gravity, a constant?

Near Earth's surface it is treated as one, about 9.89.8 metres per second squared, but it varies slightly with height and place, and on the Moon it is about 1.61.6. So gg is a constant for problems set on Earth and a parameter when you compare planets. Truly universal constants, like the speed of light, have the same value everywhere.

Can a variable ever have only one possible value?

Yes. In 2x+3=112x+3=11, xx is a variable, yet only x=4x=4 makes the equation true. The letter is called a variable because, before solving, it could stand for any number; the equation then narrows it down to one. That is different from a constant like 7, which was never allowed to be anything else.

Are the numbers in F=95C+32 constants?

Yes. The 95\frac{9}{5} and the 32 come from how the two temperature scales are defined, so they are the same in every conversion. CC and FF are the variables: put in C=100C=100 and you get F=212F=212; put in C=0C=0 and you get F=32F=32. Changing one of those constants would give a different scale, not a different temperature.

Learning Path

← Before

Variables
Constant vs Variable

You are here

Start from Variables: a letter can stand for a number. This concept adds the habit of checking each symbol: fixed for good, or free to change? That tells you what you can solve for and what is just a number. Next, Parameter covers letters that are fixed in one case but change between cases, and Function Families use parameters to describe many related graphs at once.

See Also