Independent and dependent variables
The independent variable is the one you choose or change. The dependent variable changes because of it. Buy more tickets, pay more.
Not sure this is the right level? Take the free grade 6 check-up and get a daily practice plan.
What independent and dependent variables are
Many real situations link two amounts that change together. Movie tickets cost $8 each: the more tickets you buy, the more you pay. Two letters stand for the two amounts: t for the number of tickets and c for the total cost.
- The independent variable is the input, the one you choose: t, the number of tickets.
- The dependent variable is the output: c, the cost. It depends on how many tickets you buy.
A quick test: say “___ depends on ___”. The cost depends on the number of tickets makes sense. The number of tickets depends on the cost sounds backwards. The variable in the first blank is the dependent one.
Common Core standard 6.EE.C.9 asks grade 6 students to use variables for two quantities that change together, write an equation for one in terms of the other, and connect the equation to a table and a graph. It is the first step toward functions in grade 8.
See it: pictures to draw with your child
Copy these onto paper or a whiteboard. A quick sketch makes the idea concrete before any written method.
One relationship, three ways
Tickets at $8 each:
- Equation: c = 8t. The dependent variable goes on its own on the left.
- Table:
| Tickets, t | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Cost, c | 8 | 16 | 24 | 32 | 40 |
- Graph: the independent variable goes on the horizontal axis and the dependent variable on the vertical axis. The points (1, 8), (2, 16) and so on lie on a straight line.
Each view helps with different questions. The equation finds the cost of 37 tickets fast. The table shows the pattern going up by 8. The graph shows at a glance that cost grows steadily.
How to write the equation
- Name the variables. Decide which one depends on the other.
- Find the rule. Look at a few pairs. Is the dependent variable always a number times the other (c = 8t)? Or a number more (a = s + 3)?
- Write it with the dependent variable alone: c = 8t, not t = 8c.
- Check every row. A rule that fits the first row might not fit the rest. For the table 1 → 3, 2 → 6, 3 → 9, both y = 3x and y = x + 2 fit the first row, but only y = 3x fits them all.
A full example, start to finish
Sam is 3 years older than his sister. Write an equation and make a table.
- Variables: s is his sister’s age and a is Sam’s age. Sam’s age depends on his sister’s age, so a is dependent.
- Rule: Sam is always 3 more: a = s + 3.
- Table:
| Sister, s | 4 | 5 | 6 | 7 |
|---|---|---|---|---|
| Sam, a | 7 | 8 | 9 | 10 |
The table goes up by 1 in both rows, so the graph is a straight line that does not start at 0: when his sister was born (s = 0), Sam was already 3.
Variables practice
Pick the dependent variable, the equation that fits, or the missing value. New stories and tables every time.
What comes next
In grade 7 these relationships become proportional relationships, and in grade 8 they are called functions. The number that multiplies the variable, like the 8 in c = 8t, becomes the slope.
What to say to your child
A short script for teaching it the first time. Pause after each line and let your child do the next step.
- “If you buy more tickets, what happens to the cost?”
- “So which one depends on the other?”
- “The number you choose is the independent variable. The one that changes because of it is the dependent variable.”
- “Let’s fill a table: 1 ticket, 2 tickets, 3 tickets…”
- “Can you write a rule that works for every row?”
More worked examples
Example 1: Hours worked and pay at $12 an hour
Pay depends on hours, so pay p is dependent and hours h independent: p = 12h.
Example 2: Pick the equation for x: 1, 2, 3 and y: 5, 6, 7
y = x + 4. Check every row: 1 + 4 = 5, 2 + 4 = 6, 3 + 4 = 7.
Example 3: A car goes 60 miles each hour. Distance after 4 hours?
d = 60h, so d = 60 × 4 = 240 miles.
Practice questions (answers below)
Ask these out loud or write them down. Check each answer, and ask “how did you get that?” for one or two.
- Plant height and days of growth: which is dependent?
- Pencils p in b boxes of 12: equation?
- x: 2, 4, 6 and y: 10, 20, 30. Equation?
- x: 1, 2, 3 and y: 8, 9, 10. Equation?
- c = 8t. Find c when t = 6.
- Which axis shows the independent variable?
- Lena earns $9 an hour. Earnings for 5 hours?
- Is the number of tickets dependent on the cost?
Show the answers
- Height
- p = 12b
- y = 5x
- y = x + 7
- 48
- The horizontal (x) axis
- $45
- No, the cost depends on the tickets
Common mistakes
How to teach it at home
Taxi and phone plans
Any bill with a starting fee and a cost per unit is a linear function. Ask: what is the rate of change, and what is the initial value?
Graph a walk
Walk away from a wall, stop, then walk back, while someone times it. Sketch distance against time together.
Input–output game
One person thinks of a rule like “double it and add 1”. The other gives inputs and guesses the rule from the outputs.
By grade
- Grade 6 (6.EE.C.9): independent and dependent variables, equations, tables and graphs.
- Grade 7 (7.RP.A.2): proportional relationships and the constant of proportionality.
- Grade 8 (8.F.A.1): functions.
More for each grade: Grade 6 math and the CBSE class 6 maths guide.
Worksheets and practice

Evaluating expressions worksheet: printable PDF with an answer key.
Last reviewed
Questions parents ask
What is an independent variable?
The input: the amount you choose or change, like the number of tickets you buy.
What is a dependent variable?
The output: the amount that changes because of the independent variable, like the total cost.
How do you tell which variable is dependent?
Say “___ depends on ___”. The variable that fits the first blank is the dependent one.
Which variable goes on the x-axis?
The independent variable goes on the horizontal x-axis and the dependent variable on the vertical y-axis.
What grade learns independent and dependent variables?
Grade 6, in Common Core standard 6.EE.C.9.