Quartiles, Deciles and Percentiles of a Data Set
Quantitative Aptitude › Statistics · Topic 24.8
Quartiles divide ordered data into four equal parts, deciles into ten parts and percentiles into one hundred parts. Q1 is the lower quartile, Q2 is the median, Q3 is the upper quartile, and the interquartile range is Q3 minus Q1.
5 min read · Quantitative Aptitude · Statistics
Quick Answer
Quartiles divide ordered data into four equal parts, deciles into ten parts and percentiles into one hundred parts. Q1 is the lower quartile, Q2 is the median, Q3 is the upper quartile, and the interquartile range is Q3 minus Q1.
At a Glance
- Q1 position (n + 1)/4 th value
- Q3 position 3(n + 1)/4 th value
- Decile k position k(n + 1)/10
- Percentile p position p(n + 1)/100
- IQR Q3 – Q1
Where Does It Fit?
This topic extends the median of Measures of Central Tendency – Mean, Median and Mode and the spread of Measures of Dispersion – Range, Mean Deviation, Variance and Standard Deviation. The ogive in Histogram, Frequency Polygon and Ogive Construction and Interpretation can be used to read quartiles from a graph.
How Do You Find the Quartiles?
In short: arrange the data in order, then find the values at the quarter positions using the (n + 1) rule.
Position formulas
- Q1 = value at position (n + 1)/4.
- Q2 = median = value at position (n + 1)/2.
- Q3 = value at position 3(n + 1)/4.
- If a position is a fraction, interpolate between the two nearest values.
| Data 5, 7, 8, 10, 12, 15, 18, 20, 25 (n = 9) | Position | Value |
|---|---|---|
| Q1 | 2.5 | (7 + 8)/2 = 7.5 |
| Q2 | 5 | 12 |
| Q3 | 7.5 | (18 + 20)/2 = 19 |
| IQR | 19 – 7.5 = 11.5 |
How Do You Find Deciles and Percentiles?
In short: use the same method with positions k(n + 1)/10 for the k-th decile and p(n + 1)/100 for the p-th percentile.
- D5 and P50: both equal the median.
- P25 and P75: equal Q1 and Q3.
- Percentile rank: (number of values below x / n) × 100.
Different textbooks use slightly different position rules, so state the rule that your question uses.
What Is the Interquartile Range and How Does It Detect Outliers?
In short: the interquartile range is the spread of the middle half of the data. Values below Q1 – 1.5 × IQR or above Q3 + 1.5 × IQR are usually treated as outliers.
| Quantity | Value for the sample above |
|---|---|
| Q1 | 7.5 |
| Q3 | 19 |
| IQR | 11.5 |
| Lower fence | 7.5 – 1.5 × 11.5 = -9.75 |
| Upper fence | 19 + 1.5 × 11.5 = 36.25 |
No value lies outside these fences, so there are no outliers.
Solved Examples
Example 1
Question: Find Q1, Q2, Q3 and the IQR of 5, 7, 8, 10, 12, 15, 18, 20, 25.
- n = 9. Q1 position = 10/4 = 2.5, so Q1 = (7 + 8)/2 = 7.5.
- Q2 position = 5, so Q2 = 12.
- Q3 position = 7.5, so Q3 = (18 + 20)/2 = 19.
- IQR = 19 – 7.5 = 11.5.
Answer: Q1 = 7.5, Q2 = 12, Q3 = 19 and IQR = 11.5.
Example 2
Question: Find Q1 and Q3 of 2, 4, 6, 8, 10, 12, 14, 16.
- n = 8. Q1 position = 9/4 = 2.25, so Q1 = 4 + 0.25 × 2 = 4.5.
- Q3 position = 27/4 = 6.75, so Q3 = 12 + 0.75 × 2 = 13.5.
Answer: Q1 = 4.5 and Q3 = 13.5, so the IQR is 9.
Example 3
Question: Find the 90th percentile of the numbers 1 to 19.
- n = 19. Position = 0.9 × 20 = 18.
- The 18th value is 18.
Answer: P90 = 18.
Example 4
Question: In a class of 40, 30 students scored below 75. Find the percentile rank of a score of 75.
- Percentile rank = (30/40) × 100.
Answer: The percentile rank is 75.
Example 5
Question: Find D3 of the numbers 1 to 9.
- n = 9. Position = 3 × 10/10 = 3.
- The 3rd value is 3.
Answer: D3 = 3.
Shortcuts and Tricks
- Always sort the data first.
- Use the (n + 1) position rule and interpolate for fractions.
- Remember that Q2, D5 and P50 are all the median.
- Use the 1.5 × IQR fences for quick outlier checks.
- For percentile rank, count the values strictly below the score.
Common Mistakes
- Finding quartiles without sorting the data.
- Using n/4 instead of (n + 1)/4 when the question follows the (n + 1) rule.
- Forgetting to interpolate for a fractional position.
- Confusing a percentile with a percentage.
- Treating the IQR as Q3 + Q1.
Practice Questions
- Find the median of 5, 7, 8, 10, 12.
- If Q1 = 12 and Q3 = 30, find the IQR.
- Find the 50th percentile of 4, 6, 8, 10, 12.
- In a class of 50, 40 students scored below a mark. Find its percentile rank.
- Find the upper fence if Q3 = 40 and IQR = 20.
- At what position is Q3 for n = 11?
Answers: 1) 8; 2) 18; 3) 8; 4) 80; 5) 70; 6) 9.
Why Is This Topic Important?
- Position Partition values locate a score within the data.
- Exam use Quartiles and percentiles appear in CAT data questions.
- Link They connect to Histogram, Frequency Polygon and Ogive Construction and Interpretation.
What Comes Next?
This completes the Statistics macro. The next macro begins with Data Interpretation from Tables, which applies these ideas to tables of data.
Key Terms and Formulas
- Quartile A value dividing ordered data into four parts
- Decile A value dividing ordered data into ten parts
- Percentile A value dividing ordered data into one hundred parts
- Interquartile range Q3 minus Q1
- Outlier A value far from the rest of the data
Related Topics
- Effect on Mean, Median and Mode When a Constant Is Added to or Multiplied with Every Observation
- Measures of Central Tendency – Mean, Median and Mode
- Measures of Dispersion – Range, Mean Deviation, Variance and Standard Deviation
- Data Classification and Frequency Distribution
Exam Corner
Points to Remember
- Q1 at (n + 1)/4, Q3 at 3(n + 1)/4.
- Q2 = D5 = P50 = median.
- IQR = Q3 – Q1.
- Fences: Q1 – 1.5 IQR and Q3 + 1.5 IQR.
Do Not Confuse With
- Percentile vs percentage A percentile gives rank; a percentage gives a part of 100.
- Quartile vs quarter A quartile is a boundary value, not a quarter of the data.
- IQR vs range The IQR uses only the middle half; the range uses the extremes.
Memory Hook
Sort, find the position, interpolate, and quarter the data.
GS Relevance
Frequently Asked Questions
What are quartiles?
Quartiles are the three values that divide ordered data into four equal parts. The lower quartile Q1 has a quarter of the values below it, Q2 is the median, and the upper quartile Q3 has three quarters below it, which together describe the spread of the middle half.
How do you find Q1 and Q3?
Arrange the data in order and find the values at positions n plus 1 over 4 for Q1 and 3 times n plus 1 over 4 for Q3, interpolating when the position is a fraction. For nine values, Q1 is at 2.5 and Q3 is at 7.5.
What is the interquartile range?
The interquartile range is Q3 minus Q1, the spread of the middle half of the data. For the data 5, 7, 8, 10, 12, 15, 18, 20 and 25, Q1 is 7.5 and Q3 is 19, so the interquartile range is 11.5.
What is the difference between percentile and percentage?
A percentage expresses a part of 100, such as scoring 75 per cent of the marks, while a percentile expresses rank, such as scoring higher than 75 per cent of the students. A score at the 75th percentile means that 75 per cent of values lie below it.
How do you detect outliers using quartiles?
Calculate the interquartile range and set fences at Q1 minus 1.5 times the range and Q3 plus 1.5 times the range. Any value outside the fences is treated as an outlier, and for the sample with Q1 of 7.5 and Q3 of 19 the fences are minus 9.75 and 36.25.
PYQ Practice — Statement Analysis
1 Q2, D5 and P50 are all equal to the median.
Each splits the data into two equal halves.
2 The interquartile range is Q3 minus Q1.
It is the spread of the middle half.
3 A percentile is the same as a percentage.
A percentile describes rank, not a part of 100.
4 For 5, 7, 8, 10, 12, 15, 18, 20, 25 the upper quartile is 19.
The position 7.5 gives (18 + 20)/2.
Related Topics
Browse the full Quantitative Aptitude index