Percentile Calculator
Find any percentile of a data set, the quartiles and interquartile range, outliers, and the percentile rank of a value.
Was this tool helpful?
Thanks for the feedback!
This calculator finds any percentile of a list of numbers, the three quartiles, the interquartile range and possible outliers. It can also give the percentile rank of one particular value, which answers questions like "what percentage of the class scored below me?". It is useful for students, teachers, HR teams looking at salary bands and anyone summarising a data set.
The fields
- Numbers (separated by commas, spaces or new lines): your data. It does not need to be sorted, the tool sorts it for you. You need at least two values.
- Percentile to find (0 to 100), optional: for example 90 for the 90th percentile. If you fill this in, the answer appears as the headline. Values outside 0 to 100 give the message "The percentile must be between 0 and 100."
- Percentile rank of this value, optional: a score from your list (or any number) whose standing you want to know.
Even with both optional boxes empty, you still get Q1, the median, Q3, the IQR, the 10th, 90th, 95th and 99th percentiles, the outlier fences and a list of any outliers.
How the percentile is calculated
The tool uses the inclusive linear interpolation method, the same as Excel's PERCENTILE.INC and QUARTILE.INC and the default in many spreadsheet programs. After sorting the n values, it works out a position:
position = (n − 1) × p / 100 (counting from 0)
If the position is a whole number, the percentile is the value at that spot. If it falls between two values, the tool goes the same fraction of the way from the lower value to the upper one.
Other methods exist, and they can give slightly different answers on small data sets. For the five numbers 15, 20, 35, 40, 50, the 40th percentile is:
- 29 with PERCENTILE.INC (this tool): position 1.6, so 20 + 0.6 × 15
- 26 with Excel's PERCENTILE.EXC, which uses position p × (n + 1)
- 20 with the nearest rank method, which always returns an actual value from the list
None of these is wrong. If your textbook or exam uses a particular formula, follow it. For large data sets the methods give almost the same result.
Worked example: a class test
Ten students scored 45, 52, 58, 61, 67, 70, 74, 79, 85 and 96. Asking for the 90th percentile and the rank of 74 gives:
| Result | Value |
|---|---|
| 90th percentile | 86.1 |
| Q1 (25th percentile) | 58.75 |
| Median (50th) | 68.5 |
| Q3 (75th percentile) | 77.75 |
| Interquartile range (IQR) | 19 |
| Outlier fences (1.5 × IQR) | 30.25 to 106.25 |
| Percentile rank of 74 | 65% |
For the same data, PERCENTILE.EXC would give 94.9 for the 90th percentile and nearest rank would give 85, which shows how much the method matters with only ten values.
The percentile rank counts the values below 74 (six of them), adds half of the values equal to it (half of one), and divides by the total: 6.5 ÷ 10 = 65%.
Outliers and the IQR rule
A value is flagged as an outlier if it is more than 1.5 times the IQR below Q1 or above Q3. This is the common box plot rule. If a student who scored 12 is added to the list above, the fences become 22.75 to 108.75 and the tool lists 12 under Outliers. An outlier is not automatically a mistake, but it is worth checking before you report an average.
Percentile is not percentage
A percentage is your own score as a share of the maximum, such as 74 out of 100. A percentile describes your position relative to others. In the example, 74 marks is 74% but sits at the 65th percentile rank. To turn marks into a percentage use the exam marks percentage calculator, and to measure how spread out the scores are use the standard deviation calculator.
Frequently asked questions
What is the difference between percentile and percentage?
Why does my answer differ from Excel PERCENTILE.EXC?
How do I find the 90th percentile of a list?
How is percentile rank calculated here?
What is the interquartile range used for?
Is the median the same as the 50th percentile?
Related guides
- Percentile vs Percentage: How JEE Main Percentile Is Calculated, With a Worked Example Percentage is your marks out of the total. Percentile is the share of candidates who scored the same as or less than you. See how NTA works out JEE Ma...
- Standard Deviation Explained Simply: Formula, Step-by-Step Example and Sample vs Population Standard deviation is the square root of the average squared distance from the mean. See the formula, a step-by-step marks example, and when to divide...
- Best Free Online Tools for Students in India (No Signup, 2026) Free browser tools for Indian students, sorted by task: essays, marks and CGPA, exam-form photos and PDFs, and study timers, with what each one can't...