Work out decile instantly with clear inputs, formula shown and shareable results.
Deciles split ordered data into ten equal parts, so the kth decile is the value below which k tenths of the data fall. Linear interpolation between neighbouring observations is used when the position is not a whole index.
Decile position
position = (n − 1) × k/10, then interpolate between the surrounding values
The position is 11 × 0.3 = 3.3, interpolating between the fourth and fifth sorted values to give 22.9.
The kth decile is the 10k-th percentile, so D₅ is the median.