Percentile Calculator

Find a percentile from a data set.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste your numbers and choose a percentile from 0 to 100. The 90th percentile of 1, 2, 3, 4, 5, 6, 7, 8, 9 is 8.2.

How to use

1
Step 1
Enter the values, separated by commas, in any order.
2
Step 2
Enter the percentile p (0 to 100).
3
Step 3
Press Calculate.

How it works

The values are sorted, and the percentile is placed at position (n − 1) × p/100 counting from 0, interpolating between neighbours. For nine values and p = 90 the position is 7.2, which is 20% of the way from 8 to 9, giving 8.2. The 50th percentile is the median.

position = (n − 1) × p ÷ 100      value = xₖ + (position − k)(xₖ₊₁ − xₖ)

Worked example

Quartile of five values

Input
15, 20, 35, 40, 50 at p = 25
Output
20
Walkthrough
Position = 4 × 0.25 = 1.0, which is the second sorted value, 20.

Limitations

  • p must be between 0 and 100.
  • This interpolation method can differ from the ones used by other software (exclusive, nearest rank), especially for small samples.

Questions

What is the 90th percentile of 1 to 9?
8.2.
What is the 25th percentile of 15, 20, 35, 40, 50?
20.
What is the 50th percentile of 7, 3, 9, 1?
5, the mean of the middle values 3 and 7.
Do the numbers need to be sorted?
No. The tool sorts them first.

Features

  • Linear interpolation
  • Unsorted input
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Standard Deviation - Explained and Visualized

    Jeremy Blitz-Jones

    Visual SD intuition for probability and stats tools.

    Watch on YouTube
  • The essence of calculus

    3Blue1Brown

    Visual calculus story that complements symbolic solvers.

    Watch on YouTube
  • Correlation

    Math is Fun

    Correlation vs causation notes next to correlation tools.

  • Math is Fun

    Math is Fun

    Clear explainers that pair well with calculator-style tools.