Practice free

PERCENTILE function

PERCENTILE finds the value below which a chosen share of the data falls, such as the 90th percentile salary. It is a compatibility function; PERCENTILE.INC and PERCENTILE.EXC replace it.

Example

Read it as a sentence: find the value at the 25th percentile of A1:A8, which gives 4.

Practice this in the app

Syntax

PERCENTILE(array, k)

array (required)
The data.
k (required)
Fraction between 0 and 1, inclusive.

Returns: The k-th percentile, interpolating between values.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=PERCENTILE({10,20,30,40,50},0.9) 46 K 0.9 array
=PERCENTILE(Data!A1:A8,0.25) 4 K 0.25
=PERCENTILE(Data!A1:A8,0) 2 K 0
=PERCENTILE(Data!A1:A8,1) 9 K 1
=PERCENTILE(Data!A1:A8,0.05) 2.7 K very small (exc)
=PERCENTILE(Data!A1:A8,{0.25,0.5,0.75}) 4 Array k (spills)
=PERCENTILE(Data!A1:A8,-0.1) #NUM! K negative
=PERCENTILE(Data!A1:A8,1.1) #NUM! K above 1

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • Superseded by PERCENTILE.INC / PERCENTILE.EXC; use that in new workbooks.
  • k is a fraction (0.9), not 90.
  • Same as PERCENTILE.INC.

Where it works

Excel
PERCENTILE is in every version of Excel from 2007 on. Compatibility function: still works in every version, but newer replacements exist.
Google Sheets
Same name, same behaviour for everyday use.

Part of Compatibility functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .