standarddeviationcalculator.net

Average calculator

Paste or type your numbers to get the average, with the sum and the count that produced it. The median, mode and standard deviation of the same data are shown underneath — because the average on its own rarely tells the whole story.

Separate values with commas, spaces, tabs or new lines — paste a column straight from a spreadsheet and it will parse. Decimals and negatives are fine.

Treat the data as
Mean (average) 18
Count (n)6
Mean (x̄)18
Standard deviation13.4907
ModeNo mode (all values appear once)
Variance182
Sum108
Σ(x − x̄)²910
Standard error5.50757
Coefficient of variation0.749485
Relative SD (%RSD)74.9485%
Minimum4
Maximum42
Range38
Median (Q2)15.5
Q19.75
Q321.25
IQR11.5
x̄ = 18 −1σ +1σ -22.47 58.47

The shaded bands are one, two and three standard deviations either side of the mean. 4 of 6 values — 67% — fall inside the innermost band.

Show the working, step by step

The formula

The arithmetic mean is the sum of the values divided by how many there are:

x̄ = Σx ÷ n

Σx is the sum of every value, n is the count, and ("x-bar") is the conventional symbol for a sample mean. A population mean is written μ ("mu"). The arithmetic is identical — the symbol only records whether the numbers are all of the group or a sample drawn from it.

A worked example

Six delivery times, in minutes: 4, 8, 15, 16, 23, 42.

Now look at the data again. Only two of the six deliveries took longer than 18 minutes, and the 42 is doing most of the work. The median is 15.5 — a better description of a typical delivery. Neither number is wrong; they answer different questions.

Why the average alone is not enough

Two datasets can share an average and behave completely differently:

DataMeanStandard deviation
50, 50, 50, 50500
48, 49, 51, 52501.83
0, 25, 75, 1005043.3

All three average 50. The third is wildly inconsistent and the first is perfectly uniform, and the average cannot tell them apart. This is why an average is normally quoted with a standard deviation beside it: one says where the data sits, the other says how tightly it clusters there.

Averages that are not the mean

The arithmetic mean is the right tool for most measurements, but not all:

Averaging averages

A common and expensive mistake. If one class of 10 students averages 80 and another of 30 averages 60, the overall average is not 70. It is:

(10 × 80 + 30 × 60) ÷ 40 = 2600 ÷ 40 = 65

Averaging the two averages treats the small class as though it were the same size as the large one. Averages can only be combined if you weight each by its own count — which is what a weighted average does.

Common questions

What is the average of a set of numbers?

In ordinary use "average" means the arithmetic mean: add every value and divide by how many there are. For 4, 8, 15, 16, 23, 42 the sum is 108 and the count is 6, so the mean is 108 ÷ 6 = 18.

Strictly, "average" is a looser word than "mean" — the median and the mode are averages too. When a number is labelled "the average" with no qualifier, it is almost always the arithmetic mean.

How do I calculate an average by hand?

Three steps: add the values to get the sum, count how many values there are, then divide the sum by the count. The only common mistakes are miscounting, and forgetting that repeated values each count separately — in 7, 7, 9 the count is 3, not 2.

When is the average misleading?

Whenever the data is skewed or holds outliers. The mean uses every value in full, so one extreme number drags it. Nine salaries of about 45,000 alongside one of 480,000 give a mean of roughly 88,500 — higher than nine of the ten people actually earn. The median is the honest summary in that situation.

A quick test: compare the mean and the median. If they are far apart, the data is skewed and the mean alone will mislead.

What is the difference between the mean, the median and the mode?

The mean is the sum over the count. The median is the middle value once sorted. The mode is the most frequent value. On symmetric data all three land close together; on skewed data they separate, and the gap between them is itself informative. The mean, median and mode calculator reports all three at once.

Does the average tell me everything about my data?

No — and this is the single most useful thing to know about averages. The sets 50, 50, 50 and 0, 50, 100 have the same mean of 50 and could not be more different. The average locates the data; it says nothing about how spread out it is. That is what the standard deviation measures, and why the two are almost always reported together.

What is a weighted average?

One where some values count for more than others — course credits, portfolio holdings, or class sizes. Multiply each value by its weight, add those products, then divide by the sum of the weights rather than by the count. A plain average of the same numbers gives a different, and usually wrong, answer.

Related calculators

Written and reviewed by our editorial team. Last updated . Method and sources: how these numbers are computed.