Types of Variables in Research – Definition & Examples

Time to read: 5 Minutes

One of the core elements in statistical studies is the type of variables in research you select. Choosing the best types of variables in research will significantly help your experimental design process. This article discusses the various variable types in statistical research.

Types of Variables in Research – In a Nutshell

  • A variable is an attribute of an item of analysis in research.
  • The types of variables in research can be categorized into: independent vs. dependent, or categorical vs. quantitative.
  • The types of variables in research (correlational) can be classified into predictor or outcome variables.
  • Other types of variables in research are confounding variables, latent variables, and composite variables.

Definition: Types of variables in research

A variable is a trait of an item of analysis in research. Types of variables in research are imperative, as they describe and measure places, people, ideas, or other research objects. There are many types of variables in research. Therefore, you must choose the right types of variables in research for your study.

Note that the correct variable will help with your research design, test selection, and result interpretation.


In a study testing whether some genders are more stress-tolerant than others, variables you can include are the level of stressors in the study setting, male and female subjects, and productivity levels in the presence of stressors.

Also, before choosing which types of variables in research to use, you should know how the various types work and the ideal statistical tests and result interpretations you will use for your study. The key is to determine the type of data the variable contains and the part of the experiment the variable represents.1

Types of variables in research – Quantitative vs. Categorical

Data is the precise extent of a variable in statistical research that you record in a data sheet. It is generally divided into quantitative and categorical classes.

Quantitative or numerical data represents amounts, while categorical data represents collections or groupings.2

The type of data contained in your variable will determine the types of variables in research. For instance, variables consisting of quantitative data are called quantitative variables, while those containing categorical data are called categorical variables. The section below explains these two types of variables in research better.3

Quantitative variables

The scores you record when collecting quantitative data usually represent real values you can add, divide, subtract, or multiply. There are two types of quantitative variables: discrete variables and continuous variables.

The table below explains the elements that set apart discrete and continuous types of variables in research:

Quantitative variable types The data they represent Examples
Discrete or integer variables Individual item counts or values • Number of employees in a company
• Number of students in a school district 4
Continuous or ratio variables Measurements of non-finite or continuous scores • Age
• Weight
• Volume
• Distance 5

Categorical variables

Categorical variables contain data representing groupings. Additionally, the data in categorical variables is sometimes recorded as numbers. However, the numbers represent categories instead of real amounts.

There are three categorical types of variables in research: nominal variables, ordinal variables, and binary variables. Here is a tabular summary.6

Type of categorical variable What its data represents Examples
Binary/dichotomous variables YES/NO outcomes • Win/lose in a game
• Pass/fail in an exam
Nominal variables No-rank groups or orders between groups • Colors
• Participant name
• Brand names
Ordinal variables Groups ranked in a particular order • Performance rankings in an exam
• Rating scales of survey responses7

It is worth mentioning that some categorical variables can function as multiple types. For example, in some studies, you can use ordinal variables as quantitative variables if the scales are numerical and not discrete.

Data sheet of quantitative and categorical variables

A data sheet is where you record the data on the variables in your experiment.


In a study of the salt-tolerance levels of various plant species, you can record the data on salt addition and how the plant responds in your datasheet.

The key is to gather the information and draw a conclusion over a specific period and filling out a data sheet along the process.

Below is an example of a data sheet containing binary, nominal, continuous, and ordinal types of variables in research.

(NOMINAL) Plant species (CONTINOUS) Starting height (cm) (CONTINUOUS) Amount of salt added (mg/L) (CONTINUOUS) Height increase (Current – starting height in cm) (ORDINAL) Wilting rate (0-5 rate) (BINARY) Outcome (0 for dead and 1 for survived)
A 12 0 - - -
A 18 50 - - -
B 11 0 - - -
B 15 50 - - -
C 25 0 - - -
C 31 50 - - -

Types of variables in research – Independent vs. Dependent


The purpose of experiments is to determine how the variables affect each other. As stated in our experiment above, the study aims to find out how the quantity of salt introduce in the water affects the plant’s growth and survival.

Therefore, the researcher manipulates the independent variables and measures the dependent variables. Additionally, you may have control variables that you hold constant.

The table below summarizes independent variables, dependent variables, and control variables.

Types of variables in research Explanation Example (based on our example)
Independent/ treatment variables The variables you manipulate to affect the experiment outcome The amount of salt added to the water
Dependent/ response variables The variable that represents the experiment outcomes The plant’s growth or survival
Control variables Variables held constant throughout the study Temperature or light in the experiment room8

Data sheet of independent and dependent variables


In salt-tolerance research, there is one independent variable (salt amount) and three independent variables. All other variables are neither dependent nor independent.

Below is a data sheet based on our experiment:

Plant species Starting height (cm) (INDEPENDENT VARIABLE) Amount of salt added (mg/L) (DEPENDENT VARIABLE) Height increase (Current – starting height in cm) (DEPENDENT VARIABLE) Wilting rate (0-5 rate) (DEPENDENT VARIABLE) Outcome (0 for dead and 1 for survived)
A 12 0 - - -
A 18 50 - - -
B 11 0 - - -
B 15 50 - - -
C 25 0 - - -
C 31 50 - - -

Types of variables in correlational research

The types of variables in research may differ depending on the study.


In correlational research, dependent and independent variables do not apply because the study objective is not to determine the cause-and-effect link between variables.

However, in correlational research, one variable may precede the other, as illness leads to death, and not vice versa. In such an instance, the preceding variable, like illness, is the predictor variable, while the other one is the outcome variable.9

Other useful types of variables in research

The key to conducting effective research is to define your types of variables as independent and dependent. Next, you must determine if they are categorical or numerical types of variables in research so you can choose the proper statistical tests for your study.

Below are other types of variables in research worth understanding.

Types of variables in research Explanation Example (as per our example)
Confounding variables Hides the actual impact of an alternative variable in your study Pot size and soil type
Latent variables Cannot be measured directly Salt tolerance
Composite variables Formed by combining multiple variables The health variables combined into a single health score1


An autonomous or independent variable is the one you believe is the origin of the outcome, while the dependent variable is the one you believe affects the outcome of your study.1

Knowing the types of variables in research that you can work with will help you choose the best statistical tests and result representation techniques. It will also help you with your study design.

Discrete variables are types of variables in research that represent counts, like the quantities of objects. In contrast, continuous variables are types of variables in research that represent measurable quantities like age, volume, and weight.10


1 Eads, Audrey. “10 Types of Variables in Research and Statistics.” Indeed. February 8, 2021. https://www.indeed.com/career-advice/career-development/types-of-variables.

2 Statistics Leard. “Types of Variable.” Accessed November 23, 2022. https://statistics.laerd.com/statistical-guides/types-of-variable.php.

3 Fullstory.  “Categorical vs. quantitative data: The difference plus why they’re so valuable.” October 12, 2021. https://www.fullstory.com/blog/categorical-vs-quantitative-data/.

4 Zangre, Andrew. “Discrete vs Continuous Data – What’s the Difference?.” G2.com. July 10, 2019. https://www.g2.com/articles/discrete-vs-continuous-data.

5 Frost, Jim. “Discrete vs. Contunuous Data: Differences & Examples.” StatisticsByJim.com. Accessed November 23, 2022. https://statisticsbyjim.com/basics/discrete-vs-continuous-data/.

6 Formplus Blog. “Categorical Data: Defintion + [Examples, Variables & Analysis].” July 27, 2022. https://www.formpl.us/blog/categorical-data.

7Intellspot. “Categorical Data Examples and Definition.” Accessed November 23, 2022. https://www.intellspot.com/categorical-data-examples/.

8 Sciencing. “What Are Dependent, Independent & Controlled Variables?.” February 10, 2020. https://sciencing.com/dependent-independent-controlled-variables-8360093.html.

9 Formplus Blog. “Correlational Research Designs: Types, Examples & Methods.” July 27, 2022. https://www.formpl.us/blog/correlational-research.

10 Kolmar, Chris. “The Different Types of Variables Research and Statistics.” Zippia. October 5, 2021. https://www.zippia.com/advice/types-of-variables.