Weighted mean calculator
- Weighted mean
- 78.25
- Sample SD, reliability weights
- 10.780994
- Weighted standard deviation (÷ Σw)
- 8.488963
- Weighted standard deviation, frequency weights (÷ (Σw − 1))
- 8.531729
- Sum of weights
- 100
- Count (n)
- 3
Formula
x̄w = Σ(w × x) / Σw
Use a weighted mean to combine values with known non-negative relative weights.
Reference checks use frozen SciPy/NumPy constants and R datasets; they do not certify every input.
Combine values according to their relative contribution; the weighted mean is the primary result. (xᵢ, wᵢ ≥ 0) → x̄w = Σwᵢxᵢ / Σwᵢ.
How it is calculated
x̄w = Σ(w × x) / Σw
When to use and assumptions
- Use a weighted mean to combine values with known non-negative relative weights.
- wᵢ ≥ 0; Σw > 0
Demonstration inputs; results are computed at build time (UTC):
Worked example
- (xᵢ, wᵢ)
- (80, 20); (90, 30); (70.5, 50)
- Sum of weights
- 100
- Weighted mean
- 78.25
- xᵢ, wᵢ
- One pair per line: value, weight
- x̄w
- Weighted mean
- 1. Σw = 20 + 30 + 50 = 100
- 2. Σwx = 80 × 20 + 90 × 30 + 70.5 × 50 = 7825
- 3. x̄w = 7825/100 = 78.25
References: numpy.average. Reference versions: SciPy 1.17.1; NumPy 2.4.2. Checked: 2026-11-26.
Related calculators: Weighted standard deviation calculator · Sample size calculator