Statistics function
PERCENTILE.INC function in Google Sheets and Excel
PERCENTILE.INC returns the value below which a given share of the data falls, such as the 90th percentile of scores.
Checked against Microsoft's and Google's documentation on · Example calculated on a live sheet
- Excel 2016
- Excel 2019
- Excel 2021
- Excel 2024
- Microsoft 365
- Google Sheets
Syntax
PERCENTILE.INC(array, k)Arguments in [brackets] are optional. Google Sheets writes it PERCENTILE.INC(data, percentile).
Example
=PERCENTILE.INC(D2:D13,0.9) reads: Return the score that 90% of the twelve scores in D2:D13 sit at or below.
| A | B | C | D | E | F | G | H | I | J | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Student | Class | Hours | Score | From | Grade | 90th pct | 87.6 | ||
| 2 | Noor | A | 2 | 48 | 0 | F | ||||
| 3 | Mateo | B | 5 | 66 | 50 | D | ||||
| 4 | Hana | A | 8 | 81 | 60 | C | ||||
| 5 | Ollie | B | 3 | 55 | 70 | B | ||||
| 6 | Zara | A | 10 | 93 | 85 | A | ||||
| 7 | Ivan | B | 6 | 72 | ||||||
| 8 | Lea | A | 1 | 39 | ||||||
| 9 | Omar | B | 7 | 77 | ||||||
| 10 | Sara | A | 9 | 88 | ||||||
| 11 | Theo | B | 4 | 61 | ||||||
| 12 | Yuki | A | 6 | 70 | ||||||
| 13 | Bea | B | 8 | 84 |
J1 shows 87.6: 90% of the scores are at or below it.
How the spreadsheet calculates it
The k-th percentile of a range (k from 0 to 1). Here it's given D2:D13 and 0.9.
- 1. PERCENTILE.INC: The k-th percentile of a range (k from 0 to 1). Here it's given
D2:D13and0.9.range=`D2:D13`: the numbersk=`0.9`: the percentile as a decimal
More PERCENTILE.INC examples
=PERCENTILE.INC(D2:D13,0.5)The 50th percentile: the same as the median, 71.=PERCENTILE.INC(D2:D13,0.25)The 25th percentile of the scores.=PERCENTILE.INC(D2:D13,J2)Any percentile, with k typed in J2.=D2>=PERCENTILE.INC($D$2:$D$13,0.9)TRUE for scores in the top 10% (fill down).
Paste any of these into the formula explainer to see it step by step.
Tips
- Write k as a decimal or a percentage, never as a whole number.
- Put k in a cell so one formula works for any percentile.
- Say in reports that the value is interpolated, so readers don't look for it in the data.
What PERCENTILE.INC is used for
Setting cut-offs like the top 10% of sales, reporting response times at the 90th or 95th percentile, salary bands, and grading on a curve.
Arguments
| Argument | Required | What it is |
|---|---|---|
| array | Yes | The numbers, such as D2:D13. |
| k | Yes | The percentile as a decimal from 0 to 1, inclusive: 0.9 for the 90th, 0.25 for the 25th.Watch out: A k below 0 or above 1 gives #NUM!. |
Common mistakes
Typing 90 instead of 0.9: #NUM!.
Expecting the answer to be one of the values: between two values PERCENTILE.INC takes the point in between, so 87.6 doesn't appear in the list.
Mixing up .INC and .EXC: PERCENTILE.EXC excludes 0 and 1 and gives slightly different values, so a report should say which one it used.
Writing k as a percentage in a cell formatted as a number, so 90% is read as 0.9 in one place and 90 in another.
In Google Sheets
Google Sheets has PERCENTILE.INC with the same two arguments (PERCENTILE.INC(data, percentile)), and the older name PERCENTILE.
Errors you may see with PERCENTILE.INC
Questions
What's the difference between PERCENTILE.INC and PERCENTILE.EXC?
INC accepts k from 0 to 1 inclusive, so 0 and 1 return the minimum and maximum. EXC excludes the ends and works on a slightly different scale, so its answers differ a little. PERCENTILE, the older name, matches INC.
Can I type 90% instead of 0.9?
Yes: PERCENTILE.INC(D2:D13, 90%) is the same as 0.9, because 90% is the number 0.9. Typing 90 gives #NUM!.
Is the 50th percentile the median?
Yes: PERCENTILE.INC(range, 0.5) equals MEDIAN. On the exam sheet both give 71.
How do I find which percentile a value is at?
That's the reverse question; PERCENTRANK.INC returns a value's position as a share from 0 to 1.
Sources
Official documentation the facts on this page were checked against.