Control Variables in Research Design: Definition, Examples, and Best Practices
A control variable is a factor you keep the same, or measure and adjust for, so it can't explain your results. It lets you see the real link between the thing you change and the thing you measure. You may also see it called a controlled variable. This guide gives a plain definition, simple examples, and clear steps for choosing and reporting controls in a thesis or journal article.
Quick answer: what is a control variable?
Definition. A control variable is held constant or adjusted for, so it can't explain the link between the independent and dependent variables.
Simple example. In a test of whether fertilizer helps plants grow, water, light, and soil are control variables. Every plant gets the same amount.
Two ways to control. Experiments hold factors constant by design. Observational studies add measured factors to the analysis as covariates.
Biggest mistake. Adding every available variable. Choose controls for a clear reason, not because the data happen to include them.
In this guide
What Is a Control Variable?
A control variable is any factor you keep the same, or account for, so that it can't explain your results. Your study has an independent variable (the thing you change or compare) and a dependent variable (the outcome you measure). Many other factors could also affect the outcome. Controlling them rules those factors out.
Example
You want to know if a fertilizer makes tomato plants grow taller. The fertilizer is the independent variable. Plant height is the dependent variable. Water, sunlight, soil, pot size, and temperature are control variables. You give every plant the same amount, so any height difference points to the fertilizer.
You can control a variable in two ways. You can hold it constant, as in the tomato test. Or you can measure it and adjust for it in your analysis, which is common when you can't set the conditions yourself.
Not every variable in a study is a control. The independent variable, the dependent variable, and any mediators or moderators you want to test play other roles. A control is there only to remove another explanation, not to test a hypothesis about its own effect.
Control Variables vs. Independent, Dependent, and Confounding Variables
Each variable type has a different job in a study. The table compares them using the tomato test and a survey study of income and savings.
| Variable type | Its job | Tomato experiment | Survey on income and savings |
|---|---|---|---|
| Independent variable | The cause you change or compare | Fertilizer or no fertilizer | Household income |
| Dependent variable | The outcome you measure | Plant height | Amount saved each month |
| Control variable | Held constant or adjusted for, so it can't explain the result | Water, light, soil, pot size | Age, household size, education |
| Confounding variable | Affects both the cause and the outcome; it becomes a control once you measure and adjust for it | Sunlight, if fertilized plants sat by the window | Education, which raises income and also shapes saving habits |
| Mediator | The path the effect travels through; don't control it when you want the total effect | Nitrogen taken up by the roots | Having a retirement account through work |
For more on the first two rows, see our guide to dependent and independent variables. Our article on confounding variables covers the confounder row in depth.
Control Variables in Experimental vs. Observational Research
Experiments control most factors through design, while observational studies control them in the analysis. In an experiment, you set the conditions and assign people or units at random. In an observational study, you can only measure what already happened and adjust for it.
| Feature | Experimental research | Observational research |
|---|---|---|
| Main way to control | Random assignment, plus holding conditions the same | Adding measured factors to the model as covariates |
| What gets controlled | Setting, procedure, timing, instructions | Traits of participants, past exposures, setting |
| Handles factors you didn't measure? | Yes, random assignment balances them on average | No, you can adjust only for what you measured |
| Where controls appear in the paper | Procedures (fixed conditions) and analysis (any covariates) | Analysis (the list of covariates in each model) |
| What to report | Every condition held constant, plus any covariates | Every control, with a reason for each |
Our guides to experimental research design and observational studies explain each design in more detail.
Examples of Control Variables in Research
Control variables depend on the field and the question. These examples show how they work in five kinds of studies.
- Financial risk tolerance. A study of gender and risk tolerance accounts for factors such as income, wealth, education, and age. Fisher and Yao (2017) found that the gender gap in risk tolerance was explained by these kinds of individual factors, not by gender itself.
- A new teaching method. A study of a new method controls for prior grades, family income, and class size. Random assignment balances these, and adding them as covariates makes the estimate more precise.
- Flexible schedules at work. A study of flexible hours and job satisfaction controls for job type, years on the job, pay, and the quality of the supervisor. Each one affects satisfaction on its own.
- Exercise and heart health. A study controls for age, sex, smoking, diet, and health at the start. Without them, people who were already healthy and exercise more would make exercise look more helpful than it is.
- Reading programs. An experiment comparing two programs keeps the test time, materials, and room the same. It may also adjust for reading level and past teaching as covariates.
How to Choose Control Variables
Choose controls based on theory and prior research, not on what your dataset happens to include. Follow these five steps.
- Start with your theory. List factors that theory says affect the outcome and are also linked to your independent variable. These are your candidate controls.
- Read recent studies. Note which controls published studies on your topic use, and why. Reviewers will expect the standard ones.
- Draw a causal diagram. Sketch arrows between your variables. The diagram shows which candidates are confounders, which are mediators, and which are colliders.
- Keep confounders, drop mediators and colliders. Control for factors that cause both the independent variable and the outcome. Leave out factors that sit on the causal path or are caused by both.
- Write down a reason for each. Give every control a one-sentence reason and a citation. You'll reuse these reasons in your methods section.
The three diagrams below show the difference. In each, X is the independent variable and Y is the outcome. Cinelli, Forney, and Pearl (2024) walk through many more cases of good and bad controls.
Confounder: control for it
Z → X and Z → Y
Age affects both exercise (X) and heart health (Y). Adjusting for age removes its pull on the result.
Mediator: don't control for it
X → M → Y
Exercise (X) lowers blood pressure (M), which improves heart health (Y). Adjusting for M hides part of the effect.
Collider: don't control for it
X → C ← Y
A test score (X) and a talent score (Y) both drive admission (C). Studying only admitted students can create a false link between them.
Common Mistakes with Control Variables
The same six problems show up in graduate research again and again. Knowing them ahead of time can save you a round of revisions.
- Adding every available variable. This "kitchen sink" approach isn't more rigorous. Extra variables can widen your standard errors, cost you power, and slip in mediators or colliders. Choose each control for a reason.
- Controlling for a mediator. A mediator carries part of the effect you want to measure. Adjusting for it removes that part, so you no longer estimate the total effect.
- Controlling for a collider. A collider is caused by both the independent variable and the outcome, or by their causes. Adjusting for it can create bias instead of removing it.
- Assuming controls fix everything. Statistical control handles only the factors you measured, and only if the model is set up correctly. Factors you didn't measure can still bias the result.
- Reading the controls' coefficients as effects. Westreich and Greenland (2013) named this the "Table 2 fallacy." A model built to estimate one effect doesn't give fair estimates for its controls.
- Listing controls without reasons. Reviewers want to know why each control is there. A bare list invites questions and slows down review.
Tip
Keep the same control names, units, and order in your text, your tables, and your appendix. When a control appears in one model but not another, say why in a table note.
How to Report Control Variables in Your Methodology Section
Reviewers expect a short, clear account of what you controlled and why. A strong methods section covers five points.
- Name each control. List each one and say how you measured it.
- Give the reason. Explain why each one could confound the result, and cite studies that controlled for it.
- Describe the method. Say whether controls entered as covariates, matching criteria, or strata.
- Show results with and without controls. Report how the main estimate changes when you add them. If it shifts a lot, explain why.
- Name what you couldn't control. Every observational study has some factors left over. State them in your limitations section.
For a section-by-section plan, see our guide on how to write a methods section that reviewers won't reject.
When to Get Help With Your Methods Section
You can usually check your own controls with your advisor and the checklist above. The choice of controls is a research decision, so it belongs to you and your committee or coauthors.
An editor helps with how you describe those choices. A careful edit makes each reason easy to follow, keeps variable names consistent across the text and tables, and cuts long sentences. Editors don't check your analysis or verify your results. If you're preparing a thesis or journal article, our academic editing services let you choose an editor with a background in your field.
Make your methods section easy for reviewers to follow
Choose an editor who knows quantitative research. Most editors offer a free sample edit of your first 300 words, with no cost or commitment.
Frequently Asked Questions About Control Variables
What is a control variable in research?
A control variable is a factor a researcher holds constant, or measures and adjusts for, so it can't explain the results. It lets you see the real link between the independent variable and the dependent variable. In an experiment, you might keep the room, timing, and instructions the same. In an observational study, you add measured factors to the analysis as covariates.
Is a controlled variable the same as a control variable?
Yes. "Controlled variable" and "control variable" mean the same thing: a factor kept constant or adjusted for so it can't affect the result. School science classes often say "controlled variable," while research papers more often say "control variable" or "covariate." Don't confuse either term with a control group, which is the group that doesn't receive the treatment.
What is an example of a control variable in an experiment?
Say you test whether a fertilizer helps tomato plants grow. The fertilizer is the independent variable and plant height is the dependent variable. Water, sunlight, soil, pot size, and temperature are control variables. You keep them the same for every plant, so a difference in height can be traced to the fertilizer rather than to growing conditions.
What is the difference between a control variable and a confounding variable?
A confounding variable affects both the independent variable and the outcome, which can create a false link between them. A control variable is any factor you hold constant or adjust for. Measured confounders are the main thing you control for, so the two overlap. But some controls aren't confounders; they're added to make an estimate more precise.
How do I choose control variables for my study?
Choose controls for a reason, not because the data include them. Start with factors that theory links to both your independent variable and your outcome. Check which controls recent studies in your field use. Draw a causal diagram to separate confounders from mediators and colliders. Then keep the confounders and write a short reason for each one.
How many control variables should I include?
There's no single right number. Use the smallest set that covers the confounding your theory predicts. Too few leaves other explanations open, and too many can cost you power. Sample size matters too. A common rule of thumb is 10 to 20 cases per predictor. However, one simulation study found about two per predictor was enough for linear regression (Austin and Steyerberg, 2015).
Can I control for a mediator?
Not if you want the total effect. A mediator sits on the path from the independent variable to the outcome and carries part of the effect. Adjusting for it removes that part. If you want to know how the effect works, run a mediation analysis instead of treating the mediator as a control. That keeps the total effect and the indirect path separate.
What is the kitchen sink approach and why is it bad?
The kitchen sink approach means adding every available variable as a control without a reason. Extra variables can widen standard errors and cost statistical power. They can also slip mediators or colliders into the model, which biases the result. And the model gets harder to explain to reviewers. Choose each control for a stated reason instead.
Do I need control variables in an experimental study?
Usually you need fewer. Random assignment balances other factors on average, so many experiments need no statistical controls in the main analysis. You still hold conditions constant, such as the procedure, room, and timing, and report them in your methods. Some experiments also add baseline scores as covariates to make the estimate more precise.
How should I report control variables in my methodology section?
Name each control and say how you measured it. Give a reason for each one and cite studies that used it. Say whether controls entered as covariates, matching criteria, or strata. Show how the main estimate changes with and without controls. Finally, name the factors you couldn't control in your limitations section, even in a careful study.
Is a control variate the same as a control variable?
No. A control variate is a technique used in computer simulations, such as Monte Carlo methods. It uses a related quantity with a known average to make a simulated estimate less noisy. A control variable is a factor in a research study that you hold constant or adjust for. The names are similar, but the ideas come from different fields.
Related Guides
Our research methodology guide shows how variables fit into a full study design. The guide to mediating vs. moderating variables explains the two variable types most often confused with controls. For running a model with controls, see our multiple regression guide. To plan how many cases you need, read how to calculate sample size.
Sources
- Austin, P. C., and Steyerberg, E. W. (2015). The number of subjects per variable required in linear regression analyses. Journal of Clinical Epidemiology, 68(6), 627-636.
- Cinelli, C., Forney, A., and Pearl, J. (2024). A crash course in good and bad controls. Sociological Methods and Research, 53(3), 1071-1104.
- Fisher, P. J., and Yao, R. (2017). Gender differences in financial risk tolerance. Journal of Economic Psychology, 61, 191-202.
- Westreich, D., and Greenland, S. (2013). The Table 2 fallacy: Presenting and interpreting confounder and modifier coefficients. American Journal of Epidemiology, 177(4), 292-298.
Reviewed by the Editor World editorial team under the direction of Patti Fisher, PhD, founder. Editor World has provided 100% human editing by native English editors since 2010. About Editor World