What do you call a on an experiment and which one condition affects another by keeping all other conditions constant?

In science, a variable is any factor, trait, or condition that can exist in differing amounts or types.

Scientists try to figure out how the natural world works.To do this they use experiments to search for cause and effect relationships. Cause and effect relationships explain why things happen and allow you to reliably predict the outcomes of an action. Scientists use the scientific method to design an experiment so that they can observe or measure if changes to one thing cause something else to vary in a repeatable way.

These factors that change in a scientific experiment are variables.

A properly designed experiment usually has three kinds of variables: independent, dependent, and controlled.

What is an Independent Variable?

The independent variable is the one that is changed by the scientist. Why just one? Well, if you changed more than one variable it would be hard to figure out which change is causing what you observe. For example, what if our scientific question was: "How does the size of a dog affect how much food it eats?"; then, during your feeding experiments you changed both the size of the dog and the time of day the dogs were fed. The data might get a bit confusing— did the larger dog eat less food than the smaller dog because of his size or because it was the middle of the day and dogs prefer to eat more in the morning?

Sometimes it is impossible to just change one variable, and in those cases, scientists rely on more-complicated mathematical analysis and additional experiments to try to figure out what is going on. Older students are invited to read more about that in our Experimental Design for Advanced Science Projects page. To be clear though, for a science fair, it is usually wise to have only one independent variable at a time. If you are new to doing science projects and want to know the effect of changing multiple variables, do multiple tests where you focus on one independent variable at a time.

What is a Dependent Variable?

The dependent variables are the things that the scientist focuses his or her observations on to see how they respond to the change made to the independent variable. In our dog example, the dependent variable is how much the dogs eat. This is what we are observing and measuring. It is called the "dependent" variable because we are trying to figure out whether its value depends on the value of the independent variable. If there is a direct link between the two types of variables (independent and dependent) then you may be uncovering a cause and effect relationship. The number of dependent variables in an experiment varies, but there can be more than one.

What is a Control Variable?

Experiments also have controlled variables. Controlled variables are quantities that a scientist wants to remain constant, and she or he must observe them as carefully as the dependent variables. For example, in the dog experiment example, you would need to control how hungry the dogs are at the start of the experiment, the type of food you are feeding them, and whether the food was a type that they liked. Why? If you did not, then other explanations could be given for differences you observe in how much they eat. For instance, maybe the little dog eats more because it is hungrier that day, maybe the big dog does not like the dog food offered, or maybe all dogs will eat more wet dog food than dry dog food. So, you should keep all the other variables the same (you control them) so that you can see only the effect of the one variable (the independent variable) that you are trying to test. Similar to our example, most experiments have more than one controlled variable. Some people refer to controlled variables as "constant variables."

In the best experiments, the scientist must be able to measure the values for each variable. Weight or mass is an example of a variable that is very easy to measure. However, imagine trying to do an experiment where one of the variables is love. There is no such thing as a "love-meter." You might have a belief that someone is in love, but you cannot really be sure, and you would probably have friends that do not agree with you. So, love is not measurable in a scientific sense; therefore, it would be a poor variable to use in an experiment.

In some experiments, time is what causes the dependent variable to change. The scientist simply starts the process, then observes and records data at regular intervals.

When a scientist performs a test or survey on different groups of people or things, those groups define the independent variable. For example:

Sometimes a variable simply represents an either/or (binary) condition. For example, something might be either present or not present during an experiment.

A controlled experiment is one in which everything is held constant except for one variable. Usually, a set of data is taken to be a control group, which is commonly the normal or usual state, and one or more other groups are examined where all conditions are identical to the control group and to each other except for one variable.

Sometimes it's necessary to change more than one variable, but all of the other experimental conditions will be controlled so that only the variables being examined change. And what is measured is the variables' amount or the way in which they change.

  • A controlled experiment is simply an experiment in which all factors are held constant except for one: the independent variable.
  • A common type of controlled experiment compares a control group against an experimental group. All variables are identical between the two groups except for the factor being tested.
  • The advantage of a controlled experiment is that it is easier to eliminate uncertainty about the significance of the results.

Let's say you want to know if the type of soil affects how long it takes a seed to germinate, and you decide to set up a controlled experiment to answer the question. You might take five identical pots, fill each with a different type of soil, plant identical bean seeds in each pot, place the pots in a sunny window, water them equally, and measure how long it takes for the seeds in each pot to sprout.

This is a controlled experiment because your goal is to keep every variable constant except the type of soil you use. You control these features.

The big advantage of a controlled experiment is that you can eliminate much of the uncertainty about your results. If you couldn't control each variable, you might end up with a confusing outcome.

For example, if you planted different types of seeds in each of the pots, trying to determine if soil type affected germination, you might find some types of seeds germinate faster than others. You wouldn't be able to say, with any degree of certainty, that the rate of germination was due to the type of soil. It might as well have been due to the type of seeds.

Or, if you had placed some pots in a sunny window and some in the shade or watered some pots more than others, you could get mixed results. The value of a controlled experiment is that it yields a high degree of confidence in the outcome. You know which variable caused or did not cause a change.

No, they are not. It's still possible to obtain useful data from uncontrolled experiments, but it's harder to draw conclusions based on the data.

An example of an area where controlled experiments are difficult is human testing. Say you want to know if a new diet pill helps with weight loss. You can collect a sample of people, give each of them the pill, and measure their weight. You can try to control as many variables as possible, such as how much exercise they get or how many calories they eat.

However, you will have several uncontrolled variables, which may include age, gender, genetic predisposition toward a high or low metabolism, how overweight they were before starting the test, whether they inadvertently eat something that interacts with the drug, etc.

Scientists try to record as much data as possible when conducting uncontrolled experiments, so they can see additional factors that may be affecting their results. Although it is harder to draw conclusions from uncontrolled experiments, new patterns often emerge that would not have been observable in a controlled experiment.

For example, you may notice the diet drug seems to work for female subjects, but not for male subjects, and this may lead to further experimentation and a possible breakthrough. If you had only been able to perform a controlled experiment, perhaps on male clones alone, you would have missed this connection.

  • Box, George E. P., et al. Statistics for Experimenters: Design, Innovation, and Discovery. Wiley-Interscience, a John Wiley & Soncs, Inc., Publication, 2005. 
  • Creswell, John W. Educational Research: Planning, Conducting, and Evaluating Quantitative and Qualitative Research. Pearson/Merrill Prentice Hall, 2008.
  • Pronzato, L. "Optimal experimental design and some related control problems". Automatica. 2008.
  • Robbins, H. "Some Aspects of the Sequential Design of Experiments". Bulletin of the American Mathematical Society. 1952.