Percentile Calculator

Find any percentile of a data set (like the 90th percentile or the quartiles), or the percentile rank of a score. Drag the marker along the dots to see which values fall below.

Answer

20 values

75th percentile = 90.25

Q1 (25th)76.5
Median (50th)83.5
Q3 (75th)90.25
Interquartile range13.75

Uses linear interpolation between ranks (the method of Excel’s PERCENTILE.INC and most software). Other textbooks round to the nearest rank, which can give a slightly different value for small data sets.

Every value, in order

6280.59975th percentile = 90.25

Each dot is one value; equal values stack. Drag the red handle: the lit dots are at or below the percentile.

Why this answer

  1. Sort the 20 values from smallest to largest.
  2. Position. (p ÷ 100) × (n − 1) + 1 = (75 ÷ 100) × 19 + 1 = rank 15.25.
  3. Interpolate between the values at ranks 15 and 16: 90.25.

Why it works

What is a percentile?

5576.59820th percentile = 69.2

Step 1 of 3

Half below

Twenty students’ test scores, lined up. Drag the red handle to the point where half the class scored at or below it. It’s at the 20th percentile = 69.2.
Find the middle.

Put it to use

Percentiles in real life

Test score reports, children’s growth charts, salary surveys and website response times all use percentiles. Being in the 90th percentile means scoring higher than about 90% of the group, not getting 90% of the answers right. For bell-shaped data with a known mean and standard deviation, use the Normal Distribution Calculator.

How it works

The percentile calculator finds the value at any percentile of a data set (such as the median, quartiles or the 90th percentile) and the percentile rank of a particular value.

Values are sorted; the pth percentile sits at rank (p/100)·(n − 1) + 1, interpolating between neighboring values when the rank isn't a whole number. This matches Excel's PERCENTILE.INC.

The percentile rank of x is the percentage of values below it, counting values equal to x as half.

Rank = (p ÷ 100)(n − 1) + 1Value = x_⌊rank⌋ + fraction × (next − x_⌊rank⌋)Percentile rank = (below + ½ equal) ÷ n × 100IQR = Q3 − Q1

Worked example: 40th percentile of 15, 20, 35, 40, 50

  1. Sorted already; n = 5.
  2. Rank = 0.40 × 4 + 1 = 2.6.
  3. Between the 2nd (20) and 3rd (35) values: 20 + 0.6 × 15 = 29.
  4. The median (50th) is the 3rd value, 35.

Common mistakes

  • Forgetting to sort the data first.
  • Confusing percentile with percent correct.
  • Expecting every method to agree for small data sets (they differ slightly).
  • Reading the 90th percentile as the top 90% (it's the top 10%).

Frequently asked questions

How do you calculate a percentile?

Sort the data, find the rank (p/100)(n − 1) + 1, and take the value at that rank, interpolating if needed.

What does 90th percentile mean?

About 90% of values are at or below it; scoring in the 90th percentile means outscoring about 90% of the group.

Is the median the 50th percentile?

Yes.

What are quartiles?

The 25th (Q1), 50th (median) and 75th (Q3) percentiles, which split the data into four equal parts.

What is percentile rank?

The percentage of scores in a group that are below a given score.