Compatibility function

PERCENTILE function

Returns the k-th percentile of a data set (k from 0 to 1, inclusive), interpolating between values. Replaced by PERCENTILE.INC.

Available in All versions of Excel, including Microsoft 365 and Excel for the web (kept for compatibility)

In every Excel versionWorks in Google Sheets

Older function. PERCENTILE still works, but for new workbooks use PERCENTILE.INC.

Syntax

PERCENTILE(array, k)
ArgumentWhat it means
arrayRequiredThe range of numbers.
kRequiredThe percentile as a decimal from 0 to 1, e.g. 0.9 for the 90th percentile.

Returns: The value below which the fraction k of the data falls.

How PERCENTILE works

PERCENTILE finds the value that splits your data at a given point: the 90th percentile salary, the 95th percentile delivery time, the 10th percentile test score. Percentiles are far more robust than averages when data is skewed — a few very high salaries move the average but hardly touch the median (k = 0.5).

Excel sorts the values and uses the position k × (n − 1), interpolating between neighbours when the position is not a whole number. k = 0 returns the minimum and k = 1 the maximum. This inclusive method matches PERCENTILE.INC; the alternative PERCENTILE.EXC uses a slightly different position and can give different results for small data sets.

Compatibility note: PERCENTILE is one of the older statistical functions that Excel 2010 moved to the Compatibility group. It still works in every version, but for new workbooks Microsoft recommends PERCENTILE.INC. Results are identical, so a straight rename is safe.

Examples

190th percentile salary

D2fx=PERCENTILE(B2:B8, 0.9)
ABCD
1EmployeeSalary
2A3100048100
3B34500
4C36000
5D38200
6E41000
7F45500
8G52000

Result: 48100

With 7 values, the position is 0.9 × 6 = 5.4: 40% of the way from 45,500 to 52,000, giving 48100.

2Lower quartile with PERCENTILE

D2fx=PERCENTILE(B2:B8, 0.25)
ABCD
1EmployeeSalary
2A3100035250
3B34500
4C36000
5D38200
6E41000
7F45500
8G52000

Result: 35250

Position 0.25 × 6 = 1.5, halfway between the 2nd and 3rd values (34,500 and 36,000): 35250. This equals QUARTILE(B2:B8, 1).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!k is below 0 or above 1, or the array is empty.Use k as a decimal between 0 and 1 (90th percentile = 0.9, not 90).
#VALUE!k is non-numeric.Check k.

Tips

  • k is a fraction: type 0.9 or 90%, not 90.
  • The data does not need to be sorted; Excel sorts internally.

Questions

Should I still use PERCENTILE?

Only if the workbook must open in Excel 2007 or earlier. Otherwise use PERCENTILE.INC, which gives the same result and makes the intent clearer to the next person who reads the formula.

Will PERCENTILE stop working?

There is no announced removal date. Microsoft keeps compatibility functions so old workbooks keep calculating, but they get no new features.

Google Sheets

PERCENTILE also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

PERCENTILE in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechPERCENTIL
DanishFRAKTIL
DutchPERCENTIEL
FinnishPROSENTTIPISTE
FrenchCENTILE
GermanQUANTIL
HungarianPERCENTILIS
Norwegian (Bokmål)PERSENTIL
PolishPERCENTYL
Portuguese (Brazil)PERCENTIL
Portuguese (Portugal)PERCENTIL
RussianПЕРСЕНТИЛЬ
SpanishPERCENTIL
SwedishPERCENTIL
TurkishYÜZDEBİRLİK