Home  /  Blog  /  Finance & Stats
Finance & Stats

Percentile Formula in Excel — With Examples (90th, 75th, Quartiles, PERCENTILE.INC vs EXC)

By admin 29 November 2026 Finance & Stats

You have ten exam scores and you need the cutoff for the top 10% — the score a student must beat to be in the top tenth. Or the salary below which three quarters of the team falls. That is what PERCENTILE does — it returns the value below which a given percentage of the data falls. The formula is =PERCENTILE.INC(array, k), and the second part, k, is the whole job: 0.9 means the 90th percentile, 0.5 means the median, and 90 means an error. This guide gives you that rule first, then runs every percentile on one table of ten scores, so you can check each answer yourself — including the case where PERCENTILE.EXC gives a different answer, and the case where it gives #NUM!.

Quick takeaway: the 90th percentile is the value 90% of the data falls at or below.

  • =PERCENTILE.INC(array, k) — k is a decimal: 0.9 for the 90th, 0.75 for the 75th, 0.5 for the median.
  • PERCENTILE is the older name for the same function — PERCENTILE.INC is the modern one.
  • PERCENTILE.EXC excludes the ends: k must be strictly between 0 and 1, and it can return #NUM!.
  • Quartiles are percentiles at 0.25, 0.5 and 0.75.
  • PERCENTRANK.INC goes the other way: it tells you what percentile one value is in.
Percentile Formula in Excel — With Examples (90th, 75th, Quartiles, PERCENTILE.INC vs EXC)

The Formula — Two Parts

=PERCENTILE.INC(array, k)
PartWhat it does
arrayThe range of numbers — the scores, the salaries, the data
kThe percentile you want, as a decimal from 0 to 1 — 0.9 is the 90th percentile

Both arguments are required. The rule for the second one, in one sentence: k is a fraction, not a percentage — 0.9, not 90. Excel also accepts 90% written as a percentage, which is the same as 0.9, but the number 90 on its own is outside the range 0 to 1 and raises #NUM!. Text and blank cells in the range are ignored.

The Worked Table — Ten Exam Scores

Every example below uses the same ten scores, sorted smallest to largest. Every result was checked against them.

Position12345678910
Score45525863677176828895

Ten scores, from 45 to 95. The middle two are 67 and 71, so the median — the average of the two — is 69. Keep that number in mind: it will come back in every section.

The 90th, 75th and 95th Percentiles — PERCENTILE.INC

One formula, three cutoffs. Change only k.

GoalFormulaResult
90th percentile=PERCENTILE.INC(A2:A11, 0.9)88.7
75th percentile=PERCENTILE.INC(A2:A11, 0.75)80.5
95th percentile=PERCENTILE.INC(A2:A11, 0.95)91.85
80th percentile=PERCENTILE.INC(A2:A11, 0.8)83.2
Median (50th)=PERCENTILE.INC(A2:A11, 0.5)69
25th percentile=PERCENTILE.INC(A2:A11, 0.25)59.25
10th percentile=PERCENTILE.INC(A2:A11, 0.1)51.3

Read the 90th percentile in plain words: 88.7 is the score that 90% of the students fall at or below. Nine of the ten scores are 88 or below, and the tenth is 95 — so the 90th percentile sits just above 88, at 88.7. It is not a score anyone got. That is normal: a percentile is a position in the data, not a value from it.

How Excel Gets 88.7 — The Interpolation

Excel does not pick a score from the list. It sorts the values, works out a position, and interpolates — blends — between the two nearest values when the position falls between them. The position is 1 + (n - 1) × k, where n is the count of values.

For the 90th percentile, n is 10 and k is 0.9, so the position is 1 + 9 × 0.9 = 9.1. That is one tenth of the way from the 9th score (88) to the 10th (95): 88 + 0.1 × (95 − 88) = 88 + 0.7 = 88.7.

PercentilePositionBetweenCalculationResult
90th9.188 and 9588 + 0.1 × 788.7
75th7.7576 and 8276 + 0.75 × 680.5
50th5.567 and 7167 + 0.5 × 469
25th3.2558 and 6358 + 0.25 × 559.25
95th9.5588 and 9588 + 0.55 × 791.85

The 50th row is the one to check against what you already know: the median of ten values is the average of the 5th and 6th — (67 + 71) ÷ 2 = 69 — and the percentile formula gives exactly 69. The two routes agree, which is how you know the interpolation is right.

PERCENTILE.INC vs PERCENTILE.EXC — Same Scores, Different Answers

PERCENTILE.EXC uses the exclusive method: it does not count the smallest and largest values as positions 0 and 1, so its results are spread slightly further out, and k must be strictly between 0 and 1 — more precisely, between 1/(n+1) and n/(n+1). With 10 values that is roughly 0.09 to 0.91. Outside that range, it returns #NUM!.

PercentilePERCENTILE.INCPERCENTILE.EXC
10th51.345.7
25th59.2556.5
50th (median)6969
75th80.583.5
80th83.286.8
90th88.794.3
95th91.85#NUM!

Read the table. The two agree at the median — 69 both ways — and differ everywhere else: EXC is lower at the bottom (56.5 against 59.25 at the 25th) and higher at the top (94.3 against 88.7 at the 90th), because it spreads the results further out. And the 95th row is the case that matters: INC gives 91.85, EXC gives #NUM!, because 0.95 is above the top of its range (10/11, about 0.91). Use INC unless a method or standard you follow specifies the exclusive one — INC is the default, and it never errors on a percentile between 0 and 1.

Quartiles — Q1, Q2, Q3

A quartile is a percentile at a fixed point: Q1 is the 25th percentile, Q2 is the median, Q3 is the 75th. The QUARTILE function takes a whole number — 0 to 4 — instead of a decimal.

=QUARTILE.INC(array, quart)
QuartileMeansFormulaResult (INC)Result (EXC)
Q0Minimum=QUARTILE.INC(A2:A11, 0)45—
Q125th percentile=QUARTILE.INC(A2:A11, 1)59.2556.5
Q2Median=QUARTILE.INC(A2:A11, 2)6969
Q375th percentile=QUARTILE.INC(A2:A11, 3)80.583.5
Q4Maximum=QUARTILE.INC(A2:A11, 4)95—

QUARTILE is simply PERCENTILE asked at five specific points — =QUARTILE.INC(A2:A11, 1) gives exactly the same answer as =PERCENTILE.INC(A2:A11, 0.25). And the old QUARTILE is identical to QUARTILE.INC, just as PERCENTILE is identical to PERCENTILE.INC. QUARTILE.EXC accepts only 1, 2 and 3 — there is no exclusive minimum or maximum, so Q0 and Q4 have no EXC version. The interquartile range — the middle half of the data — is Q3 minus Q1: 80.5 − 59.25 = 21.25 with INC, and 83.5 − 56.5 = 27 with EXC.

The Other Direction — What Percentile Is One Score In?

PERCENTILE takes a percentile and returns a value. PERCENTRANK.INC goes the other way: it takes a value and returns the percentile it sits in, formatted as a percentage.

=PERCENTRANK.INC(array, x)
ScoreFormulaPercentile rank
82=PERCENTRANK.INC(A2:A11, 82)77.78%
71=PERCENTRANK.INC(A2:A11, 71)55.56%
95=PERCENTRANK.INC(A2:A11, 95)100%
45=PERCENTRANK.INC(A2:A11, 45)0%

82 sits at 77.78%: eight of the ten scores are 82 or below, and the rank is (8 − 1) ÷ (10 − 1) = 7 ÷ 9 = 0.7778. A student who scored 82 is above about 78% of the class. And the two ends behave as they should: the top score is the 100th percentile, the bottom score is the 0th.

Common Mistakes

MistakeWhat happensFix
You typed 90 instead of 0.9#NUM! — k must be between 0 and 1Use 0.9, or 90% written as a percentage
You used EXC for a 95th percentile#NUM! — with 10 values, EXC only goes to about 0.91Use PERCENTILE.INC, which accepts 0 to 1
You expected a score from the listThe answer is 88.7 — no one scored 88.7A percentile is a position, not a value from the data
You confused percentile with percentageThe 90th percentile is not 90% of anythingIt is the value 90% of the data falls at or below
You used the old PERCENTILE in new workIt works — but it hides which method it usesUse PERCENTILE.INC, which says inclusive in the name
You included a header row in the rangeText is ignored, so the answer is usually still right — but a number in the header is notSelect only the numbers

Frequently Asked Questions

What is the percentile formula in Excel? =PERCENTILE.INC(array, k). For example, =PERCENTILE.INC(A2:A11, 0.9) gives the 90th percentile — the value 90% of the data falls at or below.

How do I calculate the 90th percentile in Excel? =PERCENTILE.INC(A2:A11, 0.9). On the ten scores in this article that gives 88.7.

What is the difference between PERCENTILE.INC and PERCENTILE.EXC? INC includes the smallest and largest values and accepts k from 0 to 1. EXC excludes the ends, spreads the results further out, and only accepts k between 1/(n+1) and n/(n+1) — with 10 values, about 0.09 to 0.91. They agree at the median and differ everywhere else.

How do I calculate quartiles in Excel? =QUARTILE.INC(array, quart) with quart 1, 2 or 3 — or the same thing with PERCENTILE.INC at 0.25, 0.5 and 0.75. On the ten scores, Q1 is 59.25, Q2 is 69 and Q3 is 80.5.

How do I find what percentile a value is in? =PERCENTRANK.INC(array, x), formatted as a percentage. A score of 82 in the ten scores is the 77.78th percentile.

Why does my percentile formula return #NUM!? Either k is outside the range — 90 instead of 0.9, or a percentile above about 0.91 with PERCENTILE.EXC — or the range has no numbers in it. Check k first.

Is a 95% confidence interval the same as the 95th percentile? No. A confidence interval is a different calculation — it estimates where a true average lies, using CONFIDENCE.NORM or CONFIDENCE.T — while the 95th percentile is the value 95% of your data falls at or below. Do not use one where you need the other.

That is the percentile formula in Excel: one range, one decimal — =PERCENTILE.INC(array, k) — with 0.9 for the 90th percentile, 0.75 for the 75th, and 0.5 for the median. On the ten scores in this guide, that one pattern answers every question: the 90th percentile is 88.7, the 75th is 80.5, the 95th is 91.85, and the median is 69 — the average of the middle two, 67 and 71, which is how you know the interpolation is right. The quartiles are the same percentiles at fixed points — Q1 is 59.25, Q2 is 69, Q3 is 80.5 — and the middle half of the data, the interquartile range, is 21.25. Remember the two things that catch everyone once: k is a decimal, not a percentage — 90 gives #NUM!, 0.9 gives the answer — and a percentile is a position, not a score from the list, so 88.7 is a correct answer even though nobody scored it. From here, the next functions worth learning are the ones this one sits next to — the z-score formula for how far a value sits from the average, the standard deviation formula for how spread out the data is, and the full learning order for the whole site is on the Excel Formulas hub and the Finance & Stats category page.


About admin

Author of Excel formula guides on this blog.

View all guides by admin →

Keep Learning

Related guides