BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon1500 Learners

Last updated on November 24, 2025

Class Interval

Professor Greenline Explaining Math Concepts

Class intervals are a way to organize data into groups or classes. This makes it easier to understand and analyze the data that has been collected. In this topic, we will discuss class intervals and their different types.

Professor Greenline from BrightChamps

What is Class Interval?

In statistics, class intervals are used to group a large set of data into specific numerical ranges, making it easier to organize, understand, and analyze the data. They are mainly helpful for continuous data, where values can take any value within a range. In mathematical terms, a class interval represents the numerical width of each group in a grouped frequency distribution


A class interval is defined by two values - the lower limit and the upper limit. 

  • Lower limit: The smallest value that can belong to the class.
  • Upper limit: The most significant value that can belong to the class.


The difference between the upper and lower class limits determines the size of the class interval. Class intervals systematically arrange data in a frequency distribution table, with each class mutually exclusive. It means that no data point can belong to more than one class. 



Class Interval Definition


A class interval is a range of values used to group data in a frequency distribution. It is defined by a lower and an upper limit and helps organize continuous data into transparent, manageable groups.



Class Interval Formula


To find the class interval, we subtract the lower class limit from the upper class limit. It gives the class width. And the formula is:
Class interval = Upper limit - Lower limit.


Let us learn more from an example: 

Consider a class given as 10–20. Find the class interval.
Here, 
Lower limit = 10 and upper limit = 20.
By applying the formula: 
Class interval = 20-10 
= 10. 
So, the width of this class interval is 10 units.
 

Professor Greenline from BrightChamps

How to Find Class Intervals?

To find class intervals of datasets accurately, we follow these steps:


Step 1: Find the range
To find the range of the dataset, subtract the minimum value from the maximum value. 
Range = maximum value - minimum value.


Step 2: Decide the number of intervals.
Choose how many class intervals you need, depending on the size of the data set and the level of details required. 


Step 3: Calculate the class width.
Determine the class width by dividing the range by the number of intervals selected.
Class width = range ÷ number of intervals.


Step 4: Set the class boundaries.
Start from the minimum value, then repeatedly add the class width to maintain the lower and upper limits of each interval. 


Step 5: Organize the data
Place each data point into its appropriate class interval based on the boundaries you have defined.



Let us practice through an example: 

A teacher records the ages of 12 students in a class as 10, 12, 14, 15, 13, 17, 18, 16, 19, 11, 13, 15. Organize the data using class intervals.

Solution: 
 

Step 1: First, we can find the range.
We know that the maximum value = 19, and the minimum value = 10. 
So, range \(= 19 - 10 = 9\).


Step 2: Since, we have 12 data points, we choose 4 intervals.


Step 3: Now, we can calculate the class width. 
We know that, class width = range ÷  number of intervals. 
Then class width \(= 9 รท 4 = 2.25\).
We can round it to the nearest whole number, 3. 


Step 4: We can set the class boundaries, starting from the minimum value 10, and by adding the class width 3. 
Hence, the classes will be: 

  • 10 -13
  • 13 -16
  • 16 -19
  • 19 -22

Here, we have added one extra interval to ensure that all values are covered. 


Step 5: Now we can organize the data into intervals. 

Class interval Data values Frequency
10 - 13 10, 12, 11, 13, 13 5
13- 16

14, 15, 15

3
16 - 19 16, 17, 18, 19 4
19 - 22  _ 0

 

Professor Greenline from BrightChamps

Types of Class Interval

Class intervals are categorized into different types based on how they are structured and what kind of data we want to represent:

 

 

  • Exclusive class interval

     
  • Inclusive class interval

 

Exclusive class interval: Exclusive class intervals are when the lower bound or the minimum value is included in the interval and the upper bound or maximum value is excluded. This means that any data point equal to the upper bound is assigned to the previous interval. For example, in the interval (10, 20), include from 10 to 19.999, but not 20.

Class Interval Frequency
0 - 10 9
10 - 20 11
20 - 30 10

 

As you can see in this table, in an exclusive class interval, the next class interval’s lower limit is equal to the upper limit of the previous interval.



Inclusive class intervals: In inclusive class intervals, both the lower limit and upper limits are included within the interval. We use inclusive class intervals when we want to ensure that all the data values in the data set are equal to the limits that are part of that interval.

Class Interval Frequency
0 - 11 9
12 - 23 11
24 - 35 10

In this case, both lower and upper limits are included in the interval and the upper limit of one class interval is different from the lower limit of the next class interval.
 

 

Explore Our Programs

Grade 1
arrow-left
arrow-right
Professor Greenline from BrightChamps

How to Convert Inclusive Class Intervals to Exclusive Class Intervals?

We know that in an inclusive class interval, both the lower and upper limits are included. For example, 10–19, 20–29, 30–39 are inclusive. But they needed to be converted to exclusive class intervals for histogram representation. To convert inclusive intervals into exclusive intervals, follow these steps:


Step 1: Identify the gap or overlap. 
See the two consecutive class intervals and check how much they overlap. For example, in classes 10 - 19 and 20 - 29, the gap between 20 and 19 is 1. 


Step 2: Find the correction factor.
Divide the overlap by 2 for that. For example, \(\frac{1}{2} = 0.5\).


Step 3: Adjust the class limits.
Subtract the factor from each lower limit and add the correction factor to each upper limit.
For instance, 10 - 19 is the inclusive and when converted to exclusive class interval, it will be
Lower limit = \(10 - 0.5 = 9.5\)
Upper class = \(19 + 0.5 = 19.5\).


Step 4: Do the same for all intervals.
Apply the correction factor to every interval in the table.

Professor Greenline from BrightChamps

How to Represent Class Interval Graphically

Class intervals can be represented graphically using graphs such as histograms or frequency polygons. Class intervals show how data is distributed across different ranges. These graphs help in visualizing trends and frequencies in the dataset.

 

To represent a class interval graphically:

 

Step 1: Prepare a frequency table by organizing the data into class intervals, and then we count the number of values in each interval.

 

Step 2: Label the axes, the x-axis will represent the class intervals and the y-axis will represent the frequency. 

 

Step 3: Plot the data by taking the frequency for each interval which is marked as a bar, point, or curve depending on the graph used. In most cases, intervals are continuous, meaning the bars or points are connected without any gaps.

 

This is a general approach that gets applied to different types of graphs like histograms or frequency polygons, etc.

 

Class Interval Histogram
 

A class interval histogram is a graphical tool for displaying data grouped into class intervals. It is primarily applicable when showing the distribution of continuous data. In a histogram: 

  • The x-axis represents the class intervals.
  • The y-axis represents the frequency of each interval. 
     

Exclusive class intervals like 10-20, 20-30, etc. can be plotted directly on a histogram because there are no overlapping values. And inclusive class intervals like 10 - 19, 20 - 29, etc. must first be converted to exclusive to ensure that classes do not overlap. 

Once the class intervals and frequencies are ready, each interval is represented by a bar whose height corresponds to its frequency. This visual representation makes it easier to observe patterns such as skewness, data concentration, and spread.
 

Example: A teacher records the test scores of a group of students and organizes them into the following frequency distribution:

Class Interval Frequency
10 - 20 3
20 - 30 7
30 - 40 10
40 - 50 5

The class interval histogram will look like: 

 

Professor Greenline from BrightChamps

Tips and Tricks to Master Class Interval

To master class intervals, focus on grouping data into meaningful ranges, creating accurate frequency tables, and using visual tools like histograms.

 

  • Learn to group data into meaningful and equal ranges for clarity.
     
  • Practice creating accurate frequency tables using different data sets.
     
  • Make sure class intervals are mutually exclusive and cover all data sets.
     
  • Use histograms and bar charts to visualize class intervals effectively.
     
  • Apply class intervals to real-life examples like test scores, income, or age groups.
     
  • Teachers and parents can teach students using familiar examples such as age groups, height ranges, or daily temperatures, to help children understand how data is grouped in real life. 
     
  • Give students small datasets like colored beads, survey results or fancy items and let them physically sort items into boxes or containers representing intervals. 
     
  • Guide students to draw number lines, bar graphs, and histograms so they can clearly see how intervals represents continuous ranges.
     
  • Remind learners that intervals must be of the same width for accuracy. Show how unequal intervals can mislead or confuse interpretations.
     
  • Encourage students to use online class interval worksheets or graphing apps to create frequency tables and histograms for better engagement. 
     

 

 

Max Pointing Out Common Math Mistakes

Common Mistakes and How To Avoid Them in Class Intervals

Students make mistakes when trying to create class intervals. So here are a few common mistakes that students tend to make and ways to avoid them:

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Choosing the class width incorrectly
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students must ensure that the class width they choose is suitable for the data range. Selecting an incorrect width might give incorrect results, so make sure to determine the number of classes, and then calculate the class width accordingly.

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Overlapping of intervals 
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students should make sure to not create class intervals that overlap. They must ensure that the upper limit of one class interval is the lower limit of the next interval in an exclusive class interval to avoid overlapping.

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

 Ignoring outliers
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

When setting class intervals, make sure to account for outliers. Identify them and decide if they need to be included in the analysis.  

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Not setting any boundaries in class intervals
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students sometimes set incorrect boundaries for class intervals. They must ensure that the minimum and maximum values in the data set are considered and then included in the intervals.
 

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Incorrectly calculating midpoints 
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

When calculating midpoints, ensure that the midpoints are the average of the lower and upper limits of the interval. We add the limits and then divide it by two.

arrow-left
arrow-right
Professor Greenline from BrightChamps

Real-Life Applications on Class Intervals

Class intervals are widely used in various fields in the real world. Here are a few real-world applications of class intervals:

 

  • Education: Schools and colleges use class intervals to group students' scores into ranges. This helps teachers analyze the students’ performance.

     
  • Market research: Class intervals are used in market research to categorize survey responses or customer feedback into different ranges.

     
  • Financial Analysis: In finance, we use class intervals to group income levels or investment returns into ranges to identify the trends or plan budgeting.

     
  • Weather analysis: Meteorologists use class intervals to group temperature or rainfall data into ranges for easier analysis of climate patterns.

     
  • Healthcare: Hospitals and researchers use class intervals to categorize patients age, blood pressure, or cholesterol levels to study trends and risks.
Max from BrightChamps Saying "Hey"
Hey!

Solved examples on Class Intervals

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Create class intervals for the dataset of heights ranging from 68-85 inches.

Ray, the Boy Character from BrightChamps Saying "Letโ€™s Begin"
Okay, lets begin

 

Class intervals will be 68-70, 71-73, 74-76, 77-79, 80-82, 83-85.
 

Explanation

 

Start with the minimum value (68) and add a class width (in this case 3) successively to set the boundaries. Group the heights into these intervals.

Max from BrightChamps Praising Clear Math Explanations
Well explained ๐Ÿ‘
Max, the Girl Character from BrightChamps

Problem 2

Data points given are: 5, 7, 8, 10, 15, 22, 25, 28, 30, 35, 38, 42, 45, 47, 49, 51, 54, 56, 58, 60. Create a class interval with a class width of 10.

Ray, the Boy Character from BrightChamps Saying "Letโ€™s Begin"
Okay, lets begin

 

Class intervals: 1-10, 11-20, 21-30, 31-40, 41-50, 51-60.
 

Explanation

 

Start with the minimum value (5) and create intervals of width 10 until the maximum value (60).

Max from BrightChamps Praising Clear Math Explanations
Well explained ๐Ÿ‘
Max, the Girl Character from BrightChamps

Problem 3

Convert the inclusive intervals into exclusive class intervals. 0-5.999, 6-11.999, 12-17.999, 18-23.999

Ray, the Boy Character from BrightChamps Saying "Letโ€™s Begin"
Okay, lets begin

 

Exclusive class intervals: 0-6, 6-12, 12-18, 18-24

Explanation

 

We adjust the upper limit of each interval to be the lower limit of the next class interval. 
 

Max from BrightChamps Praising Clear Math Explanations
Well explained ๐Ÿ‘
Max, the Girl Character from BrightChamps

Problem 4

Create class intervals for the dataset of student scores: 45, 68, 82, 79, 67, 55, 75, 55, 85, 89, 90, 78, 45, 66, 49.

Ray, the Boy Character from BrightChamps Saying "Letโ€™s Begin"
Okay, lets begin

 

The class intervals are 40-50, 50-60, 60-70, 70-80, 80-90, 90-100

Explanation

 

Start with the minimum score which is 45 and create intervals of width 10 until the maximum score is 90.

Max from BrightChamps Praising Clear Math Explanations
Well explained ๐Ÿ‘
Max, the Girl Character from BrightChamps

Problem 5

Determine the class intervals for the following income data: $5,000, $12,000, $18,000, $25,000, $32,000, $40,000.

Ray, the Boy Character from BrightChamps Saying "Letโ€™s Begin"
Okay, lets begin

 

Class intervals for the income data are: $0-$10,000, $10,001-$20,000, $20,001-$30,000, $30,001-$40,000, $40,001-$50,000.
 

Explanation

 

Group the data into intervals of width $10,000, starting from the minimum value that is $5,000 to the maximum value $40,000.

Max from BrightChamps Praising Clear Math Explanations
Well explained ๐Ÿ‘
Ray Thinking Deeply About Math Problems

FAQs on Class Interval

1.Can there be overlapping of class intervals?

No, class intervals cannot be overlapped. Each data value must be included only in one and only one class interval to avoid double counting.

Math FAQ Answers Dropdown Arrow

2. What is the number of class intervals that a small dataset should have?

In small datasets, fewer classes are usually optimal. Avoid having too many empty or sparsely populated classes.
 

Math FAQ Answers Dropdown Arrow

3.What do you mean by class midpoint in class intervals?

The class midpoint is the average of the lower and upper limits of a class interval. It represents the center of the interval.

Math FAQ Answers Dropdown Arrow

4.Can class intervals have negative values?

Yes, class intervals can include negative values if the data range includes negative numbers

Math FAQ Answers Dropdown Arrow

5.How can class intervals be determined?

 The number of class intervals is determined by taking the range of numbers in the dataset.
 

Math FAQ Answers Dropdown Arrow
Math Teacher Background Image
Math Teacher Image

Jaipreet Kour Wazir

About the Author

Jaipreet Kour Wazir is a data wizard with over 5 years of expertise in simplifying complex data concepts. From crunching numbers to crafting insightful visualizations, she turns raw data into compelling stories. Her journey from analytics to education ref

Max, the Girl Character from BrightChamps

Fun Fact

: She compares datasets to puzzle gamesโ€”the more you play with them, the clearer the picture becomes!

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyแป…n Thแป‹ Thแบญp, Khu ฤ‘รด thแป‹ Him Lam, Quแบญn 7, Thร nh phแป‘ Hแป“ Chรญ Minh 700000, Vietnam
UAE - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom