// Field files for grades 5–12Observe. Measure. Explain.
Home / Scientific method / Confounding variable
SM-08

Confounding variable

An outside factor that sneaks in and changes your result for the wrong reason
Core conceptGrades 7–12

01 // How it's different from a controlled variable

A confounding variable is an outside factor that changes along with your independent variable, without you meaning it to — and it offers a second possible explanation for your result. That's the key difference from a controlled variable: a controlled variable is something you deliberately hold constant on purpose, while a confounding variable is something you failed to hold constant, often without realizing it.

When a confounding variable is present, you can no longer be sure whether your independent variable caused the result, or whether the confounding variable did — the experiment can no longer tell the two apart.

02 // A confounding variable in action

A student tests whether fertilizer makes bean plants grow taller. The fertilized plants are placed on a sunnier windowsill than the unfertilized ones, because that's where the pot happened to fit.

Independent variable (intended)Fertilizer (yes / no)
Confounding variable (unintended)Amount of sunlight

Formula If the fertilized plants grow taller, is it the fertilizer, the extra sunlight, or both?

Work
The sunnier plants got fertilizer AND more light — both changed together.
Taller growth could be explained by either variable.
The experiment can no longer isolate fertilizer's real effect.
Result The result is uninterpretable until sunlight is controlled — for example, by placing every pot on the same windowsill or under identical grow lights.

03 // How to catch one before it wrecks your data

  • Before running the test, list every factor besides your independent variable that could plausibly affect your dependent variable — then check whether each one is actually the same across every group.
  • Confounding variables are easiest to introduce by accident when groups aren't treated identically in every way except the one thing you're testing.
  • If you discover a confounding variable after the fact, the honest move is to report it as a limitation, not to hide it or ignore it in your conclusion.

04 // Questions people ask

What is the difference between a confounding variable and a controlled variable?

A controlled variable is something you intentionally hold constant across every group in your experiment. A confounding variable is something you failed to hold constant — an outside factor that changed along with your independent variable without you meaning it to, and that could explain your result instead.

How do you fix a confounding variable in an experiment?

Identify what's changing besides your independent variable, and change your setup so that factor is the same for every group — for example, using identical lighting, identical starting conditions, or randomly assigning subjects to groups so uncontrolled factors average out.

Can a confounding variable ever be useful?

Not usually intentionally, but noticing one after the fact can be valuable — it can reveal a factor you hadn't thought to test, and sometimes leads to a better follow-up experiment specifically investigating that factor.