What is an example of an independent and a dependent variable?

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

  • The type of soda – 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 soda.