Average Calculator

How to use the average calculator

  1. Type or paste your numbers into the box. They can be separated by commas, spaces, semicolons or line breaks, so you can copy a column straight from a spreadsheet.
  2. The mean appears instantly, along with the median, mode, range, minimum, maximum, count, sum, geometric and harmonic means, standard deviations and variances.
  3. For values that should count unequally, open the Weighted average tab and enter each value with its weight.

Mean vs median vs mode

“Average” usually means the arithmetic mean, but the median and mode are averages too. Each describes the centre of the data in a different way:

MeasureHow to find itBest used when
MeanSum of values ÷ number of valuesData is fairly symmetric with no extreme outliers (test scores, heights)
MedianMiddle value of the sorted list (average of the two middle values if the count is even)Data is skewed or has outliers (house prices, incomes)
ModeMost frequent valueCategories or repeated values (shoe sizes, most common answer)

Outliers pull the mean towards them but barely move the median. If five people earn 30, 32, 35, 38 and 40 thousand, the mean and median are both 35 thousand. Replace the top salary with 400 thousand and the mean jumps to 107 thousand while the median stays at 35 thousand — a far better picture of a “typical” salary.

Formulas

Mean x̄ = (x₁ + x₂ + … + xₙ) ÷ n Population SD σ = √( Σ(xᵢ − x̄)² ÷ n ) Sample SD s = √( Σ(xᵢ − x̄)² ÷ (n − 1) ) Geometric mean = (x₁ × x₂ × … × xₙ)^(1/n) (all values > 0) Weighted mean = Σ(wᵢ × xᵢ) ÷ Σwᵢ

Worked example

Take the eight default values 12, 15, 11, 15, 18, 20, 15, 11. Sorted they are 11, 11, 12, 15, 15, 15, 18, 20.

Weighted average example

A course grade is made up of an assignment worth 20% (score 85), a project worth 30% (score 90) and an exam worth 50% (score 78). The weighted average is (85 × 20 + 90 × 30 + 78 × 50) ÷ (20 + 30 + 50) = 8,300 ÷ 100 = 83, whereas the simple mean of the three scores would be 84.33. The heavily weighted exam pulls the result down. For school grades, the grade calculator and GPA calculator apply the same idea.

Geometric and harmonic means

The geometric mean is the right average for growth rates and ratios: returns of +10% and −10% are growth factors 1.1 and 0.9, whose geometric mean √(1.1 × 0.9) ≈ 0.99499 shows an average loss of about 0.5% per period. The harmonic mean suits rates such as speeds — driving equal distances at 40 and 60 km/h averages 48 km/h, not 50.

Average Calculator by AllOnlineCalcs