ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Quartiles, deciles and percentiles: partition values of data
Split sorted data into four, ten or a hundred equal shares: locate quartiles, deciles and percentiles of ungrouped data by the (n + 1) position rule with interpolation, estimate them for grouped data from cumulative frequencies, and find a percentile rank.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Locate the quartiles, deciles and percentiles of ungrouped data by the (n + 1) position rule, interpolating between neighbouring values.
- Show that the second quartile, the fifth decile and the 50th percentile are all the median of the data.
- Estimate quartiles, deciles and percentiles of grouped data with the cumulative frequency interpolation formula.
- Calculate the percentile rank of a score as the percent of values that lie below it.
Before you start
Partition values are cut points that divide a sorted list into equal shares. Three quartiles, Q1, Q2 and Q3, make four shares; nine deciles, D1 to D9, make ten; and ninety-nine percentiles, P1 to P99, make a hundred. So about a quarter of the values lie below Q1, about three tenths below D3 and about 90 percent below P90. You should already know how to sort a list, find a median and build a cumulative frequency column. In this lesson n is the count of values in an ungrouped list and N is the total frequency of a grouped table. The letter x is only ever a multiplication sign, and all the data are made up for practice.
Ungrouped data: the (n + 1) position rule
First sort the values from smallest to largest. The j-th quartile Qj is at position j(n + 1)/4, the k-th decile Dk at k(n + 1)/10 and the k-th percentile Pk at k(n + 1)/100. A position tells you where to look in the sorted list; it is not the answer itself. If the position is a whole number, the partition value is the value standing there. If it has a fractional part, begin at the value in the whole-number place and move that fraction of the way to the next value: position 6.25 gives the 6th value + 0.25 x (7th value - 6th value). A position below 1 means the smallest value, and a position beyond n means the largest. Since 2(n + 1)/4, 5(n + 1)/10 and 50(n + 1)/100 all equal (n + 1)/2, Q2 = D5 = P50 = the median. In the same way Q1 = P25 and Q3 = P75. Some books, calculators and spreadsheets use other position rules, such as kn/100 rounded up, or 1 + (n - 1)k/100, and for short lists their answers differ slightly. This lesson uses the (n + 1) rule every time, so follow whatever rule a question names.
Grouped data: interpolating inside a class
A grouped table hides the single values, so a partition value is estimated inside one class, on the assumption that the values in that class are spread evenly across it. For Qj, work out jN/4; for Dk use kN/10 and for Pk use kN/100. Here N itself is used, not N + 1. Run down the cumulative frequency column and stop at the first class whose cumulative frequency is at least that number. Then Qj = L + ((jN/4 - C)/f) x h, where L is the lower limit of that class, C is the cumulative frequency of the class just before it (0 if it is the first class), f is the frequency of the class itself and h is its width. Swap jN/4 for kN/10 or kN/100 to get a decile or a percentile. The grouped median is simply the case j = 2. If the classes are written with gaps, such as 20-29 and 30-39, change them to boundaries first, as the grouped-data lesson shows. A correct answer always lies inside the class you chose.
Percentile rank: from a score to a percent
A percentile is a value in the unit of the data, such as Rs. 640 or 72 marks. A percentile rank works the other way round: it starts from one score and reports a percent. In this lesson, percentile rank = (number of values below the score / total number of values) x 100. If 45 of the 60 workers at a site in Indore earn less than Sunita, her wage has a percentile rank of 45/60 x 100 = 75, which places it close to P75 for that group. Some books also count half of the values that tie with the score; when a question says 'below', count only the values strictly below it. A percentile rank compares one person with a group, so it is not the same as percentage marks: 60 percent marks in a tough paper could still earn a percentile rank above 90.
Common mistakes
Working with an unsorted list is the first trap, so sort before finding any position. Next, the position is not the value: position 2.25 does not make Q1 equal to 2.25. Once the position is known, interpolate across the gap to the next value using the fractional part itself, not what is left of 1; for position 6.75, move 0.75 of the gap, not 0.25. Do not mix the rules: ungrouped lists here use n + 1, while grouped tables use N with nothing added. In a grouped table, pick the class by its cumulative frequency, not by the largest frequency, and take C from the class before, not from the chosen class. Finally, keep a percentile, which is a value, apart from a percentile rank, which is a percent, and keep both apart from percentage marks.
A routine for partition values
1. Decide what is asked: Qj, Dk, Pk or a percentile rank. 2. Ungrouped list: sort it, count n, and work out j(n + 1)/4, k(n + 1)/10 or k(n + 1)/100. 3. Read off the value, or interpolate when the position has a fraction; use the smallest or largest value when the position falls outside 1 to n. 4. Grouped table: add cumulative frequencies, find jN/4, kN/10 or kN/100, locate the class and use L + ((target - C)/f) x h. 5. Percentile rank: count the values below the score, divide by the total and multiply by 100. 6. Sense-check: Q1 is at most Q2, which is at most Q3, the deciles D1 to D9 rise in order, and a grouped answer sits inside its class.
Worked examples
The daily wages, in Rs., of 8 workers at a brick kiln near Agra are 520, 470, 610, 380, 450, 560, 490 and 700. Using the (n + 1) rule, find the lower quartile Q1, the median Q2 and the upper quartile Q3.
- Sorted, with positions: 1st 380, 2nd 450, 3rd 470, 4th 490, 5th 520, 6th 560, 7th 610, 8th 700. So n = 8 and n + 1 = 9.
- Q1: position 9/4 = 2.25, between the 2nd value (450) and the 3rd (470). Q1 = 450 + 0.25 x (470 - 450) = 450 + 5 = 455.
- Q2: position 2 x 9/4 = 4.5, between 490 and 520. Q2 = 490 + 0.5 x 30 = 505, the same as the usual median of an even count.
- Q3: position 3 x 9/4 = 6.75, between 560 and 610. Q3 = 560 + 0.75 x 50 = 560 + 37.5 = 597.5.
Answer: Q1 = Rs. 455, Q2 = Rs. 505 and Q3 = Rs. 597.50.
The monthly electricity bills, in Rs., of 8 flats in a Pune housing society are 1240, 980, 1510, 1120, 1360, 1050, 1680 and 1430. Find the third decile D3, the 80th percentile P80 and the 5th percentile P5.
- Sorted: 980, 1050, 1120, 1240, 1360, 1430, 1510, 1680, so n + 1 = 9.
- D3: position 3 x 9/10 = 2.7. D3 = 1050 + 0.7 x (1120 - 1050) = 1050 + 49 = 1099.
- P80: position 80 x 9/100 = 7.2. P80 = 1510 + 0.2 x (1680 - 1510) = 1510 + 34 = 1544.
- P5: position 5 x 9/100 = 0.45, which is below 1, so P5 is the smallest bill, 980.
Answer: D3 = Rs. 1,099, P80 = Rs. 1,544 and P5 = Rs. 980.
The marks of 50 students of a coaching class in Lucknow in a practice test are grouped as 20-30: 5, 30-40: 10, 40-50: 15, 50-60: 12 and 60-70: 8. Estimate Q1, Q3 and the 90th percentile P90.
- Class, frequency, cumulative frequency: 20-30, 5, 5; 30-40, 10, 15; 40-50, 15, 30; 50-60, 12, 42; 60-70, 8, 50. So N = 50 and h = 10.
- Q1: N/4 = 12.5. The running total first reaches 12.5 at 15, in class 30-40, so L = 30, C = 5 and f = 10. Q1 = 30 + ((12.5 - 5)/10) x 10 = 30 + 7.5 = 37.5.
- Q3: 3N/4 = 37.5, first reached at 42, in class 50-60, so L = 50, C = 30 and f = 12. Q3 = 50 + ((37.5 - 30)/12) x 10 = 50 + 6.25 = 56.25.
- P90: 90N/100 = 45, first reached at 50, in class 60-70, so L = 60, C = 42 and f = 8. P90 = 60 + ((45 - 42)/8) x 10 = 60 + 3.75 = 63.75.
- Each estimate lies inside the class it came from, which is a useful check.
Answer: Q1 = 37.5 marks, Q3 = 56.25 marks and P90 = 63.75 marks.
Practice checks
- A batter scored 45, 12, 78, 33, 60 and 25 runs in six innings. Using the (n + 1) rule, the upper quartile Q3 of these scores is:
- The weights, in kg, of 7 parcels at a courier office in Kochi, already in order, are 14, 19, 23, 28, 31, 37 and 42. The sixth decile D6 is:
- Eight vegetable sellers in a Nagpur market sold these amounts of tomatoes, in kg, on one day: 52, 47, 61, 39, 58, 44, 66 and 50. The 50th percentile P50 is:
- The marks of 40 students are grouped as 0-10: 5, 10-20: 9, 20-30: 14, 30-40: 8 and 40-50: 4. The 80th percentile P80 is:
- In a typing test taken by 80 candidates in a district, 62 scored below Arjun and 3 others scored exactly the same as him. Taking the percentile rank as the percent of all candidates who scored below him, Arjun's percentile rank is:
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-II Paper-II Statistics (partition values: quartiles, deciles, percentiles); not verified as the full 2026-cycle syllabus
- NCERT, Statistics for Economics, Textbook for Class XI — Chapter 5, Measures of Central Tendency: the median and the positional values (quartiles and percentiles) that split ordered data into equal parts; mathematical relationships only
- NIST/SEMATECH e-Handbook of Statistical Methods — Section 7.2.6.2, Percentiles: ordering the data and locating a percentile at position p(N + 1), interpolating between neighbouring values; mathematical relationships only