What is an example of an experimental variable?

The independent variable (IV) in psychology is the characteristic of an experiment that is manipulated or changed by researchers, not by other variables in the experiment.

For example, in an experiment looking at the effects of studying on test scores, studying would be the independent variable. Researchers are trying to determine if changes to the independent variable (studying) result in significant changes to the dependent variable (the test results).

In general, experiments have these three types of variables: independent, dependent, and controlled.

If you are having trouble identifying the independent variables of an experiment, there are some questions that may help:

  • Is the variable one that is being manipulated by the experimenters?
  • Are researchers trying to identify how the variable influences another variable?
  • Is the variable something that cannot be changed but that is not dependent on other variables in the experiment?

Researchers are interested in investigating the effects of the independent variable on other variables, which are known as dependent variables (DV). The independent variable is one that the researchers either manipulate (such as the amount of something) or that already exists but is not dependent upon other variables (such as the age of the participants).

Below are the key differences when looking at an independent variable vs. dependent variable.

Independent Variable

  • Expected to influence the dependent variable

  • Doesn't change as a result of the experiment

  • Can be manipulated by researchers in order to study the dependent variable

Dependent Variable

  • Expected to be affected by the independent variable

  • Expected to change as a result of the experiment

  • Not manipulated by researchers; its changes occur as a result of the independent variable

There can be all different types of independent variables. The independent variables in a particular experiment all depend on the hypothesis and what the experimenters are investigating.

Independent variables also have different levels. In some experiments, there may only be one level of an IV. In other cases, multiple levels of the IV may be used to look at the range of effects that the variable may have.

In an experiment on the effects of the type of diet on weight loss, for example, researchers might look at several different types of diet. Each type of diet that the experimenters look at would be a different level of the independent variable while weight loss would always be the dependent variable.

To understand this concept, it's helpful to take a look at the independent variable in research examples.

A researcher wants to determine if the color of an office has any effect on worker productivity. In an experiment, one group of workers performs a task in a yellow room while another performs the same task in a blue room. In this example, the color of the office is the independent variable.

A business wants to determine if giving employees more control over how to do their work leads to increased job satisfaction. In an experiment, one group of workers is given a great deal of input in how they perform their work, while the other group is not. The amount of input the workers have over their work is the independent variable in this example.

Educators are interested in whether participating in after-school math tutoring can increase scores on standardized math exams. In an experiment, one group of students attends an after-school tutoring session twice a week while another group of students does not receive this additional assistance. In this case, participation in after-school math tutoring is the independent variable.

Researchers want to determine if a new type of treatment will lead to a reduction in anxiety for patients living with social phobia. In an experiment, some volunteers receive the new treatment, another group receives a different treatment, and a third group receives no treatment. The independent variable in this example is the type of therapy.

Sometimes varying the independent variables will result in changes in the dependent variables. In other cases, researchers might find that changes in the independent variables have no effect on the variables that are being measured.

At the outset of an experiment, it is important for researchers to operationally define the independent variable. An operational definition describes exactly what the independent variable is and how it is measured. Doing this helps ensure that the experiments know exactly what they are looking at or manipulating, allowing them to measure it and determine if it is the IV that is causing changes in the DV.

If you are designing an experiment, here are a few tips for choosing an independent variable (or variables):

  • Select independent variables that you think will cause changes in another variable. Come up with a hypothesis for what you expect to happen.
  • Look at other experiments for examples and identify different types of independent variables.
  • Keep your control group and experimental groups similar in other characteristics, but vary only the treatment they receive in terms of the independent variable. For example, your control group will receive either no treatment or no changes in the independent variable while your experimental group will receive the treatment or a different level of the independent variable.

It is also important to be aware that there may be other variables that might influence the results of an experiment. Two other kinds of variables that might influence the outcome include:

  • Extraneous variables: These are variables that might affect the relationships between the independent variable and the dependent variable; experimenters usually try to identify and control for these variables. 
  • Confounding variables: When an extraneous variable cannot be controlled for in an experiment, it is known as a confounding variable. 

Extraneous variables can also include demand characteristics (which are clues about how the participants should respond) and experimenter effects (which is when the researchers accidentally provide clues about how a participant will respond).

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.