ToolHub

Statistics Calculator

Mean, median, mode, range, and standard deviation

10 valid numbers detected. Separate by commas, spaces, semicolons, or new lines.

Mean (average)

14.2

Median

14.5

Mode

15

Range

11

Count (n)10
Sum142
Minimum9
Maximum20
Standard deviation (sample)3.224903
Standard deviation (population)3.059412
Variance (sample)10.4
Variance (population)9.36

Sorted ascending

9111213141515151820

Overview

What this calculator gives you

Paste a list of numbers and get every common descriptive statistic at once: count, sum, mean, median, mode, range, minimum, maximum, variance, and standard deviation (both sample and population). It accepts numbers separated by commas, spaces, semicolons, or new lines, so you can paste straight from a spreadsheet column.

The three averages

Mean, median, and mode

"Average" is ambiguous — there are three, and they answer different questions.

Mean (arithmetic average)

Add every value and divide by the count. (2 + 4 + 9) / 3 = 5. The mean uses all the data but is sensitive to outliers — one huge value drags it up.

Median (the middle)

Sort the values; the median is the one in the middle (or the average of the two middle ones). It ignores how extreme the outliers are, which makes it the honest "typical value" for skewed data like income or house prices.

Mode (most frequent)

The value that appears most often. Useful for categorical or repeated data ("most common shoe size"). A dataset can have no mode, one mode, or several.

Reading skew

When mean and median diverge

If the mean is much higher than the median, the data is right-skewed — a few large values pull the average up. Classic example: in a room with 9 people earning $50k and one earning $5 million, the mean income is $545k but the median is $50k. The median tells the truer story of a "typical" person.

Report more than one

For any real dataset, look at the mean and median together. If they're close, the data is roughly symmetric. If they're far apart, you have skew or outliers, and the median is usually the better summary.

Measuring spread

Standard deviation and variance

The averages tell you the center. Standard deviation tells you how spread out the data is around that center.

  • Low standard deviation: values cluster tightly near the mean
  • High standard deviation: values are widely scattered
  • Variance is the standard deviation squared — same information, different units

For a bell-shaped (normal) distribution, about 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three. This is the "68-95-99.7 rule".

The n vs n−1 question

Sample vs population standard deviation

This trips up students constantly. There are two formulas:

Population (divide by n)

Use this when your data IS the entire group you care about — every student in a class, every product in a batch. You have the whole population.

Sample (divide by n−1)

Use this when your data is a SAMPLE drawn from a larger population you're trying to estimate. Dividing by n−1 (Bessel's correction) compensates for the fact that a sample tends to underestimate the true spread. This is the more common real-world case, so when in doubt, use the sample value.

Who needs this

Common uses

Students

Homework and exam prep for statistics, algebra, and science courses. See every step's result at once.

Teachers

Summarize class test scores: mean for the average, median for the typical student, standard deviation for the spread.

Researchers

Quick descriptive statistics before running deeper analysis. Sample standard deviation for inferential work.

Analysts

Summarize a column of metrics — response times, sales figures, survey scores — without opening a spreadsheet.

Quality control

Monitor consistency. A rising standard deviation in measurements signals a process drifting out of control.

Sports & fitness

Average pace, most common rep count, the spread in your lap times across a season.

Behind the scenes

Privacy and how it runs

Runs in your browser

Your data never leaves your device. All statistics are computed locally and instantly, even for large lists.

Common questions

How do I calculate the mean?

Add all the numbers, then divide by how many there are. For 5, 10, 15: sum is 30, count is 3, mean is 10. The calculator does this and shows the sum and count separately.

What if my data has two modes?

That's bimodal data — both modes are listed. If three or more values tie for most frequent, all are shown. If every value is unique, there's no mode.

Why is my standard deviation different from another tool?

Almost always sample vs population. We show both. If another tool gives a slightly larger number, it's probably using the sample formula (n−1); a slightly smaller one uses population (n).

Can I paste data from Excel or Google Sheets?

Yes. Copy a column and paste it in — the new-line separation is handled automatically. Mixed separators (commas and spaces and line breaks together) also work.

What's the range?

The difference between the largest and smallest value: max minus min. It's the simplest measure of spread, though it only uses two data points so it's sensitive to outliers.

Related calculators

Other math and data tools that pair with statistics.

Last reviewed: · Methodology based on US building code standards, contractor pricing surveys, and manufacturer specifications.

Quick steps

1

Paste your numbers

Separate them with commas, spaces, semicolons, or new lines. The tool ignores anything that isn't a number.

2

Read the headline stats

Mean, median, mode, and range appear first. The full table below adds standard deviation, variance, and more.

3

Copy the results

One click copies every statistic as plain text for a report or homework.

Frequently asked questions

What's the difference between mean, median, and mode?

Mean is the average (sum divided by count). Median is the middle value when sorted. Mode is the most frequent value. They can differ a lot in skewed data: incomes have a high mean but lower median because a few large values pull the average up.

Which average should I use?

Mean for symmetric data without outliers. Median when there are outliers or skew (house prices, salaries). Mode for categorical or most-common-value questions. Reporting all three gives the fullest picture.

What's the difference between sample and population standard deviation?

Population standard deviation divides by n (you have every data point). Sample standard deviation divides by n−1 (you have a sample and are estimating the whole population). Use sample (n−1) when your data is a subset, which is most real-world cases.

What does standard deviation tell me?

It measures spread. A low standard deviation means values cluster near the mean; a high one means they're spread out. For a normal distribution, about 68% of values fall within one standard deviation of the mean.

What if there's no mode?

If every value appears exactly once, there's no mode — the tool shows 'none'. If several values tie for most frequent, the data is multi-modal and all modes are listed.

How is the median found for an even count?

With an even number of values, the median is the average of the two middle values after sorting. For 4, 7, 9, 12 the median is (7+9)/2 = 8.