Percentile Calculator
Find the percentile rank of any value, or find the value at any percentile, for any dataset you enter.
📊 What is a Percentile Calculator?
A percentile calculator is a tool that finds where a value stands relative to the rest of a dataset. It answers two distinct questions: "What percentile rank does this value have?" and "What value falls at the Nth percentile?" Both are fundamental operations in descriptive statistics, standardised testing, medical diagnostics, and data analysis.
Percentiles are used everywhere in everyday life. Standardised tests like the SAT, GRE, and USMLE report scores as percentile ranks so candidates can understand their standing relative to other test-takers, not just as raw numbers. Pediatric growth charts show height and weight as percentiles relative to a reference population of the same age and sex. Income distribution reports describe the 50th, 90th, and 99th income percentiles to characterise inequality. Quality control engineers use percentiles to set specification limits based on the distribution of measured dimensions.
A common source of confusion is the difference between a percentage and a percentile. A percentage is a ratio: 75% means 75 out of 100 units. A percentile is a rank: being at the 75th percentile means a value is higher than 75% of all values in a dataset. You could score 40% on a very difficult exam and still be at the 95th percentile if everyone else scored lower. The two concepts measure completely different things.
This calculator supports two modes. The Find Percentile Rank mode accepts a dataset and a specific value and returns the percentile rank using the midpoint formula, which handles ties fairly. The Find Value at Percentile mode accepts a dataset and a target percentile and returns the value at that position using both linear interpolation (the Excel PERCENTILE.INC method) and the nearest rank method. Both modes also display the full five-number summary (minimum, Q1, median, Q3, maximum, and IQR) and a sorted list with the relevant value highlighted, so you can visually verify the result.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 - Test Score Percentile Rank
Class scores: 45, 52, 58, 63, 70, 75, 81, 88, 92, 97. Where does a score of 70 rank?
Example 2 - Height Percentile Rank
Heights in cm: 158, 162, 165, 167, 170, 172, 175, 178, 182, 190. What percentile is 172 cm?
Example 3 - Find Value at 75th Percentile
Dataset: 10, 20, 30, 40, 50, 60, 70, 80, 90, 100. What is the 75th percentile value?
Example 4 - Salary Distribution Q1 and Q3
Annual salaries (thousands): 32, 38, 42, 45, 48, 55, 62, 70, 85, 120. Find the 25th and 75th percentiles.
❓ Frequently Asked Questions
🔗 Related Calculators
What is a percentile and how is it different from a percentage?
A percentage is a ratio out of 100 applied to a single number (e.g. 75% of 200 = 150). A percentile is a positional measure in a dataset: the Nth percentile is the value below which N% of the data falls. Scoring 85% on a test means you answered 85% of questions correctly. Being at the 85th percentile means you scored higher than 85% of test-takers, regardless of the raw score.
What formula does this calculator use for percentile rank?
This calculator uses the midpoint formula: PR = ((B + 0.5 x E) / n) x 100, where B is the count of values strictly below the target, E is the count of values equal to the target, and n is the total sample size. This method places the target at the midpoint of its group and is recommended by most statistics textbooks because it handles ties gracefully.
How is the value at a percentile calculated?
The linear interpolation (inclusive) method sets index = (P/100) x (n-1) on the sorted array. If the index is an integer, that element is the answer. If not, the answer is interpolated between the floor and ceiling elements. For example, the 75th percentile of [1,2,3,4] gives index = 0.75 x 3 = 2.25, so value = 3 + 0.25 x (4-3) = 3.25. The nearest rank method instead takes the element at position ceil(P/100 x n).
What is the difference between inclusive and exclusive percentile methods?
The inclusive method (PERCENTILE.INC, used by Excel by default) can return the minimum at P=0 and the maximum at P=100. The exclusive method (PERCENTILE.EXC) excludes the endpoints and is undefined at P=0 and P=100. For most educational and practical purposes, the inclusive method is preferred. This calculator uses the inclusive interpolation method as the primary result.
What are quartiles and how do they relate to percentiles?
Quartiles are special percentile positions that divide sorted data into four equal parts. Q1 is the 25th percentile (lower quartile), Q2 is the 50th percentile (median), and Q3 is the 75th percentile (upper quartile). The IQR (interquartile range) is Q3 minus Q1 and represents the spread of the middle 50% of values. Box plots use the five-number summary: min, Q1, Q2, Q3, max.
How do I interpret a percentile rank?
A percentile rank of 70 means the value is higher than 70% of the data points. It does not mean the value scored 70% on anything. In standardised testing, a score at the 99th percentile is extremely high even if the raw score was, say, 75 out of 100, because 99% of other test-takers scored lower. Percentile ranks are always between 0 and 100 and describe relative position, not absolute performance.
What is the five-number summary shown by this calculator?
The five-number summary consists of: minimum (0th percentile), Q1 (25th percentile), median (50th percentile), Q3 (75th percentile), and maximum (100th percentile). Together with the IQR, these six values fully describe the spread and centre of a dataset without being sensitive to outliers. They are the basis for box-and-whisker plots used in exploratory data analysis.
Can a value be at the 0th or 100th percentile?
By convention, the minimum value in a dataset is at the 0th percentile and the maximum is at the 100th percentile when using the inclusive method. However, many textbook definitions exclude the endpoints (since no value is below the minimum, it can be considered at 0%, and no value is above the maximum). This calculator uses the midpoint formula for percentile rank, so the minimum gets PR = 0.5/n x 100 and the maximum gets PR = (n - 0.5)/n x 100.
How are percentiles used in child growth charts?
The CDC and WHO publish height, weight, and head circumference percentile charts for children aged 0-20. A child at the 50th percentile is average for their age and sex. A child at the 95th percentile is taller or heavier than 95% of children their age and sex. These charts use smoothed reference data from large population studies, not simple rank-based percentiles, but the interpretation is the same: relative position within a reference population.
What is the interquartile range (IQR) used for?
The IQR measures the spread of the middle 50% of data and is a robust alternative to range and standard deviation when outliers are present. It is used for outlier detection via Tukey fences: values below Q1 - 1.5*IQR or above Q3 + 1.5*IQR are flagged as outliers. The IQR is also used in box plots to set the whisker length. Unlike standard deviation, the IQR is not affected by extreme values.
Is this calculator suitable for grouped data?
This calculator works with raw data values entered as a comma or space-separated list. For grouped data (class intervals with frequencies), percentiles are estimated from cumulative frequency tables using ogive interpolation. This calculator does not support grouped data directly. For grouped data analysis, use a cumulative frequency method or the Grouped Frequency mode in the Variance Calculator.