standarddeviationcalculator.net

Updated Free · runs in your browser

Statistics

Percentile calculator

Enter your data to get the 5th through 99th percentiles, the quartiles and the interquartile range, with a box plot showing where they fall.

Separate numbers with commas, spaces or new lines, or paste a spreadsheet column. Decimals and negatives are fine; write 10:3 for a value that occurs 3 times.

Try:

Median (50th percentile)

70.5

Count (n)12
5th percentile58.3
10th percentile61.2
25th percentile63.75
50th percentile70.5
75th percentile79
90th percentile84.7
95th percentile87.7
99th percentile90.34
IQR (P75 − P25)15.25
Mean71.8333
Standard deviation10.6415
55 Q1 63.75 med 70.5 Q3 79 91

The box spans the middle 50% of the data, from Q1 to Q3, with the median inside it. Whiskers reach the furthest values still within 1.5 IQR of the box, and no points fall outside them.

Show the working, step by step

How a percentile is calculated

Sort the data, then find the position (n − 1) × p where p is the percentile as a decimal. If that position falls between two observations, interpolate linearly between them.

position = (n − 1) × p Q(p) = x⌊pos⌋ + (pos − ⌊pos⌋) × (x⌈pos⌉ − x⌊pos⌋)

For 12 sorted values, the 75th percentile sits at position 11 × 0.75 = 8.25 — a quarter of the way between the 9th and 10th values counting from zero.

Standard deviations as percentiles

When data is roughly normal, each standard deviation from the mean corresponds to a fixed percentile. This is the table people are usually looking for:

Standard deviationsPercentileMeaning
−3σ0.1Bottom one in a thousand
−2σ2.3Bottom fortieth
−1σ15.9Bottom sixth
−0.674σ25First quartile
050The mean, and the median
+0.674σ75Third quartile
+1σ84.1Top sixth
+1.28σ90Top tenth
+1.645σ95Top twentieth
+2σ97.7Top fortieth
+3σ99.9Top one in a thousand

An IQ of 130 is two standard deviations above a mean of 100 with σ = 15, which puts it at the 97.7th percentile. To go the other way — from a value to its percentile — use the z-score calculator, which reports the percentile directly.

Every figure in that table assumes normality. On skewed data they can be badly wrong: for a right-skewed distribution, +1σ might be the 90th percentile rather than the 84th. The percentiles computed from your own data above carry no such assumption, which is why they are the safer answer when you have the raw numbers.

Percentile from a score, the mean and the standard deviation

When all you have is one score plus the group's mean and standard deviation — no raw data — convert the score to a z-score, then read the percentile off the normal distribution.

Example: a law graduate scores 108 on the bar exam, where the average is 132 and the standard deviation is 15.7.

z = (x − μ) ÷ σ = (108 − 132) ÷ 15.7 = −1.529 percentile = Φ(−1.529) = 0.0632 → about the 6th percentile

About 6.3% of test takers scored lower and 93.7% scored higher. The z-score calculator does both steps at once. The answer assumes scores are roughly normally distributed; if they are skewed, the percentile computed from the raw scores above is the one to trust.

Percentile rank versus percentile

They run in opposite directions, and mixing them up is the most common error here. A percentile takes a rank and returns a value: "what score is the 90th percentile?" A percentile rank takes a value and returns a rank: "what percentile is a score of 82?"

For the second question on your own data, rather than a normal curve, the percentile rank calculator counts how many values fall below a score and turns that into its rank.

Percentile calculator: the worked example on this page, with its result and chart
Percentile calculator: the worked example above, at a glance.

Common questions

What is a percentile?

The value below which a given percentage of the data falls. The 90th percentile is the value that 90% of observations sit below.

What is the difference between a percentile and a percentage?

A percentage is a score; a percentile is a rank. Scoring 80% on a test is a percentage. Being in the 80th percentile means you scored higher than 80% of the people who took it. On a hard test those two numbers can be very far apart.

How do I convert a standard deviation to a percentile?

Convert to a z-score first, then read the area below it on a normal curve. One standard deviation above the mean is the 84th percentile, two is the 97.7th, and one below is the 15.9th.

That conversion assumes the data is normally distributed. The percentiles this calculator reports from your actual data make no such assumption.

Why do percentile calculators disagree?

Because there are at least nine accepted definitions of a quantile. This site uses linear interpolation between order statistics — R's default type 7, and Excel's PERCENTILE.INC. PERCENTILE.EXC and Minitab use other rules. The differences shrink as n grows. Full detail here.

Can the median be a value not in my data?

Yes. With an even number of observations the median is the average of the middle two, which need not be an observed value. The same is true of most percentiles.