Data & CSV

Percentile Calculator

Percentile Calculator

Find the value at any percentile or the percentile rank of a value, with Excel-compatible methods.

About this tool

About Percentile Calculator

Percentiles answer two different questions, and this calculator handles both. Value at percentile: what score marks the 90th percentile of this class, or what response time do 95% of requests beat? Percentile rank: a score of 83 is higher than what share of the group? Paste your data, type a percentile or a value, and the answers appear instantly, along with a table of the minimum, P1, P5, P10, Q1, median, Q3, P90, P95, P99 and maximum. Because different tools define percentiles differently, you can switch between three methods: inclusive, matching Excel PERCENTILE.INC, Google Sheets and NumPy; exclusive, matching PERCENTILE.EXC, SPSS and Minitab; and nearest rank, which always returns a value from your data and is common in textbooks and service-level reports. When a percentile is undefined for the exclusive method with small data sets, the calculator says so and gives the valid range. Percentile rank is reported with the count of values below and equal. Nothing leaves your browser.

Built and maintained by Abhi JainUpdated

How to Calculate a Percentile

  1. 1

    Enter the data

    Paste your numbers into the Data box, separated by commas, spaces or new lines.

  2. 2

    Pick a method

    Choose Inclusive, Exclusive or Nearest rank to match your software or course.

  3. 3

    Ask your question

    Type a percentile (0–100) under Value at percentile, or a number under Percentile rank of a value. The common percentiles table updates too.

Percentile Calculator: questions and answers

How do you calculate a percentile?

Sort the data. With the inclusive method, the pth percentile is at rank (p/100)(n − 1) + 1; if the rank falls between two values, interpolate between them. Nearest rank uses rank ⌈(p/100) × n⌉ and returns that value directly.

What is the difference between percentile and percentile rank?

A percentile is a value from the data scale (the 90th percentile is 92 marks). A percentile rank is a percentage for a given value (a score of 83 has a percentile rank of 62.5). This tool computes rank as (values below + half the equal values) ÷ count × 100.

PERCENTILE.INC or PERCENTILE.EXC?

INC includes the minimum and maximum as the 0th and 100th percentiles and works for any p. EXC excludes them, so it is undefined for very small or large p with little data. Use whichever your course or organisation specifies; INC is the more common default.

Is the 50th percentile the median?

Yes, with the inclusive and exclusive methods the 50th percentile equals the median. Nearest rank can differ slightly for even-sized data because it always returns an actual value.