Dependent and independent variables

A variable is considered dependent if it depends on (or is hypothesized to depend on) an independent variable. Dependent variables are the outcome of the test they depend on, by some law or rule (e.g., by a mathematical function). Independent variables, on the other hand, are not seen as depending on any other variable in the scope of the experiment in question. Rather, they are controlled by the experimenter.

In single variable calculus, a function is typically graphed with the horizontal axis representing the independent variable and the vertical axis representing the dependent variable. In this function, y is the dependent variable and x is the independent variable.