Percentile Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free percentile calculator. Find any percentile of a data set (Excel's PERCENTILE.INC method) or the percentile rank of a value, plus the quartiles.
- Percentile rank of value
- 0
- Q1, median, Q3
- 0
- Count
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the percentile calculator
- Paste your numbers into the box, separated by commas, spaces or new lines.
- Enter the percentile you want to find, from 0 to 100 (for example, 90 for the 90th percentile).
- Enter a value to rank (optional) to find its percentile rank in the data.
- Read the results. The percentile calculator shows the value at that percentile, the percentile rank of your value, the quartiles (Q1, median, Q3) and the number of values.
What is a percentile?
A percentile is a value below which a given percentage of the data falls. The 90th percentile is the value that 90% of the data is below (or at). The median is the 50th percentile.
Percentiles are used everywhere: exam scores ("you scored in the 85th percentile"), children's growth charts, salaries, website response times and test results.
Percentile versus percentile rank
These two ideas are easy to confuse:
- Percentile (value): "What score marks the 90th percentile?" You give a percentage; you get a value.
- Percentile rank: "What percentile is a score of 75?" You give a value; you get a percentage.
The percentile calculator does both.
How percentiles are calculated
There are several methods, which give slightly different answers for small data sets. The percentile calculator uses the inclusive method, the same as Excel's PERCENTILE.INC and Google Sheets' PERCENTILE:
- Sort the data from smallest to largest.
- Find the position: (n − 1) × p ÷ 100 + 1, where n is the number of values and p the percentile.
- If the position is a whole number, the percentile is that value. Otherwise, interpolate between the two values on either side.
Example
Data: 15, 20, 35, 40, 50 (n = 5). For the 40th percentile:
- Position = (5 − 1) × 0.40 + 1 = 2.6
- The 2nd value is 20 and the 3rd is 35.
- Interpolate: 20 + 0.6 × (35 − 20) = 29
Percentile rank formula
The percentile calculator uses:
Percentile rank = (number of values below + ½ × number of values equal) ÷ n × 100
For a value of 35 in the data above: 2 values are below and 1 is equal, so the rank is (2 + 0.5) ÷ 5 × 100 = 50.
Counting half of the equal values is a common convention that treats ties fairly. Some tests and textbooks use slightly different definitions, such as "percentage below" only, which would give 40 here.
Quartiles
Quartiles split the data into four equal parts:
- Q1 (25th percentile): a quarter of the data is below it.
- Q2 (50th percentile): the median.
- Q3 (75th percentile): three quarters of the data is below it.
The interquartile range (IQR) = Q3 − Q1 measures the spread of the middle half of the data. Our interquartile range calculator also finds outliers.
Other percentile methods
| Method | Spreadsheet function | Notes |
|---|---|---|
| Inclusive | PERCENTILE.INC, PERCENTILE | Used by this calculator |
| Exclusive | PERCENTILE.EXC | Can't calculate the very lowest and highest percentiles for small samples |
| Nearest rank | – | Picks an actual data value, no interpolation |
With large data sets, all methods give nearly identical answers. With small ones, check which method your teacher, test or software uses.
Percentiles in common situations
- Test scores: a percentile rank of 85 means you scored as well as or better than about 85% of test takers. It doesn't mean you got 85% of questions right.
- Growth charts: a child on the 25th percentile for height is taller than about 25% of children of the same age and sex. Children following their own line consistently are usually growing normally.
- Salaries: the 90th percentile salary shows what top earners make, while the median shows the middle.
- Website performance: engineers often watch the 95th or 99th percentile response time, because averages hide slow requests that frustrate users.
Percentiles and the normal distribution
If data follows a normal distribution, percentiles relate to z-scores: the 84th percentile is about one standard deviation above the mean, and the 97.7th percentile is about two. Our z-score calculator converts between them.
A worked example
Priya teaches a class of 20 students. The test scores are:
52, 58, 61, 64, 65, 67, 68, 70, 71, 72, 74, 75, 77, 78, 80, 82, 85, 88, 91, 95
In the percentile calculator:
- 90th percentile: position (19 × 0.9) + 1 = 18.1, so 88 + 0.1 × (91 − 88) = 88.3.
- Percentile rank of 77: 12 values are below and 1 is equal, so (12 + 0.5) ÷ 20 × 100 = 62.5.
- Quartiles: Q1 = 66.5, median = 73, Q3 = 80.5.
Priya uses the quartiles to group students for revision sessions.
Who uses a percentile calculator
Students and teachers use it for test results and statistics coursework. Parents use it to understand growth chart percentiles. HR teams use it to benchmark salaries. Analysts and engineers use it for performance data and service-level targets.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Percentiles and outliers
Percentiles are robust: a few extreme values barely affect them. If one person in a group of 100 earns a billion, the mean income shoots up, but the median (the 50th percentile) hardly moves. That's why governments report median household income rather than mean income, and why website teams track the 95th or 99th percentile of page load times rather than the average. The percentile calculator lets you see how the middle and the tails of your data behave, without a single extreme value distorting the picture.
Interquartile range
The interquartile range (IQR) is the difference between the 75th and 25th percentiles. It describes the spread of the middle half of the data. For the values 2, 4, 4, 5, 7, 9, 10, 12, the 25th percentile is 4 and the 75th percentile is 9.25 (using the inclusive method), so the IQR is 5.25. A common rule flags values more than 1.5 × IQR below the 25th percentile or above the 75th percentile as possible outliers. Box plots draw exactly these values: a box from the 25th to the 75th percentile, a line at the median, and whiskers out to the furthest non-outlier points.
Percentiles in performance monitoring
In software and operations, percentiles describe the experience of most users better than averages. If the average response time of a website is 200 milliseconds, some users may still wait several seconds. Reporting the 50th, 95th and 99th percentiles, often written p50, p95 and p99, shows what a typical user sees and what the slowest users suffer. Teams often set targets such as "p95 under 500 milliseconds". Paste a list of response times into the percentile calculator to get these figures without a spreadsheet.
Percentiles and grades
In many exams, your percentile tells you how you did compared with other candidates, not how many questions you got right. Scoring in the 80th percentile means you did better than about 80% of test-takers. If the test was very hard, a modest raw score can still give a high percentile. If it was easy, a high raw score might only be average. Use the percentile calculator with a full list of scores to see exactly where any score sits.
Small data sets
With only a handful of values, percentiles depend heavily on the calculation method, and different tools can give noticeably different answers. With five values, the 90th percentile lies between the two largest, and the exact figure depends on how the method interpolates. For small samples, report the method you used and consider listing the values themselves.
Deciles and quintiles
Deciles split data into ten equal parts: the 10th, 20th, 30th percentiles and so on. Quintiles split it into five: the 20th, 40th, 60th and 80th percentiles. Governments often report income by decile or quintile, for example comparing the average income of the top 10% with the bottom 10%. To find any decile or quintile, enter the matching percentile in the percentile calculator: the 3rd decile is the 30th percentile, and the 4th quintile boundary is the 80th percentile.
The median is the 50th percentile
The median, the middle value of a sorted list, is simply the 50th percentile. Enter 50 in the percentile calculator to get it.
Sources and further reading
- Percentile on Wikipedia: definitions and calculation methods.
- Percentile rank on Wikipedia: the formula with half of tied values.
- Quartile on Wikipedia: methods for calculating quartiles.
Frequently asked questions
How do I calculate a percentile?
Sort the data, find the position (n − 1) × p ÷ 100 + 1, and interpolate between the values on either side.
What's the difference between percentile and percentage?
A percentage is a proportion out of 100; a percentile is a value below which a given percentage of data falls.
What does the 90th percentile mean?
90% of the values are at or below it.
Is the median the 50th percentile?
Yes.
Why do different tools give different percentiles?
They use different methods (inclusive, exclusive, nearest rank), which differ for small data sets.
Is the percentile calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.