Percentile Calculator
A percentile tells you where a given proportion of a data set falls: the 90th percentile, for instance, is the value below which 90% of the data lies. Read the other way round, the percentile position of a score tells you what share of the group that score beats — one of the most widely used measures in exam rankings and growth charts.
This calculator works in both directions: it returns the value corresponding to the percentile p you choose (matching Excel's PERCENTILE.INC), or it locates the percentile position of a value you enter. It suits students comparing an exam result with their class, researchers reporting percentiles, and anyone evaluating measurements.
Formula
Rank = (p / 100) × (n − 1) [data sorted ascending, index starts at 0] P(p) = x[⌊Rank⌋] + fraction × (x[⌊Rank⌋ + 1] − x[⌊Rank⌋]) Percentile position = (number of values below the score / n) × 100
This calculator uses the R-7 method with linear interpolation (the same one as Excel's PERCENTILE.INC). Because different sources define percentiles differently, results on small data sets can vary slightly from one method to another; that is not an error.
How to Calculate
- Paste your data values into the box — separate them with commas, spaces, or line breaks.
- Choose the direction: are you looking for the value at percentile p, or for the percentile position of a value?
- For the first option enter p (0–100); for the second, enter the value whose position you want.
- Read the percentile value or position in the results section, together with the quartiles.
- The percentile curve shows how your data is distributed from P0 to P100.
Worked Examples
The score at the 90th percentile
For the scores of a class of 10, the 90th percentile falls between 85.00 and 90.00 in the sorted data and is found by linear interpolation: P90 = 85.50. So 90% of the scores are at or below 85.50, while the median is 72.00.
P90 — the value at percentile 90: 85.50 · Minimum (P0): 55.00 · First quartile (Q1 = P25): 63.50
Where an exam score sits in the class
A student scoring 77 has 6 of the 10 scores below them: the percentile position is 60%, meaning the score beats 60% of the class. Counting the 1 tied score and the 3 higher ones, the student falls in the top 40% band.
Percentile position (proportion below): 60% · Top band: Top 40% · Number of values below: 6
Finding the first quartile with P25
For the data 10, 20, 30, 40, 50 the 25th percentile lands exactly on an observation: P25 = 20.00, which is also the first quartile (Q1). The median is 30.00 and the third quartile is 40.00.
P25 — the value at percentile 25: 20.00 · Minimum (P0): 10.00 · First quartile (Q1 = P25): 20.00