Percentile Calculator

Find an interpolated percentile of a numerical data set.

Percentile value
20
Number of values
5

How the calculation works

h = (N−1) × p/100; i = ⌊h⌋; j = ⌈h⌉; Q = x[i] × (1−h+i) + x[j] × (h−i)

Uses linear interpolation (R type 7). Other percentile conventions may differ. Separate values with whitespace or semicolons and use a decimal point.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

h = (N−1) × p/100; i = ⌊h⌋; j = ⌈h⌉; Q = x[i] × (1−h+i) + x[j] × (h−i)

What assumptions apply?

Uses linear interpolation (R type 7). Other percentile conventions may differ. Separate values with whitespace or semicolons and use a decimal point.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →