What is an example of an independent and dependent variable?

You want to find out how blood sugar levels are affected by drinking diet cola and regular cola, so you conduct an experiment.

  • The type of cola – diet or regular – is the independent variable.
  • The level of blood sugar that you measure is the dependent variable – it changes depending on the type of cola.