Calculators
A statistics calculator that summarizes a whole data set in one click: mean, median, mode, range, variance, and standard deviation, each with the formula behind it.
Enter numbers separated by commas, then click Calculate.
Paste your data set, click Calculate. The statistics calculator form has one box, pre-filled with 2, 4, 4, 4, 5, 5, 7, 9 — and it returns seven rows at once.
Erase the default and paste your own list — 3 values or 300, the statistics calculator treats both the same. Decimals and negatives are fine; just separate values with commas. The two spread rows divide by because they use the sample formulas, the standard choice when your data is a sample rather than a full population (explained below).
This page is more than a static statistics calculator — it is also an AI tutor you can ask questions:
One number cannot summarize a data set — you need two kinds of summary. Measures of center say where the middle is. Measures of spread say how far the values scatter around that middle.
Measures of center:
Measures of spread:
Why both? Two classes can both average 75 while one's scores sit between 70 and 80 and the other's swing between 40 and 110. Same mean, wildly different consistency — and only the spread rows would show it. That is why the statistics calculator reports center and spread together: a mean next to a standard deviation tells a reader where the data sits and how tightly it clusters.
Five short formulas power every statistics calculator. For a data set with values:
Mean — add everything, divide by the count:
Median — sort the values. Odd count: take the middle one. Even count: average the two middle ones.
Mode — count frequencies; the value appearing most often wins. No repeats means no mode.
Range — nothing beyond subtraction: .
Sample variance and sample standard deviation:
One habit before trusting any row: estimate the mean by eye first. If the statistics calculator disagrees with your estimate, a value was probably mistyped.
The default data set is 2, 4, 4, 4, 5, 5, 7, 9. Here is the work behind each of the seven rows the statistics calculator returns:
Read the last two rows as one sentence: the typical value is about 5, and values typically sit about 2.1 away from 5. That is what a statistics calculator summary really says.
The statistics calculator labels its spread rows “sample, n−1” for a reason. Two versions of the formula exist:
If your data is the entire population — every value that exists — divide by and measure deviations from the population mean . If your data is a sample drawn from a larger group, divide by .
That adjustment is Bessel's correction, and the intuition is one sentence: a sample's deviations are measured around the sample's own mean , and no point sits closer to your sample than its own average — so the squared deviations come out slightly too small. Dividing by instead of nudges the estimate back up.
Rule of thumb: all five plants in a five-plant greenhouse → population, divide by . Five plants chosen from a field of hundreds → sample, divide by . When the distinction is unclear, statistics defaults to the sample version — exactly what this statistics calculator reports. The gap shrinks as grows; by the two barely differ.
Run your hand work through the statistics calculator above — each of these errors shows up instantly as a mismatched row.
A class recorded weekly study hours: 10, 12, 12, 16, 20. Find the mean, median, mode, and range of the data set. Check your answer with the statistics calculator above.
For the data set 1, 3, 5, 7, find the mean, the sample variance, and the sample standard deviation. Check your answer with the statistics calculator above.
All three measure the center. The mean is the sum divided by the count; the median is the middle value after sorting; the mode is the most frequent value. The statistics calculator above reports all three side by side, so you can watch an outlier pull the mean while the median holds steady.
Type your numbers separated by commas, like the prefilled 2, 4, 4, 4, 5, 5, 7, 9. Spaces around commas are fine, order does not matter, and decimals and negative numbers are allowed. Click Calculate and the statistics calculator returns all seven rows.
Use the sample version (divide by n − 1) whenever your data is a sample from a larger group — almost every classroom and lab case. Use the population version (divide by n) only when you have every value that exists. This statistics calculator reports the sample version.
Variance is the average squared distance from the mean — how far the values drift from center, measured in squared units. For 2, 4, 4, 4, 5, 5, 7, 9 the squared deviations sum to 32, and the sample variance is 32/7 ≈ 4.5714. Take its square root to return to the data's units: the standard deviation.
The range is the largest value minus the smallest: max − min. For 2, 4, 4, 4, 5, 5, 7, 9 that is 9 − 2 = 7. It is the quickest spread measure — the Range row of the statistics calculator — but it only sees the two extremes.