Summarize this article:
1407 LearnersLast updated on December 2, 2025

Quartile Deviation also known as the Semi-Interquartile Range is a measure that tells us how much the middle 50% of the data varies. It is half of the interquartile range between the third and first quartile values.
Quartile deviation is a measure that shows how spread out the middle 50% of a dataset is. Instead of considering all values, it focuses only on the central portion, which helps avoid the effects of extreme or outlier values.
Quartiles divide the data into four equal parts:
The difference between Q3 and Q1 is called the interquartile range (IQR). The IQR is equal to half the interquartile range, also known as the quartile deviation or semi-interquartile range.
Formula for quartile deviation:
\(Quartile Deviation = \frac{Q_3 - Q_1}{2}\)
It is a simple way to understand how tightly or widely the central part of the data is spread, and it is not affected by extreme values.
Here is an example for Quartile Deviation:
The test scores of eight students are:
10, 12, 14, 16, 18, 20, 22, 24
a) Find Q1, Q2, and Q3.
b) Find the Interquartile Range (IQR).
c) Find the Quartile Deviation.
Answer
Step 1: Find Q1, Q2, and Q3
The data is already arranged in ascending order.
Q2 (Median): The middle two values are 16 and 18
\(Q_2 = \frac{16 + 18}{2} = 17\)
Lower half: 10, 12, 14, 16
Median of lower half:
\(Q_1 = \frac{12 + 14}{2} = 13\)
Upper half: 18, 20, 22, 24
Median of upper half:
\(Q_3 = \frac{20 + 22}{2} = 21\)
Step 2: Interquartile Range (IQR)
\(IQR =Q_3 − Q_1 = 21 - 13 = 8\)
Step 3: Quartile Deviation
\(\text{Quartile Deviation}= \frac{Q_3 - Q_1}{2} = \frac{8}{2} = 4\)
Final Answers
Q1 = 13
Q2 = 17
Q3 = 21
IQR = 8
Quartile Deviation = 4
Quartile deviation can be calculated for grouped and ungrouped data. And it can be measured using two different methods according to the type of data provided. Let’s analyze the steps to find the quartile deviation,
Step 1: In the given data, for example, you got the data (class mark) as 20, 12, 28, 15, 50, 40, 30, you need to first rearrange this data in ascending order (small to big).
Step 2: The rearranged data is 12, 15, 20, 28, 30, 40, 50. Next, find the first quartile and third quartile values using the formulas. For ungrouped data, the formula is
\(Q_1 =\frac{(n + 1)}{4}\)
Where,
Q1 = First Quartile Value
n = Number of terms (class mark)
Step 3: Insert the values from the data \(12, 15, 20, 28, 30, 40, 50. \)
\(Q_1 = \frac{7 + 1}{4}\)
\(Q_1 = \frac{8}{4} = 2\)
Step 4: Since you got 2 as Q1, you should find the second number from the data. That number will be the first quartile. In this case, which is 15.
∴ Q1 = 15
Step 5: Next, find the third quartile, which is the same step, but multiply it thrice.
\(Q_1 =3 \times \frac{ (n + 1)}{4}\)
\(Q_1 =3 \times \frac{ (7 + 1)}{4}\)
\( Q_1 = 3 × 2 = 6\)
Here you got 6 as the answer, so the 6th number in the data is 40.
∴ Q3 = 40
Step 6: Now using the Quartile Deviation formula
\(Q.D = \frac{Q_3 - Q_1}{2}\)
\(Q.D =\frac{40 + 15}{2}\)
\(Q.D = \frac{25}{2} = 12.5\)
So the quartile deviation of 12, 15, 20, 28, 30, 40, 50 is 12.5
Quartile deviation shows us how much the middle 50% of the data values are spread out, but it is an absolute measure. This means we cannot compare two datasets if they are used in different units, for example, one measured in kilograms and the other in grams. To make a fair comparison, we use the Coefficient of Quartile Deviation, which is a relative measure. It allows us to compare the variation between datasets even when their units are different.
The coefficient of quartile deviation formula:
\(\text{Coefficient of Quartile Deviation} = \frac{Q_3 - Q_1}{Q_3 + Q_1}\)


Both ungrouped and grouped data can be used to calculate quartile deviation. In both cases, it helps us to understand how widely the middle 50% of the values are spread around the center.
Quartile Deviation for Grouped Data
In grouped data, the values are given as the class intervals, so we don’t know the exact individual data points. So, quartiles must be estimated using the class boundaries, frequencies, and cumulative frequencies.
Formula to find Q1 and Q3
\(Q_r = l_1 + \frac{rN/4 - c_f}{f} \times (l_2 - l_1)\)
Where:
Qᵣ = the r-th quartile, either Q₁ (first quartile) or Q₃ (third quartile)
l₁ = lower limit of the quartile class
l₂ = upper limit of the quartile class
f = frequency of the quartile class
c = cumulative frequency of the class before the quartile class
N = total number of observations
This formula helps to locate the exact quartile values within a class interval.
Quartile Deviation for Ungrouped Data
In ungrouped data, the values are individual, not in class intervals. To find the quartiles, we can arrange the data in ascending order and use their positions. For ungrouped data, quartiles can be found using the following positions:
\(Q_1 = \frac{n + 1}{4} th\ item\)
\(Q_2 = \frac{n + 1}{2}th\ item\)
\(Q_3 = \frac{n + 1}{3}th\ item\)
Here, n is the total number of observations.
The data must be arranged in ascending order before calculating the quartiles.
If n is even, the method for finding the median remains the same.
Mastering quartile deviation helps you measure data spread while minimizing the effect of outliers. These tips guide you to calculate and interpret it accurately in real-world scenarios.
Quartile deviation can be both straightforward and challenging to understand. Students who are learning about quartile deviation might make mistakes while learning. Here are five common mistakes that the students might make and how to avoid them.
Quartile deviation is widely applied in real-life scenarios such as education, economics, sports, healthcare, income distribution, or data stability. By focusing on quartiles rather than the entire range, quartile deviation provides a clearer picture of trends and patterns in various fields.
Student Performance Analysis: A school wants to analyze student scores in a math test. Instead of using the full range (which might include extreme high or low scores), they use quartile deviation to measure the spread of middle-performing students.
Income Distribution in Economics: Economists use quartile deviation to analyze income inequality. It helps understand how middle-income groups are distributed without being affected by extreme rich or poor values.
Weather Data Analysis: Meteorologists study temperature variations using quartile deviation. For example, in a city, daily high temperatures might vary greatly, but the quartile deviation helps focus in the middle 50% of temperatures, ignoring extreme heat waves or cold spells.
Real Estate: Real estate agents use quartile deviation to study house price variations in a neighborhood. It helps buyers and sellers understand typical price ranges, without extreme expensive or cheap outliers affecting the results.
Sports Performance Analysis: Coaches use quartile deviation to evaluate athletes’ performance by focusing on the middle 50% of scores or timings. This helps identify consistent performers without being skewed by exceptionally high or low results.
The following marks were obtained by 8 students in a test: 20, 25, 30, 35, 40, 45, 50, 55. Find the quartile deviation.
11.25
Arrange in ascending order (already sorted)
Find \(Q_1 = \frac{(n + 1)}{4} = \frac{(8 + 1)}{4} = 2.5th\ term\) → Between 25 and 30 →
\(Q_1 = 25 + 0.25 (30 – 25) = 26.25.\)
Find \(Q_3 = 3 \times \frac{(n + 1)}{4} = 3 \times \frac{(8 + 1)}{4} = 6.75th\ term\) → Between 45 and 50 →
\(Q_3 = 45 + 0.75 (50 – 45) = 48.75.\)
\(\text{Quartile Deviation} =\frac{Q_3 - Q_1}{2} = \frac{48.75 - 26.25}{2} = \frac{22.5}{2} = 11.25.\)
The heights (in cm) of 6 students are 150, 155, 160, 165, 170, 175. Find the quartile deviation.
8.75
Q1 position: \(\frac{6 + 1}{4}\) = 1.75th term → Between 150 and 155 →
\(Q_1 = 150 + 0.75 (155−150)= 153.75.\)
\(\text{Q_3 position:}\ 3\times \frac{(6 + 1)}{4} = 5.25th\ term \) → Between 170 and 175 →
\(Q_3 =170 + 0.25 (175−170) = 171.25 \)
\(\text{Quartile Deviation} = \frac{171.25 - 153.75}{2} = \frac{17.5}{2} = 8.75. \)
The weekly sales (in units) of a product in five stores are 10, 15, 20, 25, 30. Find the quartile deviation.
7.5
Q1 position: \(\frac{5 + 1}{4}\) = 1.5th term → Between 10 and 15 →
Q1 = \(Q_1 = 10 + 0.5 (15−10) = 12.5\) = 12.5
Q3 position: \(3\times \frac{(5 + 1)}{4} = 4.5th\ term \) → Between 25 and 30 →
\(Q_3 = 25 + 0.5 (30 − 25) = 27.5\)
\(\text{Quartile Deviation }= \frac{27.5 - 12.5}{2} = \frac{15}{2} = 7.5\)
The marks of 7 students in a quiz are: 12, 15, 18, 20, 22, 25, 28. Find the quartile deviation.
Quartile Deviation = 5
Arrange in ascending order: Already arranged in ascending order.
Find Q₁ position:
\(Q_1 = \frac{n +1}{4} \)
\( Q_1 = \frac{7 +1}{4} = \frac{8}{4} = 2nd\ term\)
Q1 = 15
Find Q₃ position:
\(Q_3 = 3 \times \frac{n + 1}{4} = 3 \times \frac{8}{4} = 6th\ term\)
Quartile Deviation:
\(QD =\frac{Q_3 - Q_1}{2}\)
\(= \frac{25 - 15}{2} = \frac{10}{2}\)
QD = 5
The weekly working hours of 8 employees are: 36, 38, 40, 42, 44, 46, 48, 50. Find the quartile deviation.
Quartile Deviation = 4.5
Arrange in ascending order: Already arranged in ascending order.
Find Q₁ position:
\(Q_1 = \frac{n +1}{4} \)
\(Q1 = \frac{8 +1}{4} = \frac{9}{4} = 2.25th term \)
\(Q_1 = 38 + 0.25(40−38) = 38 + 0.5 = 38.5\)
Find Q₃ position:
\(Q_3 = 3 \times \frac{(n + 1)}{4} = 3 \times \frac{(9)}{4}= 6.75th\ term\)
\(Q_3 = 46 + 0.75(48−46) = 46 + 1.5 = 47.5\)
Quartile Deviation:
\(QD = \frac{Q_3 - Q_1}{2} = \frac{47.5 - 38.5}{2} = \frac{9}{2}\)
QD = 4.5
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
: She compares datasets to puzzle games—the more you play with them, the clearer the picture becomes!





