Percentile Calculator

A percentile tells you the value below which a given percentage of the data falls. For 12, 15, 18, 22, 25, 27, 30, 31, 35, 40 the value 27 has a percentile rank of 55%, and the value at the 90th percentile is 35.5.

Last updated · By · Runs in your browser, nothing is uploaded

Advanced options
Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is a Percentile?

A percentile describes where a value sits within an ordered dataset. The 90th percentile is the value that about 90% of the data falls at or below, leaving about 10% above it. The 50th percentile is the median.

People meet percentiles constantly without calling them that: a child at the 75th percentile for height is taller than roughly three quarters of children the same age, and a website with a 95th percentile load time of 2 seconds loads that fast or faster for 95% of visitors. Percentiles describe position, not score, which makes them easy to compare across different tests and scales.

Two Different Questions

QuestionWhat you enterWhat you getExample from the data below
What percentile is this value at?A value from the dataPercentile rank (%)27 is at the 55th percentile
What value sits at this percentile?A percentage from 0 to 100A value from or between the data pointsThe 90th percentile is 35.5

This calculator answers both, so you can go from a value to its rank, or from a rank to a value.

Percentile Formulas

Percentile rank of a value x:

Percentile rank = (B + 0.5 × E) ÷ N × 100
  • B is how many values are strictly below x.
  • E is how many values equal x (counting x itself).
  • N is the total number of values.

Value at the p-th percentile (the linear interpolation method used by Excel’s PERCENTILE.INC):

Position R = (p ÷ 100) × (n − 1) + 1 Value = x(⌊R⌋) + (R − ⌊R⌋) × [ x(⌊R⌋ + 1) − x(⌊R⌋) ]
  • p is the percentile you want, from 0 to 100.
  • n is the number of values, sorted from smallest to largest.
  • x(k) is the k-th smallest value.
  • ⌊R⌋ is R rounded down to a whole number, and the fractional part tells you how far to move toward the next value.

Worked Example: Percentile Rank and Percentile Value

The preloaded data is 12, 15, 18, 22, 25, 27, 30, 31, 35, 40, already sorted, with n = 10.

Percentile rank of 27

  1. Values below 27: 12, 15, 18, 22, 25, so B = 5.
  2. Values equal to 27: just itself, so E = 1.
  3. Rank = (5 + 0.5 × 1) ÷ 10 × 100 = 55%.

Value at the 90th percentile

  1. Position R = 0.90 × (10 − 1) + 1 = 9.1.
  2. The 9th value is 35 and the 10th is 40.
  3. Move 0.1 of the way from 35 to 40: 35 + 0.1 × 5 = 35.5.

The Quartile Percentiles

PercentilePosition RValue
25th3.2519
50th (median)5.526
75th7.7530.75
90th9.135.5

How to Use This Percentile Calculator

  1. Paste your data into the first box, separated by commas, spaces or new lines.
  2. To find a percentile rank, type the value to rank in the second box.
  3. To find a value at a percentile, type a number from 0 to 100 in the third box.
  4. Read both results together with the count and the number of values below and equal. The steps show the interpolation.

For the 25th, 50th and 75th percentiles together, use the quartile and IQR calculator. To see how far a single value sits from the mean in standard deviations instead, use the z-score calculator.

Real-World Uses of Percentiles

  • Education: standardised test reports give percentile ranks so that a score of 1,250 can be understood as “better than 89% of test takers”.
  • Health: paediatric growth charts plot height, weight and head circumference as percentiles for age and sex.
  • Web performance: engineers monitor the 95th and 99th percentile response times, because averages hide the slow requests real users notice.
  • Pay and hiring: salary surveys quote the 25th, 50th and 75th percentile so you can see where an offer sits.
  • Finance and risk: value at risk is essentially a low percentile of the distribution of losses.

What Are the Most Common Mistakes With the Percentile Calculator?

  • Confusing percentile with percentage. Scoring in the 80th percentile does not mean you got 80% of the questions right.
  • Assuming one definition. Software uses several methods. Excel’s PERCENTILE.INC and PERCENTILE.EXC, R and textbooks can give slightly different values for the same data. State which method you used.
  • Forgetting that ties matter. Many equal values change the rank. The “half of the equal values” rule used here treats ties fairly.
  • Reading percentiles as equal steps. The gap between the 50th and 60th percentile can be tiny while the gap between the 90th and 99th is huge, especially in skewed data.
  • Using tiny samples. With 10 values, a “90th percentile” is mostly an interpolation, not a stable estimate.
  • Mixing up “top 10%” and “10th percentile”. The top 10% starts at the 90th percentile.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the difference between a percentile and a percentage?

A percentage is a proportion out of 100, such as 80% of questions correct. A percentile is a position in a ranked group. Being at the 80th percentile means you scored at or above about 80% of the group.

How do you calculate a percentile rank?

Count the values below yours, add half of the values equal to yours, divide by the total count and multiply by 100. For 27 in the sample data that is (5 + 0.5) ÷ 10 × 100 = 55%.

How do you find the 90th percentile of a dataset?

Sort the data, compute the position R = 0.90 × (n − 1) + 1, and interpolate between the two values on either side of R. For ten values the position is 9.1, which gives 35.5 here.

Is the 50th percentile the same as the median?

Yes. The median is the value with half of the data at or below it, which is exactly the 50th percentile.

Why do different tools give different percentiles?

There are several accepted ways to interpolate between data points. This calculator uses the linear interpolation method that matches Excel’s PERCENTILE.INC.

Can a percentile be above 100 or below 0?

No. Percentiles run from 0 to 100. A value that is above every data point has a rank near 100%, and one that is below every point has a rank near 0%.