Skip to content

PERCENTILE.EXC

Returns the kth percentile of a data set, where k is strictly between 0 and 1 and the end points are excluded.

Syntax

=PERCENTILE.EXC(, )

Statistical

Excel 2010 and later, including Excel for Microsoft 365 and Excel for the web. There is no older equivalent.

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
25th percentile
146.25

B13 =PERCENTILE.EXC(B2:B11,0.25) returns 146.25

How PERCENTILE.EXC works

PERCENTILE.EXC calculates a percentile using the "exclusive" method, which treats the data as a sample from a larger population. The minimum and maximum are never returned as the 0th and 100th percentile, because a sample might not contain the extremes of the population.

How it works

For n values, PERCENTILE.EXC places the percentile at position k × (n + 1). If that position falls between two values, Excel interpolates between them.

With 10 values, k = 0.25 sits at position 0.25 × 11 = 2.75. That is three quarters of the way from the 2nd value to the 3rd. If the data is 120, 135, 150, ... the 2nd is 135 and the 3rd is 150, so the result is 135 + 0.75 × 15 = 146.25.

The allowed range for k

The position must land between the first and last value, so k has to satisfy 1/(n+1) ≤ k ≤ n/(n+1). With 10 values that means k from about 0.091 to 0.909. Outside that, PERCENTILE.EXC returns #NUM!. That is the big practical difference from PERCENTILE.INC, which accepts any k from 0 to 1.

For small data sets the allowed range is narrow: 5 values only allow k between 0.167 and 0.833. You can't ask for the 95th percentile of 10 values with the exclusive method.

EXC versus INC

The two functions agree on the median (k = 0.5), but differ elsewhere.

  • INC puts the position at 1 + k × (n − 1). It treats the data as the complete population, so 0 is the minimum and 1 is the maximum.
  • EXC puts the position at k × (n + 1). It treats the data as a sample, and its percentiles are more spread out, so for the same k it gives a value further from the middle.

Neither is "right". The choice should follow a convention you can cite, such as the method named in a policy, an exam board, or a statistics course. When in doubt, PERCENTILE.INC is the common default and matches the older PERCENTILE function.

Related functions

PERCENTILE.EXC has no older equivalent: the original PERCENTILE function matches the inclusive method only. For quartiles with the inclusive method, see QUARTILE.INC. For the median, see MEDIAN.

Arguments

array
The range or array of numbers, such as B2:B10. Text and blanks are ignored.
k
The percentile as a fraction. It must lie between 1/(n+1) and n/(n+1), where n is the number of values. Outside that range the result is #NUM!.

Examples

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

Example 1

The 25th percentile

B13 =PERCENTILE.EXC(B2:B11,0.25)

Result: 146.25

The position is 0.25 × 11 = 2.75: the 2nd value (135) plus 75% of the step to the 3rd (150), which is 146.25.

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
25th percentile
146.25

B13 =PERCENTILE.EXC(B2:B11,0.25) returns 146.25

Example 2

The 90th percentile

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

Result: 305

The position is 0.9 × 11 = 9.9: the 9th value (260) plus 90% of the step to the 10th (310). PERCENTILE.INC gives 265 for the same data.

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
305

B13 =PERCENTILE.EXC(B2:B11,0.9) returns 305

Example 3

k too close to 1 returns #NUM!

B13 =PERCENTILE.EXC(B2:B11,0.95)

Result: #NUM!

With 10 values, k can be at most 10/11, about 0.909. The 95th percentile is out of range for this method.

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
95th percentile
#NUM!

B13 =PERCENTILE.EXC(B2:B11,0.95) returns #NUM!

Example 4

The 10th percentile

B13 =PERCENTILE.EXC(B2:B11,0.1)

Result: 121.5

The position is 0.1 × 11 = 1.1: the 1st value (120) plus 10% of the step to the 2nd (135).

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
10th percentile
121.5

B13 =PERCENTILE.EXC(B2:B11,0.1) returns 121.5

Your turn.

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

Task 1 of 2

In B12, return the 25th percentile of the scores using the exclusive method.

Answer in B12.

B12
A
B
C
D
1
Student
Score
2
S1
55
3
S2
62
4
S3
68
5
S4
70
6
S5
74
7
S6
79
8
S7
85
9
S8
91
10
S9
96
11
12
25th percentile
13

Common mistakes

  • k must stay strictly inside 1/(n+1) to n/(n+1). For small data sets that range is narrow, and values such as 0.05 or 0.95 return #NUM!.
  • PERCENTILE.EXC and PERCENTILE.INC give different answers for the same data and k. Match the method your report or standard names.
  • k is a fraction, not a whole-number percentage. 25 returns #NUM!; write 0.25 or 25%.
  • PERCENTILE.EXC cannot return the minimum or maximum. If you need those, use MIN and MAX, or PERCENTILE.INC with k = 0 or 1.
  • The original PERCENTILE function is the inclusive method, not the exclusive one, so replacing PERCENTILE with PERCENTILE.EXC changes results.

Questions people ask

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

INC puts the position at 1 + k(n-1) and allows k from 0 to 1. EXC puts it at k(n+1) and only allows k between 1/(n+1) and n/(n+1). For the same k, EXC usually returns a value further from the middle.

Why does PERCENTILE.EXC return #NUM!?

k is outside the allowed range for the number of values, or the range has no numbers. With 10 values, k must be between about 0.091 and 0.909.

Which should I use, INC or EXC?

Use the one your method requires. If nothing specifies it, PERCENTILE.INC is the usual default and matches the older PERCENTILE function.

Does the older PERCENTILE function match PERCENTILE.EXC?

No. PERCENTILE returns the same results as PERCENTILE.INC. There is no older version of the exclusive method.

Learn PERCENTILE.EXC in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.