How to Calculate PERCENTILE Excel

“calculate percentile excel” comes up constantly, so this page leads with the exact answer, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

Exact answer

In Excel: use =PERCENTILE.INC(array, k)=PERCENTILE.INC(B2:B500, 0.9) returns the value below which 90 % of the data falls.

On this page8

Syntax

=PERCENTILE.INC(array, k)

Arguments

Argumentrequired / optionalDescription
arrayrequiredThe range of values.
krequiredThe percentile as a decimal: 0.9 for the 90th. INC accepts 0 to 1, EXC excludes both ends.

Related functions

QUARTILEMEDIANPERCENTRANK
Annotated stepsExcel
1

Select the result cell and type =PERCENTILE.INC(.

2

Select the range of values, then a comma.

3

Enter the percentile as a decimal — 0.9 for the 90th, not 90.

4

Press Enter. Use .EXC instead if your methodology excludes the endpoints.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

PERCENTILE returns the value at a given position in the distribution. It is how service-level reporting works: a p95 response time says 95 % of requests were faster than this number, which describes user experience far better than a mean. The .INC variant includes the endpoints and accepts k from 0 to 1; the .EXC variant excludes them and rejects k values too close to either end for the sample size. Values between data points are interpolated, so the result often is not a number that appears in the data. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “calculate percentile excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Response times in B2:B5000: =PERCENTILE.INC(B2:B5000, 0.95) gives the p95 latency, and =PERCENTILE.INC(B2:B5000, 0.5) reproduces the median. Setting a compensation band from the 25th to the 75th percentile: =PERCENTILE.INC(C2:C200, 0.25) and =PERCENTILE.INC(C2:C200, 0.75). PERCENTILE is the right summary for response times, salaries and any distribution where the tail is the story, which is exactly where an average misleads. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “calculate percentile excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

Common mistakes

  • Passing 90 instead of 0.9, which returns #NUM! because k must be between 0 and 1.
  • Using .EXC on a small sample where the requested percentile is not defined, which errors.
  • Expecting the result to be an actual data point; percentiles are interpolated between neighbouring values.

Frequently asked questions

What is the difference between PERCENTILE.INC and PERCENTILE.EXC?

INC includes the 0th and 100th percentiles and accepts any k from 0 to 1. EXC excludes them and requires k to sit within 1/(n+1) and n/(n+1).

How do I calculate p95?

=PERCENTILE.INC(range, 0.95). Note the decimal — 95 returns an error.

Is the 50th percentile the median?

Yes, =PERCENTILE.INC(range, 0.5) and =MEDIAN(range) agree.

Other ways people ask this

On the way here you may have searched this as “excel calculate percentile”, “how to calculate a percentile in excel” and “how to calculate the percentile in excel” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “excel calculate percentile”, “how to calculate a percentile in excel”, “how to calculate the percentile in excel” all point at the one operation explained on this page, which is why they all lead here.