In experiments, the difference between independent and dependent variables is which variable is being measured. Here's how to tell them apart.