Percentile Calculator

Find the value at any percentile of a data set, or the percentile rank of a value, by the OpenStax textbook method or Excel PERCENTILE.INC.

2 to 2000 values. Use a point for decimals (1.5), no thousands separators, and separate numbers with spaces or a comma and a space.
For example 25 for the first quartile, 50 for the median.
Different methods can give slightly different answers. See the explanation below.

Results

Value at percentile 70
64
How it was found
Index i = (70 ÷ 100)(29 + 1) = 21 is a whole number: the value in position 21
Minimum
18
Maximum
77
Count (n)
29

How it’s calculated

A percentile marks the value below which a given share of the data falls. The 25th percentile is the first quartile, the 50th is the median and the 75th is the third quartile. This page works in either direction: from a percentile to a value, or from a value to its percentile rank.

Textbook method (OpenStax): i = (k ÷ 100)(n + 1) if i is a whole number, the k-th percentile is the value in position i of the sorted list if not, it is the mean of the values in positions ⌊i⌋ and ⌈i⌉ (i below 1 gives the minimum; i above n gives the maximum) Excel PERCENTILE.INC: position (n − 1)(k ÷ 100) counting from 0, interpolated linearly Percentile rank of a value: (x + 0.5y) ÷ n × 100 x = number of values below it, y = number of values equal to it

Relation to the quartile calculator. The inclusive option is exactly the interpolation used by the “Excel QUARTILE.INC” option of the quartile calculator, so the 25th, 50th and 75th percentiles agree with its Q1, median and Q3 for that option. The textbook option is the OpenStax percentile rule; it can differ a little from the median-of-halves quartiles, because the two rules count positions differently.

Example (OpenStax Example 2.16): the 29 ages of Academy Award winning best actors, 18, 21, 22, …, 77. For the 70th percentile, i = 0.70 × 30 = 21, a whole number, and the 21st value is 64. For the 83rd percentile, i = 0.83 × 30 = 24.9, so we average the 24th and 25th values, 71 and 72, to get 71.5. The percentile rank of 58 (Example 2.18) has 18 values below it and 1 equal to it, so (18 + 0.5) ÷ 29 × 100 = 63.80.

Frequently asked questions

Why does Excel give a different percentile?

Excel’s PERCENTILE.INC interpolates between neighbors at position (n − 1) × p, while the textbook rule uses position (n + 1) × p and averages two neighbors. Pick the method your course or software uses.

Does a percentile rank of 90 mean I scored 90%?

No. It means about 90% of the values in the data set are below yours. A score of 90% and the 90th percentile are different things.

What if the value I ask about is not in the list?

That is fine. The rank counts how many values are below it, so a value larger than everything gives 100% and one smaller than everything gives 0%.

Is the 50th percentile always the median?

Yes, with both methods here. For an even count the textbook rule averages the two middle values, and so does the inclusive method.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator