# PERCENTILE in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/percentile/

PERCENTILE returns the value below which a chosen share of the data falls. It interpolates between neighbouring values, so the result is not always one of the numbers in the range.

## Syntax

```
PERCENTILE(data, percentile)
```

## Arguments

- `data` (range, required: yes): The values to measure. Text and blanks are ignored.
- `percentile` (number, required: yes): A number from 0 to 1. 0.5 is the median, 0.9 the 90th percentile.

## Examples

The examples use this table, starting in A1:

| 12 |
|---|
| 7 |
| 3 |
| 15 |
| 9 |
| 20 |

```
=PERCENTILE(A1:A6, 0.5)
```

Result: `10.5`

The 50th percentile is the median. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=PERCENTILE(A1:A6, 0.9)
```

Result: `17.5`

Value below which 90% of the data falls, interpolated between neighbours. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=PERCENTILE(A1:A6, 0)
```

Result: `3`

0 returns the minimum. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=PERCENTILE(A1:A6, 1)
```

Result: `20`

1 returns the maximum. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=PERCENTILE(A1:A6, 0.25)
```

Result: `7.5`

The first quartile. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- The percentile is a fraction from 0 to 1. Typing 50 or 90 returns #NUM!; write 0.5 or 0.9.
- A value below 0 or above 1 also returns #NUM!.
- The result is interpolated. On six values the 0.9 percentile lands between the two largest, not on one of them.
- Text and blank cells in data are skipped silently, so a number stored as text drops out of the calculation.

## Compared with Excel

Same as PERCENTILE in Excel, which equals PERCENTILE.INC.

## Related functions

- [MEDIAN](https://goingstellar.ro/reference/sheets/median/)
- [STDEV](https://goingstellar.ro/reference/sheets/stdev/)
- [AVERAGE](https://goingstellar.ro/reference/sheets/average/)
- [MAX](https://goingstellar.ro/reference/sheets/max/)

## Sources

- [PERCENTILE (Docs Editors Help)](https://support.google.com/docs/answer/3094093)

