Home › Calculators › Percentile Calculator

Percentile Calculator

Paste a list of numbers to get the value at any percentile, the percentile rank of a score, the quartiles and the interquartile range. Choose the same method as Excel, Google Sheets or your textbook.

Last updated:

Numbers separated by commas, spaces or new lines. You can paste a spreadsheet column.

th
Enter your values to see the result.
Advertisement
Advertisement

How to use the Percentile Calculator

  1. Paste your numbers, separated by commas, spaces or new lines.
  2. Enter the percentile you want, for example 90.
  3. Optionally enter a score to find its percentile rank.
  4. Pick a method to match Excel, your textbook or your software.
  5. Read the result, the quartiles, IQR, box plot and the full percentile table.

Percentile formulas

Sort the n values from smallest to largest, x₍₁₎ ≤ x₍₂₎ ≤ … ≤ x₍ₙ₎, then find the rank position r for percentile p:

  • Inclusive / linear (Excel PERCENTILE.INC, Google Sheets PERCENTILE, R type 7): r = p/100 × (n − 1) + 1
  • Exclusive (Excel PERCENTILE.EXC, R type 6): r = p/100 × (n + 1)
  • Nearest rank: r = ⌈p/100 × n⌉, take that value directly

If r has a fractional part f, the percentile is x₍⌊r⌋₎ + f × (x₍⌊r⌋+1₎ − x₍⌊r⌋₎). Example with 1, 2, …, 10 and p = 25 (inclusive): r = 0.25 × 9 + 1 = 3.25, so P25 = 3 + 0.25 × (4 − 3) = 3.25.

Percentile rank of a score x: PR = (number below x + 0.5 × number equal to x) / n × 100.

Same data, different methods

Data: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (n = 10).

PercentileInclusive (INC)Exclusive (EXC)Nearest rank
10th1.91.11
25th (Q1)3.252.753
50th (median)5.55.55
75th (Q3)7.758.258
90th9.19.99

Frequently asked questions

What is a percentile?

The pth percentile is the value below which about p% of the data falls. The 90th percentile of test scores is the score that 90% of students scored at or below.

How do you calculate a percentile?

Sort the data, then find the rank position. With the inclusive (Excel PERCENTILE.INC) method the rank is p/100 × (n − 1) + 1. If the rank is not a whole number, interpolate between the two neighbouring values.

What is the difference between a percentile and a percentile rank?

A percentile is a value in the data (the 90th percentile is 72). A percentile rank is the percentage of values below a given score (a score of 72 has a percentile rank of about 90%).

How is percentile rank calculated?

This calculator uses PR = (B + 0.5 × E) / n × 100, where B is the number of values below the score and E the number equal to it. It also shows the share strictly below and at or below.

Why do Excel's PERCENTILE.INC and PERCENTILE.EXC give different answers?

They use different rank formulas: INC uses p/100 × (n − 1) + 1 and EXC uses p/100 × (n + 1). EXC cannot compute very low or very high percentiles for small data sets. Both are valid conventions.

What are quartiles and the IQR?

Quartiles are the 25th (Q1), 50th (median) and 75th (Q3) percentiles. The interquartile range IQR = Q3 − Q1 covers the middle half of the data and is not affected by extreme values.

How are outliers found with the IQR?

A common rule, used in box plots, flags values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR as outliers.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Standard Deviation CalculatorStandard deviation, variance, mean, median, mode and quartiles.Average CalculatorMean, weighted average, median, sum, min and max of any list.Confidence Interval CalculatorConfidence interval and margin of error for a mean or a proportion, with steps.Grade Percentage CalculatorTurn points earned out of total into a percentage and letter grade, with a points-off grid.Box Plot MakerPaste data to draw box-and-whisker plots with quartiles, IQR and outliers. Download PNG or SVG.Empirical Rule Calculator68-95-99.7 rule ranges from a mean and standard deviation, with a shaded bell curve.Global Income Percentile CalculatorSee how your income per person compares with the whole world, adjusted for PPP.Net Worth Percentile CalculatorRank your US household net worth overall and by age with Federal Reserve survey data.Weighted Average CalculatorCalculate a weighted mean from values and weights, step by step.A/B Test Significance CalculatorCheck if your A/B test result is statistically significant.Z-Score CalculatorZ-score from a value, mean and SD, plus percentile and p-value; or the value from z.Probability CalculatorFind and, or, not, conditional and at-least-once probabilities from P(A) and P(B).Permutation and Combination CalculatorCalculate nPr and nCr, with or without repetition, as exact big numbers.Mean Median Mode CalculatorFind the mean, median, mode, range, min, max, sum and count of a list of numbers.Sample Size CalculatorHow many survey responses you need for a given confidence level and margin of error.Correlation Coefficient CalculatorPearson r and Spearman rank correlation with significance and interpretation.Average Order Value CalculatorAverage order value from revenue and orders, plus the revenue impact of raising AOV.Binomial Distribution CalculatorBinomial probabilities P(X = k), at most, at least or between, with mean, variance and chart.T-Test CalculatorOne-sample, two-sample (Welch/pooled) and paired t-tests with p-value and CI.Chi-Square CalculatorChi-square goodness-of-fit and independence tests with p-value and expected counts.P-Value CalculatorOne- or two-tailed p-values from z, t, chi-square or F statistics, with critical values.Variance CalculatorSample and population variance and standard deviation with a step-by-step deviations table.Five Number Summary CalculatorMin, Q1, median, Q3, max, IQR and fences of a data set, with a box plot.Geometric Mean CalculatorGeometric, harmonic, arithmetic and quadratic means compared, or average growth from % changes.Expected Value CalculatorExpected value, variance and standard deviation from outcomes and their probabilities.One-Way ANOVA CalculatorOne-way ANOVA for 2-10 groups: SS, df, MS, F statistic, p-value, effect size and full table.Bayes Theorem CalculatorPosterior P(A|B) from P(A), P(B|A) and P(B|not A), with a probability tree and table.Coefficient of Variation CalculatorCV % from a dataset (sample or population) with mean, SD and a two-dataset comparison.Critical Value CalculatorCritical values of z, t, chi-square and F for any alpha, tails and degrees of freedom.Dice Probability CalculatorOdds of rolling a sum (exactly, at least, at most) with any dice, plus the full distribution.Effect Size Calculator (Cohen's d)Cohen's d, Hedges' g and Glass's delta from two means, SDs and sample sizes, with CI.Frequency Table GeneratorMake a frequency, relative and cumulative frequency table from numbers or categories.Histogram MakerPaste numbers, choose bins and get a histogram, frequency table and PNG download.Margin of Error CalculatorSurvey margin of error from sample size, confidence and proportion, with population correction.Moving Average CalculatorSimple, exponential and weighted moving averages of a data series, with table and line chart.Odds Ratio and Relative Risk CalculatorOdds ratio, relative risk, risk difference, 95% CIs and p-values from a 2x2 table.Standard Error CalculatorStandard error of the mean from data or SD and n, plus SE of a proportion, with CIs.Descriptive Statistics CalculatorPaste data and get mean, median, mode, quartiles, SD, skewness, kurtosis and a histogram.T Distribution CalculatorStudent's t probabilities and critical values for any df, with the area shaded on the curve.T-Table (Student's t Distribution)Interactive t-table: critical t-values for any df and α, p-values, and a printable full table.Z-Test CalculatorOne-sample, two-sample and proportion z-tests with z, p-value, decision and shaded curve.Shannon Entropy CalculatorEntropy of text, data or probabilities in bits, nats or hartleys with a frequency table.Average Rate of Change CalculatorAverage rate of change of f(x), two points or a data table over [a, b], with the secant line.Binomial Expansion CalculatorExpand (a + b)^n with the binomial theorem: every term, Pascal coefficients and any specific term.Combinations GeneratorList every k-combination of your items, with or without repetition, and copy or export them.Covariance CalculatorSample and population covariance of paired X and Y data, with a step table and scatter plot.Grouped Data CalculatorMean, median, mode, variance and standard deviation from class intervals and frequencies.Inverse Normal Distribution CalculatorinvNorm: find the x or z value for a left, right, central or two-tail area, with a shaded curve.Permutations GeneratorList all permutations of letters, words or items, with k-permutations and repeats, and export them.Statistical Power CalculatorPower or required sample size for t-tests, proportions and correlations, with a power curve.
See all 52 Statistics & Probability Calculators →