How to use this calculator
Free Percentile value calculator. Find the data value at a selected percentile using linear interpolation.
- Enter Observations, comma-separated, Percentile (0–100). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Interpolate a value at a chosen percentile
A percentile value locates a point in the ordered sample. The calculator uses an inclusive linear-interpolation rule, so a requested percentile can fall between two observed values.
Inputs for this calculation
- Observations, comma-separated: Enter the sample values to be ordered.
- Percentile (0–100): Choose the target percentile from 0 through 100; 50 corresponds to the median under this convention.
Formula and method
After sorting n observations, the zero-based rank is r = (n − 1)p, where p is the percentile written as a fraction. If r is not an integer, interpolate linearly between the observations on either side.
Worked example
Sort 2, 5, 8, 10, 15 and request the 30th percentile. The rank is (5 − 1)×0.30 = 1.2, between the second value 5 and third value 8. Interpolation gives 5 + 0.2×(8 − 5) = 5.6.
Reading the result
Under this sample-quantile convention, about 30% of the ordered sample lies at or below the interpolated location. The returned value need not have appeared in the original data.
Assumptions and limits
Different packages use different quantile definitions, especially for small samples. State the convention when comparing percentiles from separate reports.
Frequently asked questions
Can a percentile be a value that is not in my data?
Yes. Linear interpolation can return a value between adjacent sorted observations.
How do I use the Percentile value calculator?
Enter Observations, comma-separated, Percentile (0–100). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Percentile value?
Sort 2, 5, 8, 10, 15 and request the 30th percentile. The rank is (5 − 1)×0.30 = 1.2, between the second value 5 and third value 8. Interpolation gives 5 + 0.2×(8 − 5) = 5.6.
What does the Percentile value calculator calculate?
Free Percentile value calculator. Find the data value at a selected percentile using linear interpolation.
What assumptions apply to Percentile value?
Different packages use different quantile definitions, especially for small samples. State the convention when comparing percentiles from separate reports.