Maths & numbers

Percentile calculator

Find an interpolated percentile in a set of numbers.

Percentile calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Sorts values and uses inclusive linear interpolation at index (n−1)×p/100 (Hyndman–Fan type 7). Endpoints are the minimum and maximum. Other percentile conventions can give different results, especially for small samples.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Numbers, separated by spaces or commas
2, 4, 4, 4, 5, 5, 7, 9
Percentile (0–100)
75

Example result

Percentile value
5.5
Count
8
Convention
Inclusive linear interpolation (type 7)