Skip to content
NexUnit home
EnglishEspañol

Percentile Calculator

Find the value at any percentile of a data set, and the percentile rank of a value.

th

40th percentile

29

Count
5

Show the work

  1. Sort the data

    n = 5

    15, 20, 35, 40, 50

  2. Position in the sorted list

    h = (n − 1) × p + 1

    (5 − 1) × 0.4 + 1 = 2.6

  3. Interpolate between values k and k + 1

    xk + (h − k) × (xk + 1 − xk), k = whole part of h

    20 + 0.6 × (35 − 20) = 29

Want this on your site? Embed the percentile calculator.