P

Percentile Calculator

The value below which a given percentage of your data falls, and where any value ranks.

Statistics & ProbabilityTop 100 · #67Runs in your browser

Result…

Paste numbers separated by commas, spaces or new lines. With spaces or new lines between values, 1,250 reads as one thousand two hundred and fifty.

%

What percentile is this value at in your data? Leave empty to skip.

 

…

How it's calculated

h = (n − 1) × p
P = x₍⌊h⌋₎ + (h − ⌊h⌋) × (x₍⌊h⌋+1₎ − x₍⌊h⌋₎)   (sorted data, counting from 0)
percentile rank of x = (values below x + ½ × values equal to x) ÷ n × 100

The pth percentile is the value with p% of the data at or below it. The percentile rank works the other way: it gives the share of the data below a value, counting values equal to it as half below and half above (the usual textbook definition). Quartiles and percentiles use linear interpolation between the closest ranks by default (R type 7, Excel PERCENTILE.INC / QUARTILE.INC); the median-of-halves method taught in many courses and used by TI-83/84 calculators can give slightly different values for small data sets, so it is offered as an option for quartiles.

Your numbers, step by step

    More in Statistics & Probability