Why quantiles are useful
Quantiles describe location without assuming a symmetric distribution and are less affected by extreme observations than the mean. The interquartile range, Q(0.75) − Q(0.25), measures the middle half of the data. A percentile rank is not the same as a percentage of correct answers; it describes relative position in a reference distribution.
Use quantiles to report skewed measurements, thresholds, and prediction intervals. See mean, median, and mode and confidence intervals.
Pair a centre with a spread measure
The median is the 50th percentile; Q₁ and Q₃ are commonly the 25th and 75th percentiles. Their difference, IQR=Q₃−Q₁, describes the width of the middle half of the data. For sorted values 1, 2, 4, 7, 9, the median is 4. Quartiles for a sample this small depend on convention; some methods include the median when splitting halves, while others interpolate. Software documentation should be checked when exact values must match.
The IQR is less sensitive to extreme observations than the full range. If the largest value changes from 9 to 900, the upper quartile may move little while the maximum changes dramatically. This is useful for skewed data, but quantiles do not show every feature: separated clusters can have identical quartiles, and a percentile threshold does not explain why observations differ. A percentile *value* has the data's unit; a percentile *rank* describes where an observation sits relative to a reference group. For context, pair median and IQR or show a boxplot, and compare with mean and standard deviation.
Try this above
Change the requested percentile and inspect which observations fall below it. Try a small sample to see where software conventions can differ.
Quantiles also provide thresholds for decisions: a service may monitor its 95th-percentile response time because the slowest tail matters more than the average. That threshold should be estimated from enough relevant observations and reported with a time window and population. A sample percentile has uncertainty, especially in small datasets or the tail. It is not a guarantee that exactly 5% of future cases will exceed the observed 95th percentile; that depends on whether future data follow the same distribution.
For integer-valued data, a quantile threshold can equal an observed value and there may be a jump in the cumulative distribution. For continuous models, the cumulative distribution may be inverted to define a quantile. Ties, rounding, and interpolation conventions affect sample results. When comparing percentiles across groups, ensure the reference population and time period are comparable; the same percentile rank can correspond to very different measured values.