Percentile Calculator

Linear interpolation • Nearest rank • value:count supported

Inputs

Separators: comma, space, newline, semicolon. Frequency format: value:count, where count must be a positive integer.
p %
If left blank, the calculator uses 50.
Linear interpolation can return an in-between value. Nearest rank always returns an observed data point.
Large datasets are previewed in compressed form.

Action

Updating…

Percentile formulas vary across textbooks and software; nearest rank and interpolation can return slightly different answers for the same dataset.

Use this Percentile Calculator to find a percentile value from a numeric dataset using either linear interpolation or the nearest-rank method.

Calculation Methods

Nearest rank:

Rank = ceiling[(p ÷ 100) × n]

The value at that position in the sorted dataset is the percentile value.

Linear interpolation:

Position = 1 + (p ÷ 100) × (n − 1)

If the position falls between two values, the calculator interpolates between them.

Example

For the dataset:

2, 4, 6, 8, 10

Find the 40th percentile.

Nearest rank: ceiling(0.40 × 5) = 2, so the result is 4.

Linear interpolation: Position = 1 + 0.40 × 4 = 2.6, giving 5.2.

Important Note

Different percentile methods can produce different answers for the same dataset. Use the method required by your class, software, or reporting standard.

Source

More of our calculators...

t-test Calculator

Use our T-Test Calculator to compute t statistic, p-value, confidence interval, and conclusion for one-sample, Welch, pooled, or paired t-tests.

IQ PERCENTILE CALCULATOR

Use our IQ Percentile Calculator to convert an IQ score into percentile rank, percent above, and percent below using SD 15 or SD 16 normal-distribution scales.

Z-score Calculator

Use our Z-Score Calculator to standardize a value or sample mean, convert percentile to z, convert z to percentile, and view left-tail and right-tail probabilities.

Median Calculator

Use our Median Calculator to find the middle value of any data set. Supports raw numbers, value:count input, sorted preview, and instant live results.

Power Analysis Calculator

Use our Power Analysis Calculator to estimate sample size per group, statistical power, and minimum detectable effect for a two-sample mean test with alpha and standard deviation.

Sample Size Calculator

Use our Sample Size Calculator to estimate sample size for a mean or proportion from confidence level, margin of error, and optional finite population correction.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.

Confidence Interval Calculator

Use our Confidence Interval Calculator to find confidence intervals for a mean or proportion with standard error, critical value, margin of error, and lower and upper bounds.

p-value Calculator

Use our P-value Calculator to calculate one-tailed or two-tailed p-values for Z, t, chi-square, and F test statistics.