Skip to content
K Knidox Search…
Statistics · Descriptive

Percentile Calculator

Find the percentile rank of a value, or the value sitting at a given percentile of your data.

Separate values with commas, spaces, or new lines.
What do you want?
Find this value’s percentile rank in the dataset.
Percentile rank of 30
40percentile

Using the “values below” convention: 2 of 5 values are less than 30.

A percentile tells you what share of a dataset falls below a given value. The percentile rank of a value is (number of values below it ÷ total) × 100. In the set 10, 20, 30, 40, 50, two of the five values are below 30, so 30 sits at the (2 ÷ 5) × 100 = 40th percentile.

What a percentile means

A percentile locates a value within a distribution by the proportion of data beneath it. If you score at the 90th percentile, roughly 90% of the other values are below yours. Percentiles are rank-based, so they describe position rather than distance — the gap between the 50th and 60th percentile need not match the gap between the 80th and 90th. This tool works two ways: it gives the percentile rank of a value you choose, and it gives the value located at a percentile you choose.

percentile rank = (values below ÷ total) × 100

this tool uses the “values strictly below” convention

Worked example

Five values: 10, 20, 30, 40, 50.

  1. 1
    Sort the data. Ascending: 10, 20, 30, 40, 50. Sorting is required before counting or interpolating.
  2. 2
    For a rank, count values below your target. Two values (10 and 20) are below 30, out of five total: (2 ÷ 5) × 100 = 40th percentile.
  3. 3
    For a value at percentile P, interpolate. Rank = (P ÷ 100)(n − 1). For P = 25: (25 ÷ 100)(5 − 1) = 1, the index-1 value, which is 20.

Quartiles as percentiles

The three quartiles that split a dataset into four equal parts.

PercentileNameSplits off
25thFirst quartile (Q1)Lowest 25% of the data
50thMedian (Q2)Lower half from the upper half
75thThird quartile (Q3)Highest 25% of the data

Why answers can differ between tools

There is no single percentile formula. Spreadsheets and statistics packages implement several different methods, so the same data and the same percentile can yield slightly different values. Excel alone ships two functions — PERCENTILE.INC and PERCENTILE.EXC — and statistical software offers up to nine recognised interpolation schemes. The differences are largest for small datasets and shrink as the sample grows.

What this tool does. For a value’s percentile rank it counts values strictly below the target and divides by the total. For the value at a percentile it sorts the data and applies linear interpolation with rank = (P ÷ 100)(n − 1), interpolating between the two neighbouring sorted values — the same method as Excel’s PERCENTILE.INC. If you need to match another package exactly, check which method it uses before comparing numbers.

What exactly is a percentile?
A percentile is the position of a value within a dataset, expressed as the percentage of values that fall below it. A value at the 70th percentile sits above roughly 70% of the data.
What’s the difference between a percentile and a percentage?
A percentage is a share of a whole (e.g. you answered 80% of questions correctly). A percentile is a rank relative to others (e.g. that score beat 95% of test-takers, putting you at the 95th percentile). The same raw score can map to very different percentiles depending on the group.
Why do different tools give different percentile values?
There is no universal percentile formula. Excel, R, and other packages use different interpolation methods, so for the same data the value at a given percentile can vary slightly — most noticeably on small datasets. This tool uses linear interpolation with rank = (P ÷ 100)(n − 1), matching Excel’s PERCENTILE.INC.
What is the 50th percentile?
The 50th percentile is the median — the middle value, where half the data falls below and half above. It is also the second quartile (Q2).
How do percentiles relate to quartiles?
Quartiles are specific percentiles that cut the data into four equal parts: the 25th percentile is Q1, the 50th is the median (Q2), and the 75th is Q3. The gap between Q1 and Q3 is the interquartile range.
How does this tool compute a value’s percentile rank?
It counts how many values lie strictly below your target, divides by the total count, and multiplies by 100. This “values below” convention is one of a few common ranking conventions; others count values at or below the target.