Average Calculator
Calculate mean, median, mode, range, sum, and weighted mean for any set of numbers. Just enter your values separated by commas.
How to Use
Enter your numbers in the text box, separated by commas, spaces, or semicolons. Enable the "weighted mean" option and enter corresponding weights to calculate a weighted average.
The Extended Calculator adds a distribution bar chart, trimmed mean with adjustable trim %, weighted average with contribution breakdown, and a running average tool. The Professional Calculator includes geometric/harmonic/RMS means, moving averages (SMA + EMA), and a box plot visualization.
Average Formulas
Arithmetic Mean: x̄ = (x₁ + x₂ + ... + xₙ) / n
Geometric Mean: G = (x₁ × x₂ × ... × xₙ)^(1/n)
Harmonic Mean: H = n / (1/x₁ + 1/x₂ + ... + 1/xₙ)
Weighted Mean: Σ(wᵢ × xᵢ) / Σwᵢ
Inequality: AM ≥ GM ≥ HM (for positive numbers)
Worked Example
Data: 3, 7, 7, 2, 9
Mean = (3+7+7+2+9)/5 = 5.6
Sorted: 2, 3, 7, 7, 9 → Median = 7
Mode = 7 (appears twice)
Weighted mean (grades: 70, 85, 60; credits: 2, 3, 1):
= (2×70 + 3×85 + 1×60) / 6 = 455/6 ≈ 75.8
| Mean Type | Formula | Best For |
|---|---|---|
| Arithmetic Mean (AM) | (Σx) / n | Most common average, equal weights |
| Geometric Mean (GM) | (x₁·x₂·...·xₙ)^(1/n) | Growth rates, ratios, percentages |
| Harmonic Mean (HM) | n / (Σ 1/xᵢ) | Rates, speeds, price-to-earnings ratios |
| Quadratic Mean (RMS) | √(Σx² / n) | AC circuits, signal processing |
| Cubic Mean | ∛(Σx³ / n) | Volume-related averages |