Range, Quartiles, and Interquartile range of data
March 16, 2021
Updated on 05th September 2025, added: an interquartile range for an odd number of observations.
The Range and the Inter-Quartile Range (IQR) are the measures that describe the spread of data.
The heights (mm) of a different variety of plants are as follows.
65, 32, 40, 27, 35, 49, 53, 33, 47, 56, 45, 30, 48, 67, 56, 37, 56, 41, 38, 52
Let’s arrange the data in ascending order.
The range of a data set is the difference between the highest (maximum) and lowest (minimum) values.
Range = Maximum value - Minimum value
Range = 67 - 27 = 40 mm
The 2nd Quartile (Q2) or the middle quartile is the median. It is the middle value that divides the data into two equal parts.
The 1st Quartile (Q1) or the lower quartile (QL) separates the lower quarter of values from the rest of the values. This is the value at the middle point of the first half of the data.
The 3rd Quartile (Q3) or the upper quartile (QU) separates the upper quarter of values from the rest of the values. This is the value at the middle point of the second half of the data.
It is the difference between the upper quartile (Q3 or QU) and the lower quartile (Q1 or QL)
IQR = QU - QL
IQR = 54.5 - 36 = 18.5 mm
The heights (mm) of 19 plants are as follows.
60, 22, 42, 25, 30, 50, 52, 33, 47, 57, 43, 31, 28, 55, 46, 48, 54, 51, 45
Let’s arrange the data in ascending order.
The 2nd Quartile (Q2) or the middle quartile is the median. It is the middle value that divides the data into two equal parts.
Here, the number of observations is odd. Tukey’s hinges include the median in each half of the observations when the number of observations is odd. Therefore, the observations can be divided into two equal parts (10 observations on either side).
The 1st Quartile (Q1) or the lower quartile (QL) is the value at the middle point of the first half of the data.
The 3rd Quartile (Q3) or the upper quartile (QU) is the value at the middle point of the second half of the data.
It is the difference between the upper quartile (Q3 or QU) and the lower quartile (Q1 or QL)
IQR = QU - QL
IQR = 51.5 - 32 = 19.5 mm

Home | Contact: info@gazersdigest.com
©2020-2026 Gazer’s Digest is an information-sharing platform using reliable sources to support the human-written articles. Gazer’s Digest includes topics, thought to be useful for the readers, and the contents may be related to investments. Gazer’s Digest is also a digital learning tool that helps you understand complex concepts, stay updated on trends, and sustainable solutions.