331+ free tools. No sign-up. No hidden fees. Explore the toolkit

Statistics Calculator

Descriptive statistics turn a list of numbers into a summary you can actually read: the average, the middle value, the spread, and the shape of the data. Whether you are checking exam scores, survey results or experiment measurements, the same handful of figures tells you most of what you need to know. New to the subject? Start with our statistics basics guide.

Paste or type your numbers below and this calculator works out the count, mean, median, mode, range, quartiles and both sample and population standard deviation — each one clearly labelled so you never mix up n and n−1.

Decimals and negative numbers are fine. Up to 10,000 numbers.

Result

Save to Pinterest
Sample vs population: population standard deviation divides by n — use it when your list is the whole group. Sample standard deviation divides by n−1 — use it when your list is a sample of a larger group. Both are shown, clearly labelled, so you can pick the right one.

How It Works

Statistics starts with the centre. The mean is the ordinary average — add all the values and divide by how many there are. The median is the middle value when the list is sorted; if there are two middle values, it is their average. The mode is the value that appears most often. When the three disagree, the data is usually skewed — a few large values pull the mean up while the median stays put.

Then comes the spread. The range is the gap between the largest and smallest values. Variance is the average of the squared differences from the mean, and standard deviation is the square root of the variance, which puts the answer back into the original units. There are two versions: population variance divides the squared differences by n, and sample variance divides by n−1. The n−1 version — Bessel's correction — compensates for the fact that a sample's values cluster slightly tighter around their own mean than the full group's would. The sample value is always a little larger.

Quartiles split the sorted list into quarters. Q1 is the 25th percentile, Q2 is the median and Q3 is the 75th percentile; the interquartile range (IQR = Q3 − Q1) describes the spread of the middle half of the data and is much less sensitive to outliers than the range. This calculator finds quartiles by linear interpolation between neighbouring values — the method used by Excel's PERCENTILE.INC function and most statistics textbooks. The formulas are: mean x̄ = Σx / n; population variance σ² = Σ(x − x̄)² / n; sample variance s² = Σ(x − x̄)² / (n−1); standard deviation is the square root of the variance. Probability is the other half of statistics — the probability calculator works out the chance of single events, combinations and at-least-one outcomes. To measure how two lists move together, use the correlation calculator.

Worked Example

Take the list 2, 4, 4, 4, 5, 5, 7, 9. There are 8 values and they add up to 40, so the mean is 40 / 8 = 5. Sorted, the list is already in order; the two middle values are 4 and 5, so the median is (4 + 5) / 2 = 4.5. The value 4 appears three times, more than any other, so the mode is 4. The range is 9 − 2 = 7.

The squared differences from the mean of 5 are 9, 1, 1, 1, 0, 0, 4 and 16, totalling 32. Population variance is 32 / 8 = 4, so population SD is √4 = 2. Sample variance is 32 / 7 ≈ 4.5714, so sample SD is ≈ 2.1381. The sum of squares Σx² is 4 + 16 + 16 + 16 + 25 + 25 + 49 + 81 = 232. Quartiles by linear interpolation: Q1 = 4, Q3 = 5.5, so the IQR is 1.5.

Assumptions

Sources: No external data is used on this page — every figure is calculated from the numbers you enter. Last reviewed: 15 November 2026.

Built and tested by SumKitTool — see how we check our numbers.

How to Use This Calculator

Paste or type your numbers into the box — the results update live as you type. Separate values with commas, spaces or new lines; decimals and negative numbers are fine. The headline shows the mean and the sample standard deviation; the full table lists every statistic, with the sample and population versions labelled (n−1) and (n) so you can tell them apart at a glance. Use the Reset button to restore the example list.

Tips and Practical Advice

Frequently Asked Questions

What is the difference between sample and population standard deviation?

Population standard deviation divides the squared differences from the mean by n, the number of values. Sample standard deviation divides by n−1 instead. Use population when your list is the whole group you care about; use sample when it is a subset of a larger group. On the worked example above, the population SD is 2 and the sample SD is 2.1381.

When should I use the sample standard deviation?

Use the sample version (n−1) whenever your numbers are a sample drawn from a larger group — for example, test scores from one class out of a whole school, or survey answers from 200 customers. A sample usually underestimates the spread of the full group, so dividing by n−1 corrects that. If your list is the entire group, use the population version (n).

What are quartiles and the IQR?

Quartiles split a sorted list into four equal parts: Q1 is the 25th percentile, Q2 is the median (50th percentile) and Q3 is the 75th percentile. The interquartile range (IQR) is Q3 minus Q1, and it describes the spread of the middle half of the data. This calculator finds quartiles by linear interpolation, the method used by Excel's PERCENTILE.INC function.

What if my data has no mode?

The mode is the value that appears most often. If every value appears exactly once, there is no mode, and this calculator says so. If two or more values tie for the highest frequency, all of them are listed as modes.

Related hub: Math Calculators — browse all 64 math calculators in one place.

Last updated: