The independent and dependent variables are the two main types of variables in a science experiment. A variable is anything you can observe, measure, and record. This includes measurements, colors, sounds, presence or absence of an event, etc.

The **independent variable** is changed to test its effects on the **dependent variable**. In other words, the dependent variable “depends” on the independent variable. The independent variable is sometimes called the controlled variable, while the dependent variable may be called the experimental or responding variable.

### How to Tell the Independent and Dependent Variable Apart

Both the independent and dependent variables may change during an experiment, but the independent variable is the one you can measure or control, while the dependent variable is one you measure in response to this change. The easiest way to tell the two variables apart is to phrase the experiment in terms of an “if-then” or “cause and effect” statement. If you change the dependent variable, then you measure its effect on the dependent variable. The cause is the independent variable, while the effect is the dependent variable. If you state “time spent studying affect grades” (independent variables determines dependent variable), the statement makes sense. If your cause and effect statement is in the wrong order (grades determine time spent studying), it won’t make as much sense.

Certain variables are easy to spot. Time and age are almost always the independent variable in an experiment. You can measure them, but you can’t control any factor to change them.

### Examples of Independent and Dependent Variables

For example, if you want to see whether changing dog food affects your pet’s weight, you can phrase the experiment as, “If I change dog food, then my dog’s weight may change.” The independent variable is the type of dog food, while the dog’s weight is the dependent variable.

In an experiment to test whether a drug is an effective pain reliever, the presence, absence, or dose of the drug is the variable you control (the independent variable), while the pain level of the patient is the dependent variable.

In an experiment to determine whether ice cube shapes determine how quickly ice cubes melt, the independent variable is the shape of the ice cube, while the time it takes to melt is the dependent variable.

### Graphing Independent and Dependent Variables

By convention, the independent variable is plotted on the x-axis of a graph, while the dependent variable is plotted on the y-axis. Use the DRY MIX acronym to remember the variables:

D is the dependent variable

R is the variable that responds

Y is the y-axis or vertical axis

M is the manipulated or controlled variable

I is the independent variable

X is the x-axis or horizontal axis