Percentile Calculator
Find a percentile two ways. Enter your data set, then either find the value at a given percentile, or find the percentile rank of a value. Full step-by-step working is shown.
The percentile calculator finds a percentile two ways. Enter your data set, then either find the value at a given percentile, or find the percentile rank of a single value. For the set 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, the 25th percentile is 56.25 and the 75th is 78.75. Every answer comes with full step by step working.
What is a percentile?
A percentile tells you where a value stands compared to the rest of a data set. If you scored in the 90th percentile on a test, you scored higher than 90% of everyone who took it. It describes your position in the group, not your raw score.
Percentiles turn a pile of numbers into a ranking. That is why they show up everywhere: test reports, growth charts, salary bands, and data analysis all use them to answer the same question, where does this value sit relative to everything else?
There are two things people usually want. One is the value at a certain percentile, for example the number that marks the 90th percentile of a data set. The other is the percentile rank of a specific value, meaning what percentage of the data falls below it. The calculator above does both, and this page explains each.
How to calculate a percentile
To find the value at a given percentile, sort the data, then find its position with this formula:
L = (P ÷ 100) × (n − 1)
Here P is the percentile you want and n is how many values you have. L is the index position in the sorted list, counting from zero. If L is a whole number, the value at that index is your answer. If L is a decimal, you interpolate between the two nearest values.
Take the data set 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, with n = 10. For the 25th percentile: L = (25 ÷ 100) × 9 = 2.25. That falls between index 2 (55) and index 3 (60). Interpolating: 55 + 0.25 × (60 − 55) = 56.25. So the 25th percentile, also called Q1, is 56.25.
How to find a percentile rank
The percentile rank answers the reverse question: given a value, what percentage of the data sits below it? The formula is:
PR = ((values below + 0.5 × values equal) ÷ n) × 100
Count how many values are below your target, add half of any that equal it, divide by the total, and multiply by 100. In the set 4, 23, 34, 34, 44, 343, the value 34 has 2 values below it and 2 equal to it. PR = ((2 + 0.5 × 2) ÷ 6) × 100 = 50%. So 34 sits at the 50th percentile. Note the 343 in that set. Values that sit far from the rest distort percentiles, and how percentiles flag outliers covers what to do about them.
Use the calculator's rank mode when you know the number and want its percentile, and value mode when you know the percentile and want the number. Picking the wrong one is the single most common percentile mistake.
Percentile formula: the two you need
There is no single percentile formula. There are two, and they answer opposite questions. Mixing them up gives a wrong answer every time.
| You know | You want | Formula |
|---|---|---|
| The percentile (P) | The value at it | L = (P ÷ 100) × (n − 1) |
| A value | Its percentile rank | PR = ((below + 0.5 × equal) ÷ n) × 100 |
The first is a position formula: it locates a spot in the sorted data. The second is a ranking formula: it measures how a value compares to the rest. The calculator runs whichever one matches the mode you pick.
Worked example: finding Q1 and Q3
A common homework task is finding the quartiles of a data set. Take ten test scores: 45, 50, 55, 60, 65, 70, 75, 80, 85, 90.
- 25th percentile (Q1): L = (25 ÷ 100) × 9 = 2.25. Between index 2 (55) and index 3 (60): 55 + 0.25 × 5 = 56.25.
- 50th percentile (median): L = (50 ÷ 100) × 9 = 4.5. Between index 4 (65) and index 5 (70): 65 + 0.5 × 5 = 67.5.
- 75th percentile (Q3): L = (75 ÷ 100) × 9 = 6.75. Between index 6 (75) and index 7 (80): 75 + 0.75 × 5 = 78.75.
So Q1 is 56.25, the median is 67.5, and Q3 is 78.75. These three points split the data into four equal quarters, which is exactly what quartiles are. The 5 number summary calculator finds all of them plus the min and max in one step.
Worked example: finding the 90th percentile
The 90th percentile is a standard benchmark in performance testing, because it captures nearly all results while ignoring rare extremes. Take these response times in seconds: 12, 15, 18, 22, 25, 30, 35, 40, 50, 65.
The data is already sorted, n = 10. L = (90 ÷ 100) × 9 = 8.1. That falls between index 8 (50) and index 9 (65). Interpolating: 50 + 0.1 × (65 − 50) = 51.5.
The 90th percentile is 51.5 seconds. This means 90% of response times fall at or below 51.5 seconds. Reporting the 90th rather than the maximum is how engineers describe typical worst-case performance without letting one freak outlier define it.
Common percentiles and what they mean
A few percentiles come up far more than others. These are the reference points you will meet in tests, health charts, and reports.
| Percentile | Also called | Meaning |
|---|---|---|
| 25th | First quartile (Q1) | 25% of values fall below it |
| 50th | Median (Q2) | The exact middle; half above, half below |
| 75th | Third quartile (Q3) | 75% of values fall below it |
| 90th | — | Only 10% of values are above it |
| 95th | — | A common outlier and benchmark cutoff |
| 99th | — | The top 1%; used for extreme rankings |
What does the 90th percentile mean?
The 90th percentile is the value below which 90% of the data falls. Only 10% of values sit above it.
On a standardized test, scoring in the 90th percentile means you did better than 90% of test takers. In performance monitoring, a 90th percentile response time of 200ms means 9 out of 10 requests were that fast or faster. It is a high position in any ranking, without being the absolute top.
What is the 50th percentile?
The 50th percentile is the median, the exact middle of a data set. Half the values fall below it and half above.
It is the most referenced percentile because it marks the center. If your income is at the 50th percentile, you earn more than half your group and less than the other half. Unlike the mean, the median is not dragged around by a few extreme values, which is why percentiles lean on it.
What does the 99th percentile mean?
The 99th percentile is the value below which 99% of the data falls. It marks the top 1%.
You see it in two places most often: elite test rankings, where the 99th percentile separates the highest scorers, and system monitoring, where the 99th percentile latency shows how the slowest 1% of requests behave. It is the standard way to describe the extreme edge of a distribution.
Percentile vs percentage
These two get confused constantly, but they measure different things.
A percentage is a score out of 100. Getting 80% on a test means you answered 80 of every 100 questions correctly. A percentile is a rank. Scoring in the 80th percentile means you did better than 80% of the people in the group. One measures how much you got right, the other measures where you stand compared to others.
Two students can have very different percentiles with the same percentage, depending on how everyone else did. An 80% on a hard exam where most people scored low might land in the 95th percentile. The same 80% on an easy exam might only reach the 60th.
Where percentiles are used
- Standardized tests: SAT, GRE, and ACT reports show your percentile rank, telling you how you compare to everyone who took the test.
- Child growth charts: doctors track height and weight by percentile. A child in the 70th percentile for height is taller than 70% of peers the same age.
- Salary comparison: income percentiles show where earnings sit against the wider population, which is useful in pay negotiations.
- Data science: percentiles flag outliers and describe how data is spread. The outlier calculator uses percentile-based quartiles to find extreme values, and quartiles themselves are just the 25th and 75th percentiles.
Common mistakes when calculating percentiles
- Not sorting the data first. Every percentile formula assumes the values are in order from smallest to largest. Skip this and the answer is wrong.
- Confusing percentile with percentage. A percentage is a score, a percentile is a rank. They are not interchangeable.
- Using the wrong formula. Finding the value at a percentile and finding a value's percentile rank are two different calculations. Match the formula to the question.
- Different methods, different answers. There are several accepted percentile methods (nearest rank, linear interpolation, and others). They can give slightly different numbers for the same data. This calculator uses linear interpolation on n − 1, the method taught in most statistics courses, so small differences from another tool are normal, not errors.
Frequently asked questions
How do you calculate a percentile?
Sort the data, then use L = (P ÷ 100) × (n − 1) to find the index position. If L is a whole number, take the value there. If it is a decimal, interpolate between the two nearest values. The calculator above shows every step.
What is the difference between percentile and percentage?
A percentage is a score out of 100, like getting 75% of questions right. A percentile is a rank, like scoring higher than 75% of a group. One measures performance, the other measures position.
How do you find the percentile rank of a value?
Count the values below your target, add half of any equal to it, divide by the total number of values, and multiply by 100. The formula is PR = ((below + 0.5 × equal) ÷ n) × 100.
What does it mean to be in the 90th percentile?
It means 90% of the values fall at or below you, and only 10% are above. On a test, you outperformed 90% of test takers.
Is the 50th percentile the same as the median?
Yes. The 50th percentile and the median are the same point, the exact middle of the data where half the values fall below and half above.
Why do different calculators give slightly different percentiles?
Because there are several accepted methods for calculating percentiles, and they handle the in-between positions differently. Small differences are expected. This tool uses the linear interpolation method taught in most statistics courses.
How do I find Q1 and Q3?
Q1 is the 25th percentile and Q3 is the 75th. Enter your data in the calculator, set the percentile to 25 for Q1 and 75 for Q3, and it returns both with full working.
Try these next
- Mean Median Mode Range Calculator — the core averages behind any data set.
- Z Table — convert scores to percentiles under a normal curve.
- Standard Deviation Calculator — measure how spread out your values are.
- Coefficient of Variation Calculator — spread as a percentage of the mean.