Skip to content

PERCENTILE.INC

Returns the value below which a given fraction of the data falls, from 0 (the minimum) to 1 (the maximum), inclusive.

Syntax

=PERCENTILE.INC(, )

Statistical

Excel 2010 and later, including Excel for Microsoft 365 and Excel for the web. The older PERCENTILE function works in every version.

Try it

Edit the formula in B13 or change the inputs. The sheet recalculates as you type.

B13
A
B
C
1
Request
Response (ms)
2
R1
120
3
R2
135
4
R3
150
5
R4
160
6
R5
175
7
R6
190
8
R7
205
9
R8
230
10
R9
260
11
R10
310
12
13
50th percentile
182.5

B13 =PERCENTILE.INC(B2:B11,0.5) returns 182.5

How PERCENTILE.INC works

PERCENTILE.INC answers "what value do 90% of the results fall below?". It is the standard way to report response times (the 90th percentile), pay bands, delivery performance and exam cut-offs.

How it works

Pass a range and a fraction k between 0 and 1.

  • k = 0 returns the minimum.
  • k = 1 returns the maximum.
  • k = 0.5 returns the median, the same as MEDIAN.
  • k = 0.9 returns the 90th percentile.

If the percentile falls between two data points, Excel interpolates between them. With 10 values the 90th percentile sits at position 1 + 0.9 × 9 = 9.1, so Excel takes the 9th value plus 10% of the way to the 10th. That is why the result is often a number that is not in your data.

For n values, the position is 1 + k × (n − 1). That is the "inclusive" method: the lowest value is at k = 0 and the highest at k = 1.

Type k as a fraction

K must be a fraction between 0 and 1. =PERCENTILE.INC(B2:B11,90) returns #NUM!. Write 0.9, or 90% (Excel reads 90% as 0.9), or point to a cell that holds the fraction. Using a cell lets you change the percentile without editing the formula.

INC and EXC

PERCENTILE.INC includes the end points: k can be exactly 0 or 1. PERCENTILE.EXC excludes them and uses a different position formula, k × (n + 1), so it needs k to stay strictly between 1/(n+1) and n/(n+1). The two functions give different answers for the same data and k. Which to use depends on the convention of your field, but PERCENTILE.INC matches the older PERCENTILE function and is the usual default.

PERCENTILE and PERCENTILE.INC

The original PERCENTILE function returns exactly the same results. Microsoft added the .INC and .EXC versions in Excel 2010 to make the method explicit, and PERCENTILE is kept only for compatibility. Prefer PERCENTILE.INC in new files. It is also the method used by QUARTILE.INC, which is PERCENTILE.INC at 0, 0.25, 0.5, 0.75 and 1.

Percentile versus percentile rank

PERCENTILE.INC takes a fraction and returns a value. PERCENTRANK.INC does the reverse: it takes a value and returns its fraction. For positions in a list, see RANK.EQ.

Arguments

array
The range or array of numbers, such as B2:B11. Text and blanks are ignored.
k
The percentile as a fraction from 0 to 1 inclusive: 0.9 is the 90th percentile and 0.5 is the median. Typing 90 instead of 0.9 returns #NUM!.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

The median as the 50th percentile

B13 =PERCENTILE.INC(B2:B11,0.5)

Result: 182.5

With ten values, the middle falls between the 5th (175) and 6th (190), so Excel returns their average, 182.5. MEDIAN gives the same answer.

B13
A
B
C
1
Request
Response (ms)
2
R1
120
3
R2
135
4
R3
150
5
R4
160
6
R5
175
7
R6
190
8
R7
205
9
R8
230
10
R9
260
11
R10
310
12
13
50th percentile
182.5

B13 =PERCENTILE.INC(B2:B11,0.5) returns 182.5

Example 2

The 90th percentile response time

B13 =PERCENTILE.INC(B2:B11,0.9)

Result: 265

The position is 1 + 0.9 × 9 = 9.1: the 9th value (260) plus 10% of the step to the 10th (310). That is 260 + 5 = 265.

B13
A
B
C
1
Request
Response (ms)
2
R1
120
3
R2
135
4
R3
150
5
R4
160
6
R5
175
7
R6
190
8
R7
205
9
R8
230
10
R9
260
11
R10
310
12
13
90th percentile
265

B13 =PERCENTILE.INC(B2:B11,0.9) returns 265

Example 3

Read the percentile from a cell

B14 =PERCENTILE.INC(B2:B11,B13)

Result: 152.5

B13 holds 25%. The position is 1 + 0.25 × 9 = 3.25, which is 25% of the way from the 3rd value (150) to the 4th (160).

B14
A
B
C
1
Request
Response (ms)
2
R1
120
3
R2
135
4
R3
150
5
R4
160
6
R5
175
7
R6
190
8
R7
205
9
R8
230
10
R9
260
11
R10
310
12
13
Percentile
25%
14
Value
152.5

B14 =PERCENTILE.INC(B2:B11,B13) returns 152.5

Example 4

k outside 0 to 1 returns #NUM!

B13 =PERCENTILE.INC(B2:B6,90)

Result: #NUM!

K must be a fraction between 0 and 1. Write 0.9 or 90%, not 90.

B13
A
B
C
1
Request
Response (ms)
2
R1
120
3
R2
135
4
R3
150
5
R4
160
6
R5
175
7
8
9
10
11
12
13
90th percentile (typed as 90)
#NUM!

B13 =PERCENTILE.INC(B2:B6,90) returns #NUM!

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In E2, return the percentile of the shipping times that is set in D2.

Answer in E2.

E2
A
B
C
D
E
1
Order
Days to ship
Percentile
Days
2
O-1
2
75%
3
O-2
3
4
O-3
3
90th percentile
5
O-4
4
6
O-5
5
7
O-6
6
8
O-7
8
9
O-8
12

Common mistakes

  • k is a fraction, not a whole-number percentage. 90 returns #NUM!; use 0.9 or 90%.
  • The result is interpolated, so it is often a value that does not appear in the data. That is normal for the inclusive method.
  • PERCENTILE.INC and PERCENTILE.EXC give different answers for the same data. Check which method your report or standard specifies.
  • Text and blanks are ignored, but zeros are included. Zeros that mean "no data" pull the percentile down.
  • With very few values, a percentile such as the 99th is just close to the maximum. It carries little statistical meaning on tiny data sets.

Questions people ask

What is the difference between PERCENTILE and PERCENTILE.INC?

They return the same results. PERCENTILE.INC is the newer name from Excel 2010, and PERCENTILE is kept for compatibility. Use PERCENTILE.INC in new work.

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

INC treats the minimum as the 0th percentile and the maximum as the 100th. EXC uses a different position formula and rejects k values near 0 or 1, so for the same k it usually gives a more extreme result.

How do I calculate the 90th percentile in Excel?

Use `=PERCENTILE.INC(B2:B11,0.9)`. Write the fraction 0.9 or 90%, not 90.

Is PERCENTILE.INC the same as the median?

At k = 0.5, yes. `=PERCENTILE.INC(B2:B11,0.5)` equals `=MEDIAN(B2:B11)`.

How do I find the percentile of one group, such as one region?

Filter the values first: `=PERCENTILE.INC(IF(A2:A11="East",B2:B11),0.9)`. It works as typed in Microsoft 365 and needs Ctrl+Shift+Enter in older versions.

Learn PERCENTILE.INC in a real sheet.

PERCENTILE.INC is taught in Data analysis with formulas, lesson 16: MEDIAN, PERCENTILE and QUARTILE. Each lesson is a short, graded exercise like the one above.