Percentile calculator

A percentile is a cut through sorted data. Choose a percentile to see the value, or choose a value to see its rank, both drawn on your data.

Separate with spaces, commas or new lines. 20 numbers read.
90th percentile88.3
60708090P90

Orange dots are at or below the cut.

  1. Sort the 20 values.
  2. Position = (n − 1) × p + 1 = (20 − 1) × 0.9 + 1 = 18.1
  3. Value 18 is 88, value 19 is 91; go 0.1 of the way between them → 88.3
Percentile10th25th50th75th90th95th99th
Value61.868.573.581.588.391.294.24

Percentiles in one picture

The p-th percentile is the value with p% of the data at or below it. If your score is at the 90th percentile, you did as well as or better than 90% of the group. That is different from scoring 90%: on a hard test, 62% might be the 90th percentile.

Two questions, two directions

  • "What score is the 75th percentile?" Value at a percentile. The answer is a data value.
  • "What percentile is a score of 80?" Percentile rank. The answer is a percentage.

Percentiles for normal data

If you only know a mean and standard deviation, and the data are bell-shaped, convert to a z-score and use the normal curve instead: the z-score calculator gives the percentile directly. Growth charts from the CDC and WHO work this way.

The 25th, 50th and 75th percentiles are the quartiles, the backbone of the box plot.

Still not clicking? Ask the tutor

An AI tutor that sees the numbers you entered above and explains them. It can make mistakes, so check anything important against the worked steps.

Questions students ask

How do you calculate a percentile?

Sort the data and compute the position (n − 1) × p + 1 for percentile p (as a decimal). If the position falls between two values, interpolate between them. This is the method used by Excel's PERCENTILE.INC and R's default.

What is percentile rank?

The percentage of values below a given value. This page reports the common "mid-rank" version, (below + ½ × equal) / n × 100, and the strict "below only" version.

Is the 50th percentile the median?

Yes. The 25th and 75th percentiles are the first and third quartiles.

Why do calculators give slightly different percentiles?

There are at least nine textbook definitions (Hyndman and Fan, 1996). They agree for large data sets but differ slightly for small ones. This calculator uses linear interpolation (type 7).

Keep exploring