Average Calculator

Enter numbers separated by commas to find the mean, median, and weighted average instantly. See the complete solution with step-by-step working and formula explanations.

Enter numbers separated by commas

Used in Weighted Mean mode only

Enter your values above to see the results.

Tips & Notes

  • Median is resistant to outliers. Data [2,3,4,5,100] has mean=22.8 but median=4.
  • For weighted average, weights must sum to 100%. GPA: multiply grade points by credit hours, then divide by total credits.
  • Adding a constant to every value shifts the mean by that constant. Multiplying every value by k multiplies the mean by k.
  • If you know the mean and count, find a missing value: mean=10, count=5, sum=50. If 4 values sum to 43, missing = 7.
  • Mean of consecutive integers 1 to n = (n+1)/2. Mean of 1 to 100 = 50.5.

Common Mistakes

  • Forgetting to sort before finding the median — median of [9,3,7,1,5] is 5 not 7.
  • For even-count data, averaging the two middle values: median of [2,4,6,8] is (4+6)/2 = 5, not 4.
  • Using unequal weights that do not sum to 100% — produces a meaningless weighted average.
  • Counting zeros as no data. Mean of [0,0,5,10,15] = 30/5 = 6, not 30/3 = 10.
  • Assuming mean equals median. For skewed data they differ significantly.

Average Calculator Overview

The average (or mean) summarizes a dataset with a single representative value, giving you the "center of gravity" of the numbers. But average is actually a family of related statistics — arithmetic mean, median, mode, geometric mean, and weighted mean all capture different aspects of centrality, and choosing the right one determines whether your summary accurately represents the data or misleads. This calculator computes all standard averages and explains when each is appropriate.

Arithmetic Mean — the standard average:

Mean = Sum of all values / Count of values
EX: [4, 7, 13, 2, 9] → Sum=35, Count=5 → Mean = 35/5 = 7
Median — the middle value when sorted, resistant to outliers:
EX (odd count): Sorted [2,4,7,9,13] → middle = 7 | EX (even count): [3,7,8,14] → (7+8)/2 = 7.5
Mode — the most frequently occurring value:
EX: [3,5,5,7,9,5] → Mode = 5 (appears 3 times) | [2,3,4,5] → No mode (all unique)
Weighted Mean — each value multiplied by its importance weight:
Weighted Mean = Σ(value × weight) / Σ(weights)
EX: Exam 88 (weight 40%) + Quiz 94 (weight 30%) + HW 76 (weight 30%) → (88×0.4)+(94×0.3)+(76×0.3) = 35.2+28.2+22.8 = 86.2
Geometric Mean — for rates and ratios, multiplicative growth:
EX: Investment returned +20%, +50%, −10% over 3 years → Geometric mean = ∛(1.20×1.50×0.90) = ∛1.62 ≈ 1.174 → 17.4% average annual return (arithmetic mean would give 20%, which is wrong)
Choosing the right average matters — the wrong measure can mislead rather than inform. The mean is appropriate for symmetric data without extreme outliers, making it suitable for most normally distributed variables. The median is better when the data is skewed or contains outliers, as it reports the actual middle value regardless of extremes — household income and home prices are always reported as medians for this reason. The mode applies to categorical data or to identifying the most common value in a discrete dataset. Geometric mean is the correct choice when comparing growth rates, ratios, or values that multiply over time — using arithmetic mean on percentage returns produces systematically optimistic results. When in doubt, report both mean and median; a large gap between them signals that the distribution is skewed and the median is more representative.

Frequently Asked Questions

Mean is the sum divided by count; it uses every value equally. Median is the middle value when sorted; it ignores extremes. For symmetric data without outliers, they are similar. For skewed data — income, home prices, hospital wait times — the median better represents the typical value. Example: incomes [30k, 35k, 40k, 500k] → mean = 151k (inflated by one outlier), median = 37.5k (typical income). Always check both before choosing which to report.

Use weighted average when observations have different levels of importance. GPA weights each course by credit hours — a 4-credit course matters four times as much as a 1-credit course. Investment portfolio returns weight each asset by its dollar allocation. Survey results sometimes weight responses by demographic group size. A simple average treats all values equally, which misrepresents the true average when contributions are unequal in importance or size.

Yes — data can have multiple modes. [2, 3, 3, 5, 5, 7] has two modes: 3 and 5 (bimodal). If every value appears the same number of times, there is no mode. Mode is most meaningful for categorical or discrete data: most popular shoe size, most common blood type, most frequent response on a survey. For continuous measurements where every value is unique, mode is rarely informative and usually does not exist.

Multiply each value by its frequency, sum all products, then divide by total frequency. Example: values [10, 20, 30] with frequencies [3, 5, 2]: sum = (10×3) + (20×5) + (30×2) = 30 + 100 + 60 = 190. Total count = 3 + 5 + 2 = 10. Mean = 190 ÷ 10 = 19. This is the standard method for grouped data — you cannot simply average 10, 20, and 30 because the groups have different sizes.

Population mean (μ) uses all data points and is the true average of the entire group. Sample mean (x̄) uses a subset drawn from the population and estimates μ. Both use the same formula (Σx/n), but sample mean has uncertainty — different samples give slightly different results. Standard error (SE = s/√n) quantifies this uncertainty. As sample size increases, the sample mean converges toward the population mean and SE shrinks.

The mean uses every value equally, so extreme values pull it strongly in their direction. Example: data [5, 6, 7, 8] has mean = 6.5. Adding one outlier: [5, 6, 7, 8, 1000] has mean = 205.2 — a 31× increase from adding one value. The median of the same data shifts from 6.5 to 7 — barely affected. This sensitivity to outliers is why economists report median household income rather than mean income, and why median home prices are more informative than average home prices.