Percentile Calculator

Find any percentile of a numerical data set with transparent linear interpolation.

Data percentile calculator
Enter numerical observations and a percentile from 0 to 100.

Separate values with commas, spaces, or semicolons.

About percentiles

A percentile is a value that marks a relative position in an ordered data set. The 25th percentile is near the point below which one quarter of the observations lie, the 50th percentile is the median, and the 75th percentile marks the upper quartile. Percentiles make distributions easier to compare because they describe position rather than relying on the original measurement units. They are used in test scores, growth charts, service latency, income analysis, and many other fields. This calculator first sorts the values from smallest to largest. It then converts the requested percentile p to a zero-based position using p divided by 100, multiplied by n minus one, where n is the number of observations. If that position is a whole number, the corresponding sorted observation is returned. If it falls between two observations, the calculator linearly interpolates between them. For example, the 25th percentile of 2, 4, 6, and 8 lies three quarters of the way from the first value to the second in zero-based indexing, producing 3.5. Several accepted percentile definitions exist. Some select an observed value using a nearest-rank rule, while others interpolate with different positions. Statistical packages and textbooks may therefore report slightly different answers for small samples. The n-minus-one linear interpolation used here is a common inclusive method and has the useful property that the 0th percentile equals the minimum and the 100th percentile equals the maximum. Always document the method when exact reproducibility matters. Percentiles are resistant to extreme values compared with the mean, but they do not show every feature of a distribution. Two samples can share quartiles while having very different clusters, gaps, or tails. A percentile also describes the entered sample; it does not automatically estimate a population percentile with known uncertainty. Larger, representative samples generally give more stable estimates. Use this calculator to summarize a list quickly, verify manual work, or compare threshold positions. Pair the result with sample size, units, a histogram or box plot, and an appropriate sampling analysis when the conclusion supports a consequential decision.

Percentile examples

The results use sorted values and linear interpolation at the requested position.

Data and percentilePercentile valueCalculation
10, 20, 30, 40, 50; p = 5030The median is the middle observation.
2, 4, 6, 8; p = 253.5Interpolation occurs between 2 and 4.
5, 10, 15, 20, 25; p = 9023Interpolation occurs between 20 and 25.

How to calculate a percentile

  1. Enter the numerical observations in any order.
  2. Enter a percentile between zero and one hundred or choose a common preset.
  3. Select Calculate percentile to sort the data and interpolate the result.
  4. Report the value together with the percentile method and sample context.

Frequently asked questions

Is the 50th percentile always the median?

Yes, under the interpolation method used here the 50th percentile equals the sample median. Half of the ordered distribution lies on each side of that central position.

Why does another calculator give a different percentile?

Multiple percentile conventions use different rank positions or rounding rules. Differences are most visible in small samples or when the requested position lies between observations.

Can a percentile be a value not present in the data?

Yes. Linear interpolation can return a value between two observations, which provides a smooth estimate of the requested position.

What are the 0th and 100th percentiles?

With this inclusive method, the 0th percentile is the minimum and the 100th percentile is the maximum. They represent the endpoints of the entered sample.

What is the difference between percentile and percentile rank?

A percentile is the data value at a specified percentage position. A percentile rank instead describes the percentage of observations at or below a specified value.