Math · FREE ONLINE TOOL

Average Calculator

Calculate the mean of a number list and compare it with the median, range and other measures of the dataset's spread.

Your inputs

Formula and input guidance

Dataset summary

Mean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.

The mean uses every value. The median is the middle of the sorted dataset. Sample variance corrects for estimating a population from a sample.

Separate numbers with commas, spaces, or new lines.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Mean
5
Median
4.5
Mode
4
Sample standard deviation
2.14
Sample variance
4.57
Population standard deviation
2
Population variance
4
Count
8
Sum
40
Minimum
2
Maximum
9
Range
7
Sum of squares
232
Geometric mean
4.6
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Average Calculator: an approximately equal sign; a bar chart and magnifying glass.
Dataset summaryMean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.
A useful distinction

Group averages need group sizes

Ten observations averaging 20 and thirty averaging 40 combine to a mean of 35, not 30. To use this unweighted list tool, enter the original observations rather than just the two group averages.

Combine two classes of different sizes

Class A
12 × 80
Class B
28 × 90
Result. A (Total score) → 3,480. B (Combined mean) → 87.
Combine two classes of different sizes
QuantityCalculationResult
A Total score12 × 80 + 28 × 903,480
B Combined mean3480 ÷ (12 + 28)87

Choosing what an average should describe

For the values 10, 12, 14, and 100, the sum is 136 and the arithmetic mean is 34. The median is 13, halfway between the two middle values after sorting. The large value of 100 pulls the mean upward, which is why reporting only the average can hide the shape of the data. Include each observation once and use consistent units. For course grades or other weighted observations, use a tool that accepts weights rather than treating every value equally.

Calculate the mean by keeping the total and count together

Enter one observation per number, separated by spaces, commas or new lines. The arithmetic mean is the total divided by the number of observations. Include a genuine zero as 0; omitting it changes both the count and the average. Do not insert commas inside a number: enter 1200 rather than 1,200, which would be read as two observations.

Worked example: compare a mean with its underlying observations

For the five values 6, 8, 8, 10 and 18, the sum is 50 and the count is 5, so the mean is 10. Sorting gives a median of 8, and 8 is also the mode. The mean is higher because the value 18 pulls the total upward.

If 18 was a valid observation, keeping it and reporting the median alongside the mean is different from deleting it. Investigate a possible data-entry error before deciding that a value should be excluded.

One dataset, several different summaries
SummaryCalculationResult
Mean50 ÷ 510
MedianMiddle sorted value8
ModeMost frequent value8
Range18 − 612

Combine group averages using group sizes

Suppose one group has 10 observations with mean 70 and another has 30 observations with mean 90. The combined mean is (10 × 70 + 30 × 90) ÷ 40 = 85. Averaging 70 and 90 to get 80 would give the groups equal weight despite their different sizes.

This page accepts raw observations rather than a separate frequency or weight column. Use the original observations when available; otherwise calculate the weighted total and total count explicitly. Do not enter a group mean several times unless that repetition correctly represents its weight.

Keep averages compatible with the question

An arithmetic mean describes additive quantities measured on the same scale. A geometric mean describes multiplicative factors when its domain is appropriate; it is not a replacement for the arithmetic mean of ordinary counts. The calculator also shows median and spread so that one number does not hide an uneven distribution.

A mean cannot repair a biased sample, mixed units or unequal time exposure. Convert measurements to one unit before entering them, and retain the count when reporting an average so readers know how much data it summarizes.

Dataset summary: formula and assumptions

Mean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.

The mean uses every value. The median is the middle of the sorted dataset. Sample variance corrects for estimating a population from a sample.

Use Dataset summary

Worked example

Using the Dataset summary example:

Inputs
Numbers
2, 4, 4, 4, 5, 5, 7, 9
Method

Mean = Σx / n; population variance = Σ(x − mean)² / n; sample variance uses n − 1.

Result

Example result

Mean: 5

Median: 4.5

Mode: 4

Sample standard deviation: 2.14

Sample variance: 4.57

Population standard deviation: 2

Population variance: 4

Count: 8

Sum: 40

Minimum: 2

Maximum: 9

Range: 7

Sum of squares: 232

Geometric mean: 4.6

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

Can one unusually large value change the average?

Yes. The mean uses every value, so an extreme value can shift it substantially. Comparing the median helps reveal that effect.

Is this a weighted average?

No. Each entered value contributes equally. A weighted mean requires explicit weights and a different calculation.

Should zero values be included in an average?

Include an observed zero. Leave out a missing observation only when that matches the data collection rule; replacing missing values with zero changes the result.

Why is the average different from the median?

The mean uses every magnitude, while the median depends on the sorted middle position. For 6, 8, 8, 10, 18, they are 10 and 8 respectively.

Can I average averages from groups of different sizes?

Weight each group mean by its observation count. Ten observations averaging 70 and thirty averaging 90 combine to 85, not 80.

Can I paste numbers with thousands separators?

Remove commas used inside individual numbers first. Commas separate observations in this input, so 1,200 would be interpreted as 1 and 200.

See our methodology and editorial policy.