Audited 27 Jul 2026·Last updated 27 Jul 2026·5 citations·Tier 1·0 uses

Percentile Calculator

Free percentile calculator: find the value at any percentile of your dataset, or the percentile rank of a value, using real data — no distribution assumed.

Percentile Calculator

Comma-separated numbers, in any order.
What do you want to find?
Used in 'Value at a given percentile' mode.
Used in 'Percentile rank of a given value' mode.
Result
91.4
The computed answer: the interpolated value at your chosen percentile, or the percentile rank of your chosen value, depending on the mode selected.
Percentile (0-100)
90
Data value
91.4
Count (n)
10

Background.

The Quanta percentile calculator answers the question 'where does this value sit in my actual data?' — not in a theoretical bell curve, but in the real numbers you paste in. Give it a percentile and it finds the value that sits there; give it a value and it finds the percentile rank of that value within your dataset. Both directions use the same underlying idea: sort your data from smallest to largest, and a percentile is simply a position in that sorted list, expressed as a percentage of the way through it. The 90th percentile of a set of exam scores is the score below which 90% of the class falls; if your own score is the 90th percentile, you outperformed 90% of your classmates.

This calculator is deliberately built on your actual sample data rather than on an assumed distribution. That distinction matters and is easy to miss. Quanta's z-score and standard-deviation calculators are parametric: you tell them a population mean and standard deviation, and they compute a percentile from the theoretical normal curve using the Abramowitz-Stegun approximation to the normal cumulative distribution function. That is exactly the right tool when you know (or are willing to assume) that the underlying population is normally distributed — IQ scores, manufacturing tolerances, and many biological measurements are close enough to normal for this to work well. But it is the wrong tool whenever your data is skewed, bounded, multimodal, or you simply don't want to assume a shape at all — a set of exam scores from one particular class, a distribution of house prices, or response times in a user study rarely look like a textbook bell curve, and forcing them through a normal-distribution formula can give a misleading answer. This calculator instead uses order statistics: it sorts your actual numbers and finds positions in that real, empirical distribution, with zero assumptions about shape.

A subtlety worth stating plainly, because it is the single biggest source of disagreement between percentile calculators online: when the percentile you ask for doesn't land exactly on one of your sorted values, there is more than one accepted convention for filling in the gap. This calculator uses linear interpolation between the two closest ranks — the method statisticians call 'Type 7,' after Hyndman and Fan's 1996 survey of nine competing definitions used across different software packages. Type 7 is the default method in R's quantile() function, in NumPy and pandas, and it matches Microsoft Excel's PERCENTILE and PERCENTILE.INC functions. If you instead compare against Excel's PERCENTILE.EXC function, or a textbook using an 'exclusive' method, you may see a slightly different answer for the same input, especially with small datasets — this is not a bug in either tool, it is a genuine, well-documented difference in convention, and Hyndman and Fan's paper is the standard reference cataloguing exactly which major software uses which method.

The reverse direction — finding the percentile rank of a specific value — uses the empirical cumulative distribution function: the proportion of your dataset that falls at or below the value in question, expressed as a percentage. If 7 of your 10 data points are 85 or below, the value 85 sits at the 70th percentile of your sample. This is the calculation behind 'what percentile am I in' questions for test scores, growth measurements, and performance benchmarks, whenever the comparison population is a real dataset rather than a published reference curve.

Use this calculator whenever you have your own data — a class's worth of scores, a season's worth of measurements, a survey's worth of responses — and want to know either what value sits at a given rank, or what rank a given value sits at. For percentiles computed against a known theoretical distribution instead of raw sample data, use the z-score or normal-distribution calculators; for the specific 25th/50th/75th split used to build box plots, use the quartile calculator, which is this same math applied at three fixed, well-known percentiles.

What is percentile calculator?

A percentile is a value below which a given percentage of the observations in a dataset fall. The Pth percentile is the value at rank position P/100 of the way through the sorted data — the 50th percentile is the median, the 25th percentile is the first quartile, and so on. Percentiles belong to the general family of quantiles, and unlike the mean or the standard deviation, they make no assumption whatsoever about the shape of the underlying distribution — they are computed purely from the rank order of the observations you actually have. When the requested percentile lands exactly on one of the sorted values, there is no ambiguity. When it falls between two sorted values — which is the common case for anything other than a handful of round-number percentiles — different statistical software packages fill the gap differently. Hyndman and Fan (1996) catalogued nine distinct conventions in active use ('Type 1' through 'Type 9'); this calculator implements Type 7, linear interpolation between the two nearest order statistics, which is the default behaviour of R, NumPy, pandas, and Excel's PERCENTILE/PERCENTILE.INC functions — almost certainly the convention you have already been using if you have ever called a percentile function in a modern data-analysis tool. The reverse operation, finding the percentile rank of a specific value, uses the empirical cumulative distribution function: the fraction of the dataset at or below that value, converted to a percentage.

How to use this calculator.

  1. Paste your dataset into the box as comma-separated numbers, in any order.
  2. Choose a mode: 'Value at a given percentile' if you know the percentile and want the corresponding value; 'Percentile rank of a given value' if you have a specific value and want to know its rank within the dataset.
  3. In 'Value at a given percentile' mode, enter the target percentile (0-100) — for example 90 for the 90th percentile.
  4. In 'Percentile rank of a given value' mode, enter the value you want to look up.
  5. Read the primary result, and check the count (n) shown against how many values you intended to enter, to catch any parsing mistakes.
  6. Remember that other tools may report a slightly different value for the same percentile if they use a different interpolation convention (e.g. Excel's PERCENTILE.EXC). This calculator uses the widely-adopted Type 7 method — see the FAQ for the full disclosure.

The formula.

h = 1 + (P⁄100)·(n−1)

To find the value at percentile P (Type 7, Hyndman & Fan 1996), first sort the n values into ascending order statistics x₍₁₎ ≤ x₍₂₎ ≤ … ≤ x₍ₙ₎. Compute the interpolated rank position h = 1 + (P/100)·(n − 1). If h is a whole number, the answer is simply x₍ₕ₎ — no interpolation is needed. If h falls between two integers, take the value at the position just below (x₍⌊h⌋₎) and the value at the position just above (x₍⌈h⌉₎), and interpolate linearly using the fractional part of h: result = x₍⌊h⌋₎ + (h − ⌊h⌋)·(x₍⌈h⌉₎ − x₍⌊h⌋₎). For example, with 10 sorted values and P = 90, h = 1 + 0.9·9 = 9.1: the 9th and 10th order statistics are blended with weight 0.1 on the 10th value. This is exactly the 'linear interpolation between closest ranks' method that Hyndman and Fan label Type 7, and it is the default in R, NumPy, pandas, and Excel's PERCENTILE/PERCENTILE.INC. The reverse direction — the percentile rank of a given value — uses the empirical cumulative distribution function: count how many of the n values are less than or equal to the target value, divide by n, and multiply by 100. This is a direct estimate of P(X ≤ target) from the sample itself, with no distributional assumption. Internally the calculator parses the comma-separated input, coerces every token to a number (throwing a descriptive error naming any token that fails), and sorts a numeric copy of the array before applying either formula.

A worked example.

Example

Ten quiz scores, sorted ascending: 62, 68, 71, 74, 78, 81, 85, 88, 91, 95 (n = 10). To find the 90th percentile, compute the interpolated rank h = 1 + (90/100)·(10 − 1) = 1 + 8.1 = 9.1. Since h is not a whole number, blend the 9th order statistic (91, at position ⌊9.1⌋ = 9) with the 10th order statistic (95, at position ⌈9.1⌉ = 10), weighted by the fractional part 0.1: result = 91 + 0.1·(95 − 91) = 91 + 0.4 = 91.4. So the 90th percentile of this class's scores is 91.4 — a score of roughly 91.4 or higher would put a student in the top 10% of this particular group. Switching to 'percentile rank of a given value' mode with a target value of 85 answers the reverse question: 7 of the 10 scores (62, 68, 71, 74, 78, 81, and 85 itself) are at or below 85, so the percentile rank is (7/10)×100 = 70 — a score of 85 sits at the 70th percentile of this class.

modevalueAtPercentile
target Percentile90
values62, 68, 71, 74, 78, 81, 85, 88, 91, 95

Frequently asked questions.

What is a percentile?
A percentile is the value below which a given percentage of a dataset's observations fall. The 90th percentile of a set of test scores is the score below which 90% of the scores sit — equivalently, only the top 10% score higher. Percentiles are computed purely from the rank order of your data, with no assumption about its distribution shape, which is what separates this calculator from parametric tools like z-score or standard-deviation calculators that assume a normal curve.
Why do different calculators give slightly different percentiles for the same data?
Because there is more than one accepted mathematical convention for interpolating between two data points when the requested percentile doesn't land exactly on a value. Hyndman and Fan's 1996 paper in The American Statistician catalogued nine distinct conventions ('Type 1' through 'Type 9') used across different statistical software. This calculator uses Type 7 (linear interpolation between the two closest ranks), which is the default in R, NumPy, pandas, and matches Excel's PERCENTILE and PERCENTILE.INC functions. If another tool uses a different type — for example Excel's PERCENTILE.EXC, which excludes the endpoints — you may see a different answer for the same input, particularly with small datasets. Neither answer is 'wrong'; they are different, well-defined conventions.
What is the difference between this calculator and the z-score calculator?
The z-score and standard-deviation calculators are parametric: you supply a known (or assumed) population mean and standard deviation, and the percentile is computed from the theoretical normal distribution's cumulative distribution function. This calculator is non-parametric: it works directly on your real, actual sample data using order statistics, with no assumption that the data follows any particular curve. Use the z-score calculator when you know or are confident the population is approximately normal (IQ scores, many physical measurements); use this percentile calculator whenever you have real sample data and don't want to assume a shape — a specific class's test scores, a specific season's sales figures, a specific dataset of response times.
How is a quartile related to a percentile?
A quartile is just a percentile at one of three fixed positions: the first quartile (Q1) is the 25th percentile, the second quartile (Q2) is the 50th percentile (the median), and the third quartile (Q3) is the 75th percentile. Quanta's dedicated quartile calculator reports all three of these fixed percentiles together, using the same Type 7 interpolation method as this calculator, plus the interquartile range (Q3 − Q1). Use this percentile calculator when you need an arbitrary percentile (the 5th, the 90th, the 99th); use the quartile calculator when you specifically want the classic Q1/Q2/Q3 split.
What does 'percentile rank' mean and how is it calculated here?
The percentile rank of a value is the percentage of the dataset that is at or below that value. It is calculated as (count of values ≤ target) / n × 100. If a student's score of 85 is at or above 7 out of 10 scores in the class (including itself), the percentile rank is 70 — the student scored better than or equal to 70% of the class. This is a direct estimate of the empirical cumulative distribution function evaluated at the target value.
Can the 0th or 100th percentile be requested?
Yes. The 0th percentile always resolves to the minimum value in the dataset, and the 100th percentile always resolves to the maximum value — no interpolation is needed at either end because the interpolated rank position lands exactly on the first or last order statistic respectively.
How many values do I need for a percentile to be meaningful?
The calculator works with as few as one value, but the interpolation math becomes more informative as the dataset grows. With very small datasets (fewer than about 10 values), extreme percentiles (like the 5th or 95th) can land close to the edges of your data and be heavily influenced by just one or two observations — treat percentiles from tiny samples as rough estimates rather than precise figures, the same caution that applies to any statistic computed from a small n.
Does the order I paste my data in matter?
No. You can paste your values in any order and the calculator sorts them internally before computing either direction of the calculation. Only the count of values matters — check the echoed count (n) against how many numbers you intended to enter, to catch accidental duplicates or dropped values from a parsing hiccup.
Is the percentile the same as a percentage?
No, although the terms are easily confused. A percentage describes a proportion out of 100 of some quantity (for example, scoring 85% correct on a test). A percentile describes a *rank* within a dataset — scoring at the 85th percentile means you outperformed 85% of the comparison group, regardless of your raw percentage score. It is entirely possible to score 95% correct on an easy test and still be at, say, the 40th percentile if most of the class also scored 95% or higher.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon