Understanding Discrete and Continuous Data
Discrete and continuous data are the two main types of numerical information. Discrete data takes separate, countable values, such as the number of books on a shelf. Continuous data can take any value within a range when measured, such as the exact time it takes to run a race.
Identifying the data type correctly is an essential skill when working with data in mathematics because it determines how the information should be organized, grouped, and graphed.
What are discrete and continuous data?
Discrete and continuous data represent the two primary types of numerical data. When data consists of numbers, it describes quantities, but those quantities can be generated in different ways.
Numerical data types divide into two distinct categories based on how the values are obtained:
- Discrete data: Information that is counted. It can only take specific, distinct values.
- Continuous data: Information that is measured. It can take any value within an interval, limited only by the precision of the measuring tool.
Discrete data is counted, while continuous data is measured.

Classify countable data
Countable data is always discrete. If you find a value by counting objects, events, or categories, the result is discrete data.
Discrete data can only take certain distinct values. There are gaps between these possible values because intermediate numbers do not make sense in the context of the data. For instance, a family can have or children, but never children.
Examples of discrete data include:
- The number of students in a classroom.
- The result of rolling two dice (the whole numbers through ).
- The number of cars parked in a lot.
- Standard shoe sizes (such as , , , ).
Shoe sizes demonstrate that discrete data can include decimals. Even though the sizes include half-numbers, you cannot buy a shoe in size . Because the sizes are set, specific values that you count through, shoe size is classified as discrete data.

Classify measured data
Measured data is always continuous. If you find a value by using a measuring instrument, such as a ruler, scale, thermometer, or stopwatch, the result is continuous data.
A continuous variable can take on any numerical value within a given range. Between any two recorded measurements, there are infinitely many possible values. When you measure the length of a leaf, it might be , , or , depending entirely on the precision of your ruler.
Examples of continuous data include:
- The height of a person in meters.
- The mass of a dog in kilograms.
- The time taken to complete a race in seconds.
- The temperature of a room in degrees.
Unlike counted data, continuous data has no gaps between possible values.

Compare possible values
To distinguish discrete versus continuous data, examine the underlying values and how they are collected. The key difference between countable and measurable data lies in whether intermediate values are mathematically meaningful.
During data collection, ask whether a fraction or decimal makes sense for the exact item being tracked. If fractions are impossible, the data is discrete. If fractions are possible with a better tool, the data is continuous.
Feature | Discrete Data | Continuous Data |
Action | Counting distinct objects or categories | Measuring a quantity |
Values | Distinct, separate values | Any value within a numerical interval |
Gaps | Empty gaps exist between possible values | No gaps between possible values |
Example | Number of books on a shelf | Thickness of a single book |
Choose a suitable table or graph
The type of data determines how you should organize and display it. Using the correct visual representation ensures the mathematical meaning of the data remains clear.
For discrete data, each distinct value can have its own row in standard frequency tables. It is usually graphed using a bar chart, pie chart, or line plot. In a bar chart, the vertical bars have spaces between them to emphasize that the categories or numbers are separate and distinct.
For continuous data, values are normally grouped into intervals using grouped frequency tables. This prevents a table from having hundreds of rows with only one tally mark each. Continuous data is often displayed using a histogram or a scatter plot. In a histogram, the bars touch each other to show that the numerical scale is continuous.

Worked examples
Practice identifying discrete and continuous data by examining what each variable represents and exactly how it is obtained.
Example 1: Identifying counted and measured data
Question: A scientist records the number of petals on a flower and the mass of the flower in grams. Classify each variable as discrete or continuous.
Method:
- Determine the action required to find the number of petals. Petals are counted (, , , etc.).
- Classify the counted variable. Counted values are discrete.
- Determine the action required to find the mass. Mass is measured using a scientific scale.
- Classify the measured variable. Measured values are continuous.
Answer: The number of petals is discrete data, and the mass of the flower is continuous data.
Check: Can a flower have petals? No, because petals cannot be split mathematically; it is discrete. Can a flower have a mass of ? Yes, because mass is an interval; it is continuous.
Example 2: Determining data types from descriptions
Question: Which of the following lists represents continuous data?
A) The number of goals scored in five hockey matches.
B) The exact distances jumped by athletes in a long jump event.
C) The sizes of t-shirts (Small, Medium, Large) sold in a day.
Method:
- Evaluate list A. Goals are counted (, , , etc.). This is discrete.
- Evaluate list B. Distance is measured (e.g., ). It can take any value in an interval. This is continuous.
- Evaluate list C. T-shirt sizes are distinct categories that are counted. This is discrete.
Answer: The exact distances jumped by athletes in a long jump event represents continuous data.
Check: Distance requires a measuring tape and allows fractions of a meter without gaps, confirming it is measured data.
Example 3: Interpreting a graph
Question: A student creates a bar chart with spaces between the bars to show the number of siblings each classmate has. Why is a bar chart with spaces appropriate for this data?
Method:
- Identify the data being recorded: the number of siblings.
- Determine if the data is counted or measured. Siblings are counted.
- Classify the data type. It is discrete.
- Relate the data type to the graph. Discrete data takes distinct values with gaps between them, which matches the gaps between bars in a bar chart.
Answer: The number of siblings is discrete data, so the bars have spaces to show that the values are distinct, separate numbers.
Check: You cannot have siblings, so the space between the bars for and accurately represents that no values exist between them.
Common mistakes
Assuming all data with decimals is continuous
A common misconception is that discrete data must always be whole numbers. Data can have decimals and still be discrete if it is restricted to specific, counted values. For example, standard shoe sizes like or currency values like are discrete because you cannot have a shoe size of .
Confusing the value recorded with the underlying variable
Age is often recorded in whole years (e.g., old), making it look like counted, discrete data. However, age is a measurement of time passing, which is continuous. Even if a measured value is rounded to the nearest whole number for convenience, the underlying variable remains continuous.
Thinking large ranges make data continuous
If a population is very large, such as the number of people living in a country, the value can be in the millions. Despite the massive range, population is still found by counting distinct individuals, so it strictly remains discrete data.
Frequently asked questions
Is time discrete or continuous?
Time is continuous. Even though clocks often display time in distinct seconds or minutes, the actual passage of time flows without gaps. A digital stopwatch can measure fractions of a second, such as , proving time is a measured, continuous variable.
Is money discrete or continuous?
Money is almost always treated as discrete data in mathematics. Physical currency is counted in distinct units, such as notes and coins. You can have , but you cannot physically hand someone , meaning there are strict gaps between possible values.
Is age discrete or continuous?
Age is continuous data. It is a measurement of the time someone has been alive. While people usually state their age as a distinct whole number, they are constantly aging by fractions of a second every moment of the day.
Practice questions

The number line displays a highlighted range of possible temperatures. Which type of data is shown?
Continuous data, because it includes all possible decimal and fractional values within the highlighted range.
Discrete data, because the ends of the shaded line fall exactly on whole numbers.
Discrete data, because it represents counted objects like the number of degrees.
Continuous data, because it shows gaps between the whole numbers on the axis.
Continuous data, because it includes all possible decimal and fractional values within the highlighted range.
Which classification mathematically applies to "the number of passengers on a train"?
Discrete
Continuous
Categorical
Measured
Discrete
Which of the following variables generates continuous data?
The exact time taken to run .
The number of goals scored in a soccer match.
The number of wheels on a delivery truck.
The amount of money in a cash register.
The exact time taken to run .
A student measures the temperature of a liquid and rounds the result to exactly . Which statement is true?
The temperature is continuous data because it was found by measuring.
The temperature is discrete data because it is a whole number.
The temperature is discrete data because it has no decimals.
The temperature is categorical data because degrees are categories.
The temperature is continuous data because it was found by measuring.
You are creating a table for the exact masses of apples, which range from to . Which structure is most appropriate?
A grouped frequency table, because mass is continuous and has too many unique values.
A standard frequency table with one row for every possible exact mass.
A bar chart with spaces between each bar to show individual apples.
A pie chart showing the exact mass of each individual apple.
A grouped frequency table, because mass is continuous and has too many unique values.
