Decile Calculator
This decile calculator turns your numbers into D1 to D9. Example: for 12 values from 10 to 22, D1 is 11.1, the median D5 is 15.5 and D9 is 19.9.
Source: Wikipedia – Decile. Updated: .
How it is calculated
Deciles split a sorted list of numbers into ten equal parts: D1 cuts off the lowest 10%, D5 is the median and D9 cuts off the top 10%.
Method and working
The values are sorted. With the inclusive method the p-quantile (p = 0.1 for D1 up to 0.9 for D9) sits at position h = (n − 1) · p + 1; with the exclusive method at h = (n + 1) · p. When h falls between two values, linear interpolation applies: x(h) = x(⌊h⌋) + (h − ⌊h⌋) · (x(⌊h⌋+1) − x(⌊h⌋)). The calculator uses the same rule for quartiles (QUARTILE.INC or QUARTILE.EXC), so D2.5 equals Q1 and D7.5 equals Q3.
Worked example
Sorted, the list is 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22 (n = 12). Inclusive, the position for D1 is 11 · 0.1 + 1 = 2.1, giving 11 + 0.1 · (12 − 11) = 11.1. D5 sits at position 6.5 and gives (15 + 16) / 2 = 15.5; D9 sits at position 10.9 and gives 19 + 0.9 · (20 − 19) = 19.9. Exclusive, the positions are 13 · p: D1 at position 1.3 gives 10.3 and D9 at position 11.7 gives 21.4.
- The exclusive method needs at least 9 values for D1 to D9 to be defined.
- The smaller the sample, the more the methods differ; with large data sets they barely do.
- Typical use: income or grade distributions, to show where the bottom and top 10% begin.
Frequently asked questions
How do you calculate deciles?
Sort the values, find the position h = (n − 1) · p + 1 for p = 0.1 to 0.9 and interpolate linearly between neighbouring values. For our 12 values, D1 = 11.1.
What is the difference between a decile and a quartile?
Quartiles split the data into four parts, deciles into ten. D5 is the median like Q2; Q1 corresponds to D2.5 and Q3 to D7.5.
Which method should I choose?
The inclusive method is the default in Excel (PERCENTILE.INC) and R. You only need the exclusive method if your specification names PERCENTILE.EXC.
Sources and legal basis
As of: · Editorial policy
Related tools
- Quartile CalculatorQuartile calculator: enter your numbers to get Q1, median, Q3, the interquartile range and outliers, with four methods and the full working shown.
- Five Number Summary CalculatorFive number summary calculator: minimum, Q1, median, Q3 and maximum of a data set with four quartile methods, outlier fences and the working shown step by step.
- Standard deviation calculatorStandard deviation calculator for a list or frequency table: switch between sample (s) and population (σ), see every step in a table, plus a box plot.
- Average CalculatorAverage calculator: mean, median, mode and weighted average of your numbers with working and frequency table – plus the value needed for a target average.
- Outlier CalculatorOutlier calculator using the IQR rule: quartiles, fences at 1.5 × IQR or 3 × IQR and the values found, with steps and a choice of quartile method.
- Percentage CalculatorFree percentage calculator: find X% of a number, what percent one number is of another, percentage change, increase and discount – with formula and steps.
- Online CalculatorCalculator online, free and instant: type or tap and see the answer as you go – order of operations, brackets, percent, square root, steps and a history list.
- Easy grader for teachersEasy grader for teachers: enter the number of questions and how many were wrong to get the percentage and letter grade, plus a full grading chart to print.
- WAEC grade calculator (WASSCE, A1 to F9)WAEC grade calculator: type each subject with its score to see the grade from A1 to F9, the remark and your number of credits, with English and Maths checked.