MATH

Percentile Calculator: Find a Percentile or Percentile Rank

The kth percentile is the value with about k% of the data at or below it. Find the value at a percentile, the percentile of a score, or the quartiles, and see which method your class or spreadsheet uses.

  • Value at a percentile
  • Percentile rank
  • Quartiles & IQR
Find a percentile
Example · 29 Oscar-winning actors' ages
  • Position i = 0.70 × 3021
  • 21st age in order64
  • Excel PERCENTILE.INC63.2
  • Age 58 is at the64th percentile
P₇₀70th percentile64

To find the kth percentile, sort the data and work out the position i = (k/100) × (n + 1). If i is a whole number, the percentile is the value in that position; if not, average the values on either side. For the ages of 29 Oscar-winning actors, the 70th percentile is at position 0.70 × 30 = 21, so it's the 21st age, 64. To go the other way, the percentile of a value is (values below + half the values equal) ÷ n × 100: an age of 58 is at about the 64th percentile.

Excel's PERCENTILE.INC uses a different rule, so it gives 63.2 for the same data. This percentile calculator shows the textbook, Excel and NIST answers side by side, and also finds quartiles and the interquartile range.

Last updated November 13, 2026  How we calculate

Find

Any order. Separate numbers with commas, spaces or new lines, or paste a column from a spreadsheet. Up to 10,000 numbers.

Your result

70th percentile · Textbook (OpenStax)

64

The methods give different answers for this data; see the table.

Percentile results
Textbook (OpenStax) (selected)64
Excel PERCENTILE.INC63.2
NIST (PERCENTILE.EXC position)64
Count29
Sorted data18, 21, 22, 25, 26, 27, 29, 30, 31, 33, 36, 37, … (17 more)
  1. Sort the 29 values from smallest to largest.
  2. i = (70/100)(29 + 1) = 21, a whole number, so the 21st value: 64

How to Find a Percentile

This is the method in OpenStax's statistics textbook (OpenStax Introductory Statistics 2e, 2.3):

  1. Sort the data from smallest to largest and count the values, n.
  2. Find the position: i = (k/100) × (n + 1), where k is the percentile you want.
  3. If i is a whole number, the kth percentile is the value in position i.
  4. If i isn't a whole number, round it down and up, and average the two values in those positions.

OpenStax's examples use the ages of 29 Oscar-winning best actors. For the 70th percentile, i = 0.70 × 30 = 21, and the 21st age is 64. For the 83rd, i = 0.83 × 30 = 24.9, so average the 24th and 25th ages: (71 + 72) ÷ 2 = 71.5. If i comes out below 1 or above n, this calculator uses the smallest or largest value.

Why Calculators Give Different Answers

There's more than one standard way to compute a percentile. NIST's engineering statistics handbook uses the position p(n + 1) and interpolates between neighbors, and notes that Excel instead uses 1 + p(n − 1) (NIST/SEMATECH e-Handbook, 7.2.6.2). Excel's PERCENTILE.INC takes k from 0 to 1 inclusive and interpolates; Microsoft's example gives 1.9 for the 30th percentile of 1, 3, 2, 4 (Microsoft Support). PERCENTILE.EXC uses the NIST position but returns an error for percentiles too close to 0 or 100 (Microsoft Support).

Three methods on OpenStax's 29 actor ages
MethodPosition for the kth percentile70th83rd
Textbook (OpenStax)i = (k/100)(n + 1); average the neighbors if i isn't whole6471.5
Excel PERCENTILE.INC1 + (k/100)(n − 1), interpolated63.271.24
NIST (PERCENTILE.EXC position)(k/100)(n + 1), interpolated6471.9

With a big data set the methods nearly agree; with a small one they can differ noticeably. Use the method your teacher, textbook or software uses, and say which one when you report a percentile.

How to Find the Percentile Rank of a Value

A score's percentile rank tells you what percentile it's at. To find it, count x, the number of values below it, and y, the number of values equal to it. Then percentile = (x + 0.5y) ÷ n × 100 (OpenStax, 2.3). For an actor's age of 58: 18 ages are below it and 1 is equal, so (18 + 0.5) ÷ 29 × 100 ≈ 63.8, about the 64th percentile. The calculator also shows the plain share below and the share at or below.

Excel's PERCENTRANK.INC gives a rank from 0 to 1 and interpolates for values that aren't in the data (Microsoft Support). It divides the number of values below by n − 1, so for 58 it gives 18 ÷ 28 = 0.642 (64.2%), slightly different from OpenStax's 63.8. The calculator shows both.

Quartiles, IQR and Outliers

The quartiles split sorted data into four parts. The median is Q2; Q1 is the median of the lower half and Q3 the median of the upper half, leaving out the median itself when there's an odd number of values. The interquartile range, IQR = Q3 − Q1, is the spread of the middle 50% of the data. A value more than 1.5 × IQR below Q1 or above Q3 is a potential outlier (OpenStax, 2.3). In OpenStax's example of 13 house prices, Q1 = $308,750 and Q3 = $649,000, so IQR = $340,250 and the upper fence is $649,000 + 1.5 × $340,250 = $1,159,375; the $5,500,000 house is a potential outlier. For the 29 actor ages, Q1 = 29.5, the median is 47 and Q3 = 68, so IQR = 38.5.

This median-of-halves method is OpenStax's. Excel's PERCENTILE.INC at the 25th and 75th percentiles gives 30 and 67 for the actor ages, so spreadsheet quartiles can differ slightly; the calculator shows both. Common Core's grade 6 standards name the interquartile range and the mean absolute deviation as measures of variability (6.SP.B.5c).

Percentile vs Percentage

A percentage is a score out of 100 (85 out of 100 correct is 85%). A percentile compares a score with everyone else's: the 85th percentile means about 85% of the scores are the same or lower (OpenStax, 2.3). A test score of 70% can be at the 90th percentile if the test was hard. For data that follow a normal curve, a percentile can also come from a z-score: see the z-score calculator.

Frequently Asked Questions

What does the 90th percentile mean?

About 90% of the values are at or below it and about 10% are at or above it. Scoring at the 90th percentile means you did as well as or better than about 90% of the group.

Is the 50th percentile the median?

Yes. All three methods here give the median for the 50th percentile, because each puts it at position (n + 1) ÷ 2, the middle of the sorted data.

How do I calculate a percentile in Excel?

Use =PERCENTILE.INC(range, 0.9) for the 90th percentile; k is a decimal from 0 to 1. Choose "Excel PERCENTILE.INC" above to match it.

Can a percentile be 100?

It depends on the definition. By the share at or below, the top value of a data set is at 100%. By OpenStax's (x + 0.5y) ÷ n formula it gets (n − 0.5) ÷ n × 100, just under 100 (a value above every data point gets exactly 100). The value at the 100th percentile, by all three methods here, is the largest value.

What is percentile rank in Excel?

=PERCENTRANK.INC(range, x) gives the rank of x from 0 to 1, with three digits by default. It divides by n − 1, so it can differ a little from the textbook formula; the calculator shows both.

More tools: the mean, median, mode calculator, the z-score calculator, the standard deviation calculator and all the math calculators.

Sources