331+ free tools. No sign-up. No hidden fees. Explore the toolkit

Percentile Calculator

A percentile tells you where a value stands in a data set: the 25th percentile is the value that a quarter of the data sits at or below, and the 90th percentile is the value that 90% of the data sits at or below. Percentiles are how exam results, growth charts, salaries and test scores are usually compared — they say “where do I stand?” in a single number.

Paste your numbers, pick a percentile between 0 and 100, and this calculator finds the value at that percentile, showing the sorted list and the rank position it used.

Separate numbers with commas, spaces or new lines. The list is sorted for you.

Which percentile do you want? 25 is the first quartile, 50 is the median, 90 is the 90th percentile.

25th percentile

Save to Pinterest
Method: this calculator uses linear interpolation between closest ranks, with rank = p/100 × (n − 1) — the same method as NumPy's default percentile. Other tools use different conventions (nearest rank, or rank = p/100 × (n + 1)), so small differences between calculators are normal; this page states its method so you can compare fairly.

How It Works

First the list is sorted from smallest to largest. Then the rank of the percentile is worked out:

rank = p / 100 × (n − 1)

where p is the percentile you asked for and n is how many values there are. The rank is a position in the sorted list, counting from 0: a rank of 0 is the smallest value, and a rank of n − 1 is the largest. If the rank lands exactly on a whole number, that value is the answer. If it lands between two positions, the answer is interpolated — worked out proportionally between the two neighbouring values. A rank of 3.6, for example, is 60% of the way from the value at position 3 to the value at position 4.

This is the linear interpolation between closest ranks method, and it is the default in NumPy (the most widely used numerical library) and in many spreadsheet and statistics packages. It has two tidy properties: the 0th percentile is always the minimum, the 100th percentile is always the maximum, and the 50th percentile is exactly the median.

Be aware that percentile methods differ. The nearest-rank method rounds the rank up to the next whole position and takes that value, with no interpolation — it always returns one of your actual values. The (n + 1) method uses rank = p/100 × (n + 1) instead. For large data sets the methods agree closely; for small ones they can differ by a few points, which is why this page states its method up front.

Worked Example

Take the numbers 10, 20, 30, 40, 50 (already sorted, n = 5). The 25th percentile has rank 25/100 × 4 = 1, which lands exactly on the value at position 1 — 20. The 50th percentile (the median) has rank 50/100 × 4 = 2, landing exactly on 30. The 90th percentile has rank 90/100 × 4 = 3.6, which falls 60% of the way from 40 (position 3) to 50 (position 4): 40 + 0.6 × (50 − 40) = 46.

Now take 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (n = 10). The 25th percentile has rank 25/100 × 9 = 2.25, which falls 25% of the way from 3 (position 2) to 4 (position 3): 3 + 0.25 × (4 − 3) = 3.25.

Assumptions

Sources: No external data is used on this page — every figure is calculated from the values you enter, using linear interpolation between closest ranks (rank = p/100 × (n − 1)), the same method as NumPy's default percentile. Last reviewed: 15 November 2026.

Built and tested by SumKitTool — see how we check our numbers.

How to Use This Calculator

Paste your numbers into the box, separated by commas, spaces or new lines, then enter the percentile you want — any number from 0 to 100, including decimals. The result updates as you type, and the table shows the sorted list, the rank position used, and how the value was found (exact hit or interpolation). Reset restores the worked example.

Try the worked examples: the defaults give the 25th percentile of 10, 20, 30, 40, 50 as 20. Change the percentile to 50 and you get 30; change it to 90 and you get 46. Then paste "1, 2, 3, 4, 5, 6, 7, 8, 9, 10" and ask for the 25th percentile — the answer is 3.25.

Tips and Practical Advice

Percentiles are the fairest way to compare a single value against a group. Saying "I scored 72" means little on its own; saying "I scored at the 85th percentile" says you beat 85% of the group — no matter how hard or easy the test was.

Watch out for small data sets. With only 5 values, each value is a 20% jump, so percentiles are coarse and interpolation does a lot of the work. With 100+ values, percentiles settle down and become much more meaningful.

If another calculator gives a slightly different answer, check its method first — nearest-rank and (n + 1) methods are common, and they disagree most on small data sets. This page uses linear interpolation between closest ranks (rank = p/100 × (n − 1)), the NumPy default.

Frequently Asked Questions

What is a percentile?

A percentile is the value below which a given percentage of the data falls. The 25th percentile is the value that 25% of the data sits at or below; the 90th percentile is the value that 90% sits at or below. If you score at the 85th percentile on a test, you scored higher than about 85% of everyone who took it.

How is a percentile calculated?

Sort the numbers, then work out the rank: rank = p/100 × (n − 1), where p is the percentile and n is how many values there are. If the rank lands on a whole number, that value is the answer; if it falls between two values, the answer is interpolated proportionally between them. This is the linear interpolation between closest ranks method, the same as NumPy's default.

What is the difference between a percentile and a percentage?

A percentage is a share of a total — 25% of 200 is 50. A percentile is a position in a data set — the 25th percentile is the value that a quarter of the data sits at or below. Scoring 25% on a test means you got a quarter of the marks; scoring at the 25th percentile means three-quarters of the group scored above you.

What percentile is the median?

The 50th percentile is exactly the median — the middle value, with half the data below it and half above it. The 25th percentile is the first quartile (Q1) and the 75th percentile is the third quartile (Q3), so the percentiles at 25, 50 and 75 split a data set into four equal quarters. For quartiles with the IQR and outlier fences, use the quartile calculator.

Last updated: