Independent & Dependent Variables in Tables and Graphs

Imagine tracking a plant’s height every few days. You record the day first, then measure how tall it is on that day. Day and height are both variables, but they play different roles. Time acts as the input you observe, and the height is the measured output. This distinction makes tables and graphs easier to understand.
Tell inputs from outputs
An independent variable is the input that you choose, set or observe. A dependent variable is the output whose value is determined by or measured in relation to that input. In a model y = 3x, x is the independent variable and y is the dependent variable.
For example, the cost of notebooks depends on how many you buy. The number of notebooks is the input; the total cost is the output. Depending on the question, the same quantities can have different roles, so identify which quantity is modeled as depending on the other.
Read variables in a table
A fruit stand sells apples for $2 each. Let a be the number of apples and c the total dollar cost. The relationship is c = 2a.
| Apples a (input) | Cost c in dollars (output) |
|---|---|
| 0 | 0 |
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
Apples are independent because we choose the count. Cost is dependent because it changes according to that count. The input is often the left column, but read the headings and story rather than relying only on column order.
Read variables in a graph
By convention, a graph of y as a function of x puts the independent variable along the horizontal x-axis and the dependent variable along the vertical y-axis. Always read the graph’s labels and units.
A graph can show an association without proving that one variable causes the other. In an experiment, a researcher may deliberately vary an input; in observational data, a variable such as time may simply be a reference. A graph’s slope or direction is not what determines which variable is dependent.
Examples
Example 1: Identify the variables in a formula
The distance d a runner travels at a constant speed is d = 5t, where t is time in hours. Time is the input and distance the output.
Example 2: Read a table in either order
A table lists total pay first and hours second. Pay is $12 for each hour. The column order does not change the roles: hours are independent, pay is dependent.
Example 3: Interpret a decreasing output
A tank has 40 liters of water and drains 4 liters per minute. Remaining water is w = 40 − 4t, for 0 ≤ t ≤ 10 minutes. At 10 minutes the tank is empty, so the model stops there: the amount cannot become negative. Time t is independent and water w dependent, even though the output decreases.
Video lessons
Input and output explorer
Choose one everyday relationship and a whole-number input from 0 to 5. See which variable is independent, which is dependent, and how the output changes.
Exercises
Ready to try it yourself? Choose an answer to each of these ten new questions. If you get stuck, use the hint and try again.
Frequently asked questions
Can an independent variable be time?
Yes. Time is often the input or reference variable in a model or an observational graph.
Does the dependent variable always increase?
No. It can increase, decrease, stay constant or follow a more complicated pattern.
Does the dependent variable always have to be called y?
No. A letter such as c for cost or d for distance may be clearer; read the problem’s definitions.



What people say about "Where Is the Independent Variable on a Graph and Table?"?
No one replied yet.