FormulaCraft

How to calculate a percentile rank in Excel and Google Sheets

Topic:RANK & statistical aggregates
Excel & Google Sheets
=PERCENTRANK($B$2:$B$6,B2)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your numeric data in column B (B2:B6).
  2. 2In column C2, enter =PERCENTRANK($B$2:$B$6,B2) and lock the range with $ signs.
  3. 3Copy the formula down for all data rows.
  4. 4Format column C as Percentage to display e.g. 75% meaning the value is at the 75th percentile.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What is the difference between PERCENTRANK and PERCENTILE?

PERCENTRANK takes a value and returns its rank as a percentage; PERCENTILE takes a percentage and returns the corresponding value — they are inverses.

What does a percentile rank of 0.8 mean?

It means the value is higher than 80% of all values in the dataset.

More on RANK & statistical aggregates

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: