By Dr. Harman Brah, MD · Judge, California Science & Engineering Fair
The independent variable is the one thing you change on purpose, the dependent variable is the thing you measure to see what happened, and the controlled variables are everything else you keep the same. If a student tests whether light color affects how tall bean seedlings grow, light color is the independent variable, seedling height is the dependent variable, and the soil, water, pot size, temperature and seed type are controlled variables.
The simplest way to remember it is one change, one measure. Everything else stays still.
The independent variable: the one thing you change
This is the factor the student chooses and sets. It is the “cause” side of the question.
In a good science fair project there is usually just one. If a student changes light color and the amount of water at the same time, and the plants grow differently, there is no way to tell which change did it.
A quick test: the independent variable is the one you could write on a label before the experiment starts. “Red light.” “Blue light.” “No fertilizer.” “Double fertilizer.”
The dependent variable: the one thing you measure
This is the result, the “effect” side of the question. It depends on what you did to the independent variable, which is where the name comes from.
It needs to be something you can actually measure, ideally with a number. “How healthy the plant looks” is hard to defend. “Height in centimeters on day 14” is easy to defend.
Decide how and when you will measure it before you start. Same ruler, same time of day, same way of reading it, every time.
Controlled variables: everything you keep the same
These are all the other things that could affect the result, held steady on purpose so they cannot muddy the answer.
Students often list three or four and stop. A careful student keeps going. For the seedling example, think about soil, water amount, watering schedule, pot size, seed variety, room temperature, distance from the light and how long the light stays on each day.
Write the list in your notebook and say how you kept each one the same. That list is often what a judge asks about first.
Controlled variables vs the control group
These two sound alike and get mixed up constantly.
Controlled variables are the conditions you hold constant across every group. The control group is a separate comparison group where the independent variable is left at its normal or untreated level.
In the seedling example, plants under ordinary white light could serve as the control group. Every group, including the control, gets the same soil, water and pot size. Those shared conditions are the controlled variables.
A project can have many controlled variables and still be missing a control group. Without that comparison, there is nothing to measure the change against.
More examples, side by side
These are simple illustrations of how to sort variables, not real student projects.
Does salt change how fast ice melts? Independent: amount of salt on each ice cube. Dependent: minutes until fully melted. Controlled: cube size, starting temperature, room temperature, surface the cube sits on. Control group: cubes with no salt.
Which paper towel absorbs the most water? Independent: brand of paper towel. Dependent: milliliters of water absorbed. Controlled: towel size, water temperature, soaking time, how long it drips before measuring.
Does screen time before bed affect how long it takes to fall asleep? Independent: minutes of screen time. Dependent: minutes to fall asleep. Controlled: bedtime, caffeine, room conditions. This one involves human participants, so it needs SRC or IRB review before any data is collected. A survey or sleep study started before approval cannot be entered.
Does the amount of training data change how accurate a model is? Independent: number of training examples. Dependent: accuracy on the same held-out test set. Controlled: model type, settings, test set, random seed. Computational projects have variables too, and judges expect them to be just as clearly stated.
Why “one change, one measure” matters to judges
From our experience judging at the California Science & Engineering Fair, controls and honest statistics are where most projects lose points. Unclear variables are usually where that starts.
Judges reward a student who can explain why each choice was made, more than one who used the most advanced technique. A student who can say “I changed this, I measured that, and here is how I kept everything else the same” is already answering the questions that matter.
One clear question with real data beats an ambitious project with no result. Testing five things at once often ends with no result anyone can trust.
Writing the hypothesis from your variables
Once the variables are clear, the hypothesis almost writes itself. A useful shape is: if I change the independent variable in this way, then the dependent variable will change in that way, because of a stated reason.
For the seedlings: if seedlings are grown under blue light instead of white light, then they will be taller on day 14, because of a reason the student finds in their background reading.
The “because” is the student’s own thinking. That is the part judges probe at the board.
The student does the work
A mentor can ask the questions that sharpen a project. What exactly are you changing? How will you measure it? What else could affect the result, and how will you hold it steady?
The student answers those questions, runs the experiment, records the data and writes it up. That is what lets them defend the work without a script when a judge asks why.
Our physician-led mentors guide students through research while the student does the work. See our science fair and research mentorship, or read about choosing a science fair project idea in high school.
FAQ
Can a science fair project have more than one independent variable?
It can, but for most students it should not. With two changes at once, it is hard to tell which one caused the result. One independent variable, tested well with a proper control group, makes a stronger and easier-to-defend project.
What is the difference between a control group and a controlled variable?
Controlled variables are the conditions kept the same for every group, like soil, temperature or timing. The control group is the comparison group where the independent variable is left untreated or at its normal level. A good project needs both.
How many controlled variables does my child need to list?
There is no set number. List every factor that could reasonably affect the result and explain how it was kept the same. A longer, thoughtful list shows a judge the student has considered what could go wrong.
Do computer science or data projects have independent and dependent variables?
Yes. Whatever setting the student changes is the independent variable, the result they score is the dependent variable, and everything held fixed, such as the test set or settings, is controlled. Judges expect these to be stated as clearly as in a lab experiment.
My child’s hypothesis was wrong. Is the project ruined?
No. If the variables were clear and the controls were sound, a result that goes against the hypothesis is still a real finding. Report it honestly and explain what might be going on. Judges respect that.
More guides on this topic
- My High Schooler Is Working with a Professor. What Should They Do with the Research?
- How to Come Up With a Science Fair Project Idea You Actually Care About
- Does ISEF or a Science Fair Help With College Admissions?
- How to Write a Science Fair Abstract (ISEF Rules, With a Template)
- Regeneron STS Deadline 2027: November 5, 2026, 8 PM ET
Planning a Science Fair or STS Project?
This guide is the general version. Work one on one with a physician who judges at the California state fair and a PhD chemist, on a project your student owns from the first question to the final poster.