Percentile Calculator

Find any percentile of a data set, or the percentile rank of a value, with quartiles and interquartile range.

Understanding the percentile calculation

There is more than one accepted way to compute a percentile, and different methods can give different answers on small data sets. The calculator shows both the linear interpolation method used by most statistical software and the simpler nearest-rank method.

Quartiles and the interquartile range come from the same calculation and are shown alongside, since they are what box plots and outlier tests are built on.

Getting your answer

  1. Paste your data, separated by commas, spaces or new lines.
  2. Enter the percentile you want.
  3. Enter a value to find its percentile rank instead.

The maths behind it

linear interpolation: index = (p/100) ร— (n โˆ’ 1), interpolate between neighbours nearest rank: ceiling of (p/100) ร— n IQR = Q3 โˆ’ Q1

The default scenario, worked through

Worked through, a data set of 12, 15, 18, 22, 25, 27, 31, 34, 38, 44 produces a percentile value of 33.25. Underneath, Nearest-rank method comes out at 34 (rank 8 of 10) and Percentile rank of your value at 55%. Change any field and every figure updates as you type.

Common questions

What is a percentile?
The value below which a given percentage of the data falls. The 75th percentile is the value that three quarters of the data sit below.
Why do calculators disagree on percentiles?
Because several definitions are in use. This tool shows two of the most common so you can match whichever your course or software uses.
What is the interquartile range used for?
It measures spread while ignoring extremes, and is the basis of the common 1.5 ร— IQR outlier rule.