Social media growth services from EthicalSMM

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:

ResultValue
90th percentile86.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 7465%

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?
A percentage compares your score with the maximum possible, while a percentile compares it with other people. Scoring 74% could put you at the 65th percentile in one class and the 90th in another.
Why does my answer differ from Excel PERCENTILE.EXC?
This tool uses the inclusive method, the same as PERCENTILE.INC. PERCENTILE.EXC and the nearest rank method place the percentile differently, so on small data sets they give different results, for example 29, 26 and 20 for the 40th percentile of 15, 20, 35, 40, 50.
How do I find the 90th percentile of a list?
Paste the numbers, type 90 in the percentile box and press Calculate. For 45, 52, 58, 61, 67, 70, 74, 79, 85, 96 the 90th percentile is 86.1.
How is percentile rank calculated here?
The tool counts the values below your number, adds half of the values equal to it, and divides by the total count. A score of 74 in a list of ten with six lower scores has a percentile rank of 65%.
What is the interquartile range used for?
The IQR is Q3 minus Q1, the spread of the middle half of the data. It is less affected by extreme values than the range, and it is used to set the 1.5 × IQR outlier fences.
Is the median the same as the 50th percentile?
Yes. The median, Q2 and the 50th percentile are the same value, and the tool shows it in the Median (50th) row.

Related guides

Related tools

People also used

Embed this tool on your site

Paste it into any blog or website. Free, with a credit link.