How it works
Find a percentile with inclusive linear interpolation between sorted observations. Percentiles 0 and 100 return the minimum and maximum.
Inputs and units
| Input | Example value | What to enter |
|---|---|---|
| Numbers | 2 4 4 4 5 5 7 9 | Separate numbers with spaces or semicolons; use a decimal point. |
| Percentile | 90 | Enter a numeric value. Use a non-negative value. Allowed range: 0–100. |
Worked example
Show example inputs and results
This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.
- Numbers
- 2 4 4 4 5 5 7 9
- Percentile
- 90
Complete example results
- Result
- 7.6
Reading the result
Keep the list to one kind of measurement. Outliers can affect the mean; sample and population formulas use different denominators. The tool applies its stated method and does not establish the quality of your data.
Questions and answers
Can I use the example values for my own calculation?
The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.
Why can the result lie between observations?
Sort the list, divide the requested percentile by 100 to get q, then calculate h=(n−1)q. For positions i and i+1 counted from zero, interpolate as x[i]+(h−i)(x[i+1]−x[i]). The endpoints return the minimum and maximum. This is the inclusive R7 convention; another convention can give a different answer.
Why are some results rounded?
Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.
Are my inputs sent to a server?
The calculator processes inputs in your browser. Its code does not send your values to a server.