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
Syntax
PERCENTILE(array, k)| Argument | What it means | |
|---|---|---|
array | Required | The range of numbers. |
k | Required | The 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Salary | ||
| 2 | A | 31000 | 48100 | |
| 3 | B | 34500 | ||
| 4 | C | 36000 | ||
| 5 | D | 38200 | ||
| 6 | E | 41000 | ||
| 7 | F | 45500 | ||
| 8 | G | 52000 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Salary | ||
| 2 | A | 31000 | 35250 | |
| 3 | B | 34500 | ||
| 4 | C | 36000 | ||
| 5 | D | 38200 | ||
| 6 | E | 41000 | ||
| 7 | F | 45500 | ||
| 8 | G | 52000 |
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).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Czech | PERCENTIL |
| Danish | FRAKTIL |
| Dutch | PERCENTIEL |
| Finnish | PROSENTTIPISTE |
| French | CENTILE |
| German | QUANTIL |
| Hungarian | PERCENTILIS |
| Norwegian (Bokmål) | PERSENTIL |
| Polish | PERCENTYL |
| Portuguese (Brazil) | PERCENTIL |
| Portuguese (Portugal) | PERCENTIL |
| Russian | ПЕРСЕНТИЛЬ |
| Spanish | PERCENTIL |
| Swedish | PERCENTIL |
| Turkish | YÜZDEBİRLİK |