Statistics
How To Calculate A Percentile Rank
A percentile rank tells you what fraction of a group sits below a value. For 12th out of 250 there are 238 below, and the two standard conventions give 0.9558232931726908 and 0.952 — answers that differ by less than one person, yet must be kept distinct from the percentage score.
Quick Answer
Percentile rank = count below / (n - 1), or count below / n
- count below
- Number of values below the one of interest — 238 here
- n
- Size of the group — 250 here
- PR
- Percentile rank as a proportion, such as 0.9558232931726908
- top share
- Fraction at or above, 12 / 250 = 0.048
Count how many values fall below the one of interest, then divide by either n - 1 or n. For a candidate 12th out of 250 there are 238 below, so 238 / 249 = 0.9558232931726908 under the sample convention and 238 / 250 = 0.952 under the population convention. The complement, 12 / 250 = 0.048, is the top share. Whichever convention you choose, state it, and remember that a percentile rank is a position, not a percentage score.
What Is A Percentile Rank?
A percentile rank reports where one value sits inside a group, not how large the value itself is. If a candidate is 12th out of 250, then 250 - 12 = 238 candidates fall below that position. Under the most common definition the rank is 238 / (250 - 1) = 238 / 249 = 0.9558232931726908, read as the 95.58233rd percentile rank. Under a second, equally defensible definition it is 238 / 250 = 0.952. Both answers describe the same candidate, and the difference between them is smaller than the gap to the next person. Reading the position two ways, 238 below and 12 at or above, is what makes two conventions possible in the first place.
The two conventions exist because authors disagree about the denominator. Dividing by n - 1, which is 249 here, treats the group as a sample and reserves one degree of freedom, much as the sample standard deviation does. Dividing by n, which is 250, treats the group as the complete population and simply asks what fraction sits below. The arithmetic difference is 0.9558232931726908 - 0.952 = 0.0038232931726908, about 0.38 percentage points. One person in a group of 250 is worth 1 / 250 = 0.004, so the two conventions never disagree by more than a single person's share. The gap grows in relative terms as the group shrinks, which is why a cohort of 250 is close to the best case and a small class is the worst.
It is essential to separate a percentile rank from a percentage score, because the two are frequently conflated. A percentile rank of 0.9558232931726908 says the value beats about 95.58% of the group; it says nothing about how many questions were answered correctly. A student can hold a percentile rank of 95.58 while scoring 60 out of 100 on the paper, provided the paper was hard enough that most candidates scored lower still. The rank is relative to the cohort, while the score is absolute against the marking scheme. The distinction matters whenever a school reports a stanine, a growth percentile or a national norm, because those figures are positions rather than marks.
The complement of the rank is often more useful than the rank itself. Here 12 candidates are at or above the position, and 12 / 250 = 0.048, so the top share is 4.8%. Reporting both figures, 95.58% below and 4.8% at or above, leaves no ambiguity about which tail is being described. Admissions offices, growth charts and test norms routinely quote the top share, because a small top share is easier to interpret than a large rank. In a group of 250 the top 4.8% is only 12 people, a figure small enough to verify by hand.
Ties force a decision that the formula cannot make on its own. If several candidates share the same score, the count strictly below them may be smaller than the count at or below them, and the two give different ranks. A common compromise counts half the tied group as below, which for a tie of two would add 1 to the 238 and shift the rank slightly. Whichever rule is chosen, it must be stated, because 238 / 249 and 239 / 249 are genuinely different numbers. The population convention softens the effect, since 238 / 250 = 0.952 against 239 / 250 = 0.956, but it does not remove it.
Percentile and percentile rank are distinct ideas that share a name. A percentile is a value on the measurement scale, so the 95th percentile of a distribution is the number below which 95% of observations fall. A percentile rank is a position expressed as a proportion, such as 0.9558232931726908 for our 12th-placed candidate. Asking for the 95th percentile returns a score; asking for the percentile rank of a score returns a proportion. Mixing the two is one of the commonest errors in reading statistical output. A statement such as 'she is in the 95th percentile' names a position, while 'she scored at the 95th percentile' names a value, and the two sentences are not interchangeable.
The framework generalises through quantiles. The median is the 50th percentile, the quartiles cut the distribution at 25%, 50% and 75%, and the deciles at every tenth. Our candidate at 0.9558232931726908 sits well above the 75th percentile and close to the top decile, since 1 - 0.9558232931726908 = 0.0441767068273092 of the group is above. Expressing a position as a quantile is simply a matter of multiplying or dividing by 100, so a rank of 95.58% is the 95.58th percentile.
Interpretation depends entirely on the reference group, which is why the same raw score can carry different ranks in different cohorts. The 12th position out of 250 yields 0.952, while the identical 12th position out of 100 yields 88 / 99 = 0.888 or 88 / 100 = 0.88 depending on the convention. A percentile rank is therefore meaningless without its denominator. Whenever a rank is quoted, the size and the nature of the group should be quoted alongside it, and two ranks from different cohorts should never be subtracted from one another.
For reporting, one decimal place is almost always enough. The full value 0.9558232931726908 is useful for checking arithmetic but reads as spurious precision in a report, where 95.6% is honest and clear. Carry the full-precision figure through the calculation, decide the convention first, then round once at the end. State whether n or n - 1 was used, because a reader who assumes the other convention will compute 95.2% and wonder why the numbers disagree.
Formula
PR = count below / (n - 1)
Divides by one less than the group size, treating the group as a sample. For 12th out of 250 this gives 238 / 249 = 0.9558232931726908.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| PR | Percentile rank as a proportion | dimensionless | 0.9558232931726908 for the worked case; multiply by 100 for the percentage form. |
| count below | Number of values strictly below the value of interest | count | 238 when the value ranks 12th out of 250. |
| n | Size of the group | count | 250 in the worked case, so the denominator is 249. |
PR = count below / n
Divides by the group size itself, treating the group as the whole population. For the same data this gives 238 / 250 = 0.952.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| PR | Percentile rank as a proportion | dimensionless | 0.952 for the worked case, always slightly below the sample-convention value. |
| count below | Number of values strictly below the value of interest | count | 238 here, the same count used by the sample convention. |
| n | Size of the group | count | 250 here; dividing by it gives the simple proportion below. |
top share = rank / n
The complement of the rank, reporting the fraction of the group at or above the position rather than below it.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| rank | Position counting down from the top | count | 12 in the worked case, meaning 11 values sit above and one is the value itself. |
| n | Size of the group | count | 250 here, giving 12 / 250 = 0.048. |
How To Calculate A Percentile Rank
- 1
Decide what counts as below
Before counting, fix the rule: values strictly less than the one of interest, or values less than or equal to it. For a candidate at position 12 out of 250 with distinct scores, 250 - 12 = 238 values are strictly below.
- 2
Count the group below and record n
The count below is 238 and the group size is n = 250. Both numbers are needed, because every convention divides the first by a function of the second.
- 3
Choose the denominator convention
Use n - 1 = 249 to treat the group as a sample, or n = 250 to treat it as the full population. The sample convention gives 238 / 249 = 0.9558232931726908; the population convention gives 238 / 250 = 0.952.
- 4
Divide to obtain the rank
Perform the division to full precision and keep every digit, since 238 / 249 = 0.9558232931726908. Rounding early would hide the very small gap between the two conventions, which is only 0.0038232931726908.
- 5
Convert to a percentage and report
Multiply by 100 to express the rank as 95.58233%, or report the top share 12 / 250 = 0.048 = 4.8% instead. Always name the convention and the group size when you quote the result.
Examples
Example 1: Twelfth of 250 using the sample convention
- Position
- 12
- Group size
- 250
| Step | Calculation | Result |
|---|---|---|
| Count the values below | 250 - 12 | 238 |
| Denominator for the sample convention | 250 - 1 | 249 |
| Percentile rank | 238 / 249 | 0.9558232931726908 |
Result: 238 / 249 gives 0.9558232931726908, a percentile rank of about 95.58% under the n - 1 convention.
Example 2: The same data using the population convention
- Position
- 12
- Group size
- 250
| Step | Calculation | Result |
|---|---|---|
| Count the values below | 250 - 12 | 238 |
| Denominator for the population convention | 250 | 250 |
| Percentile rank | 238 / 250 | 0.952 |
Result: Using the n convention instead, 238 / 250 = 0.952, or 95.2%, only 0.0038232931726908 below the n - 1 answer.
Example 3: The top share at or above the position
- Position
- 12
- Group size
- 250
| Step | Calculation | Result |
|---|---|---|
| Values at or above the position | 12 | 12 |
| Group size | 250 | 250 |
| Top share | 12 / 250 | 0.048 |
Result: The top share is 12 / 250 = 0.048, so 4.8% of the group sits at or above this position, the complement of the 95.2% below it.
Calculator
Percentile rank (n - 1 convention)
95.58%
- Values below the position
- 238
- Values at or above the position
- 12
- Top share at or above
- 4.80%
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the A Percentile Rank calculator page.
Common Mistakes
Confusing percentile rank with percentage score
A rank of 0.9558232931726908 describes a position among 250 candidates, not a mark out of 100. Reporting a rank as a score, or a score as a rank, misstates both quantities and is the single most common error on this topic.
Mixing the n and n - 1 conventions
The two denominators give 238 / 249 = 0.9558232931726908 and 238 / 250 = 0.952 for the same data. Using one convention for one group and the other for the next produces ranks that cannot honestly be compared.
Ignoring ties
Without a tie rule the count below is ambiguous. If two candidates share the 12th position, the count below could be 238 or 239, and 239 / 249 = 0.9598393574297188 differs visibly from 238 / 249 = 0.9558232931726908.
Treating the percentile rank as the value at that percentile
The rank 0.9558232931726908 is a position, not a score. Reading it as the score at the 95.58th percentile reverses the question and answers something else entirely.
Comparing ranks drawn from different-sized groups
Twelfth out of 250 is 0.952, while twelfth out of 100 is 88 / 99 = 0.888 or 88 / 100 = 0.88 depending on the convention. A rank is only meaningful against its own denominator, so never compare percentages that came from different group sizes without saying so.
FAQ
Is a percentile rank the same as a percentage score?
No. A percentile rank compares a value with the rest of a group, so 0.9558232931726908 means the value beats about 95.58% of that group. A percentage score compares a result with a maximum, so 95.58% would mean 95.58 marks out of 100. The two numbers can coincide and still describe entirely different things. In practice the confusion is harmless only when the two happen to agree, which is coincidence rather than a rule.
Should I divide by n or by n - 1?
Use n - 1 when the group is a sample drawn from something larger, and n when it genuinely is the whole population. For 12th out of 250 the difference is 238 / 249 = 0.9558232931726908 against 238 / 250 = 0.952, about 0.38 percentage points. Pick one convention, apply it consistently, and state which you used. The gap is small here only because the group is large, and in a cohort of 25 the same choice would be far more visible.
How should tied scores be handled?
Decide explicitly. Counting only values strictly below the tied group gives the lowest rank, counting all ties as below gives the highest, and counting half the tied group is a common compromise. A tie of two can move the count from 238 to 239, which changes 238 / 249 = 0.9558232931726908 into 239 / 249 = 0.9598393574297188.
How do I turn a percentile rank into a percentile?
Multiply by 100. A rank of 0.9558232931726908 is the 95.58233rd percentile, and a rank of 0.952 is the 95.2nd percentile. Remember that this names a position within the group, whereas asking for the 95th percentile asks for the score sitting at that position. Reporting 0.9558232931726908 as the 95.58233rd percentile is correct, while calling it a score of 95.58 out of 100 is not.
Can a percentile rank reach 100%?
Only under the n - 1 convention, and only for the single highest value, where the count below is n - 1 and (n - 1) / (n - 1) = 1. Under the n convention the maximum possible rank is (n - 1) / n, which for 250 is 249 / 250 = 0.996. Neither answer is wrong; they are different definitions.
References
- [1]Wikipedia, Percentile rank: definition and the two conventions — https://en.wikipedia.org/wiki/Percentile_rank
- [2]Wikipedia, Percentile: value versus position — https://en.wikipedia.org/wiki/Percentile
- [3]Wikipedia, Quantile: generalising percentiles, quartiles and deciles — https://en.wikipedia.org/wiki/Quantile