Percentile Calculator
Calculate any percentile from a numerical data set using sorted values and linear interpolation.
Statistical software uses several legitimate sample-quantile definitions, so small data sets can produce different answers. This calculator uses position (n − 1)p with linear interpolation, commonly called the Type 7 method.
How to use this calculator
Add every observation, then enter a percentile from 0 through 100. The calculator sorts a copy of the data and interpolates between adjacent observations when the percentile position is not an integer.
Formula
Sort values ascending. Position h = (n − 1) × k ÷ 100. Interpolate between values at floor(h) and ceil(h).
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewSaeedM.Phil Statistics, Data Scientist
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What does the 75th percentile mean?
It is a value at or below which approximately 75% of observations fall under the selected calculation method.
Why does another program give a different percentile?
Programs can implement different accepted sample-quantile definitions, especially noticeable in small samples.
Are the 0th and 100th percentiles allowed?
Yes. They return the minimum and maximum entered values respectively.
What is the difference between percentile and percentage?
A percentage is a proportion of a total, such as 80% correct. A percentile is a position: the 80th percentile means a value is at or above 80% of the data.
What are quartiles?
Quartiles split sorted data into four parts. The first quartile is the 25th percentile, the median is the 50th and the third quartile is the 75th.
How do I find the 90th percentile of a data set?
Sort the values, find the position (n − 1) × 0.9, and interpolate between the values on either side. For the 11 values 1 to 11, the position is 10 × 0.9 = 9 (counting from 0), so the 90th percentile is 10.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Hyndman, R. J., & Fan, Y. (1996). Sample quantiles in statistical packages. The American Statistician, 50(4), 361–365. View source
- Illowsky, B., & Dean, S. (2023). Introductory statistics 2e. OpenStax. View source
- Croarkin, C., & Tobias, P. (Eds.). (2012). NIST/SEMATECH e-handbook of statistical methods. National Institute of Standards and Technology. View source
- Iowa Testing Programs. (n.d.). Interpreting test scores: Percentile ranks. University of Iowa. View source
- International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source