Percentile Calculator
Calculates percentiles both ways — interpolated and nearest-rank — so you can see where the two definitions disagree.
Loading the tool…
How to use this tool
- Paste your numbers, one per line.
- Set the percentiles you want as a comma-separated list, or leave the default set.
- Select Calculate.
- Compare the two result columns. Where they disagree, say which definition you used when you quote the figure.
What percentile calculator does
There is no single definition of a percentile. Excel, NumPy and R type 7 interpolate between the two neighbouring values; monitoring tools and most textbooks take the nearest rank instead. On a large dataset the two barely differ, but on the small samples people usually paste in they can differ a great deal, and a latency target argued from one definition and measured with the other is an argument nobody wins.
Both columns are shown for every percentile you ask for, along with the rank the nearest-rank answer came from and the share of the data at or below it. Ask for the ones you care about as a comma-separated list — the default covers the usual P50, P90, P95 and P99 service-level set as well as the quartiles.