Advertisement
Advertisement

Statistics Calculator

Mean, median, mode, range and standard deviation from any list of numbers.

Separate numbers with commas, spaces or new lines. When you paste one number per line (like a spreadsheet column), thousands separators such as 1,234 are understood automatically.
—
Count
—
Sum
—
Mean (average)
—
Median
—
Mode
—
Range
—
Minimum
—
Maximum
—
Sample std. deviation (s)
—
Sample variance (s²)
—
Population std. deviation (σ)
—
Population variance (σ²)

How to use the Statistics Calculator

  1. Type or paste your numbers into the box, separated by commas, spaces or line breaks.
  2. All the results update instantly as you type.
  3. Use the sample standard deviation when your numbers are a sample from a bigger group, and the population version when they are the entire group.

How it's calculated

Mean = Σx ÷ n
Population variance σ² = Σ(x − mean)² ÷ n   |   σ = √σ²
Sample variance s² = Σ(x − mean)² ÷ (n − 1)   |   s = √s²

The median is the middle value once the numbers are sorted (or the average of the two middle values when the count is even). The mode is the value that appears most often. If every value appears only once, there is no mode.

What the results mean

Paste numbers separated by spaces, commas or lines and the calculator returns: count, sum, minimum, maximum, range, mean, median, mode, variance and standard deviation.

Choosing sample or population

In school problems, the wording usually says which to use. If you measured every member of the group, use population; if you measured some members to estimate the whole, use sample. A low standard deviation means values cluster near the mean, a high one means they are spread out. Check the data for typos, since one wrong digit can change the mean a lot.

Why mean and median differ

For the numbers 1, 2, 3, 4 and 100, the mean is 22 but the median is 3. One extreme value, called an outlier, pulls the mean up but barely moves the median, so the median is often a better picture of a typical value.

Sample or population

Standard deviation divides by n for a full population and n minus 1 for a sample taken from a larger group. If your data is a sample, such as a survey of some students out of a whole school, use the sample option.

Entering data correctly

Separate numbers with commas, spaces or new lines. If your numbers include thousands separators, such as 1,234, choose the matching option so the calculator does not read them as two numbers. Look at the count shown in the results to confirm all of your data was read.

Frequently asked questions

Sample or population standard deviation — which should I use?
Use the population version when your data includes every member of the group you care about (say, all 30 students in a class). Use the sample version when the data is a subset used to estimate a larger group. Most classes and surveys use the sample version.

Can there be more than one mode?
Yes. If two or more values tie for most frequent, all of them are listed.

How do I paste from Excel or Google Sheets?
Copy a column of cells and paste it straight into the box. Each line becomes one number.

Advertisement

You might also need