Math calculator

Average Calculator

Paste numbers separated by spaces, commas, tabs, or new lines. Get mean, median, mode, sum, count, standard deviation, range, RMS, geometric mean, and a quick distribution view.

Dataset

Enter data numbers

mean = sum / count

Enter at least one number.

Count6
Sum22
Median3.5
Mode2, 6
Population SD2.1344
Sample SD2.3381
Min value1
Max value6
Range5
Geometric mean3.2711
Root mean square4.2426
Sorted values1, 2, 2, 5, 6, 6

Average calculation steps

Average = Sum / Count = (1 + 2 + 5 + 2 + 6 + 6) / 6 = 22 / 6 = 3.6667.

Values graph

Distribution graph

Weighted average calculator

Enter one value and one weight per line. Example: grades with credit hours, prices with quantities, or scores with importance weights.

Weighted average78.3333470 / 6

Average formulas

StatisticFormulaMeaning
Average (mean)sum / countAdd all values and divide by how many values there are.
Medianmiddle sorted valueSort values and take the middle, or average the two middle values.
Modemost frequent valueThe value or values that appear most often.
Population SDsqrt(sum((x - mean)^2) / n)Spread when the data is the full population.
Sample SDsqrt(sum((x - mean)^2) / (n - 1))Spread when the data is a sample.
Weighted averagesum(value x weight) / sum(weight)Mean where some values count more than others.

Example

The average of 1, 2, and 5 is (1 + 2 + 5) / 3 = 2.6667. For 1, 2, 5, 2, 6, 6, the sum is 22 and the count is 6, so the average is 3.6667.

FAQ

What separators can I use?

You can use spaces, commas, semicolons, tabs, or line breaks. The calculator extracts valid numbers automatically.

Why are sample and population standard deviation different?

Sample standard deviation divides by n - 1 to estimate spread from a sample. Population standard deviation divides by n when the dataset is the complete population.

Can the geometric mean use negative numbers?

No. Geometric mean is only shown when every value is greater than zero.