Inverse-Variance Weighted Mean Calculator
Combine independent results of the same measurand with the GUM H.3 inverse-variance weighted mean. Runs locally. Not combined RSS, not Type A u_A, and not GUM propagate.
Trust summary Engine tested · Source checked · 8/8 tests · Production surface contract 4/4 · v1.0.0
- Input interpretation
- Enter values to calculate.
- Result
- —
- Model
- GUM H.3 inverse-variance weighted mean and its standard uncertainty.
- Scope
- JCGM 100:2008 H.3 inverse-variance weighted mean of independent uncorrelated results of the same measurand
- Verification
- Engine tested · 8/8 tests · Production surface contract 4/4 · Source checked · v1.0.0
- Named expert review
- Optional · Not performed
- Sources
- JCGM 100:2008 — Evaluation of measurement data — Guide to the expression of uncertainty in measurement (GUM)
- JCGM 100:2008 — Combined standard uncertainty (RSS of a measurement model)
- Evidence
- 5 boundary · 3 property · Production surface contract 4/4 · Artifact integrity PASS
- Production
- Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status STALE (1 capability; 156 remain CURRENT) @ 2026-09-14T03:54:53.650Z
- Semantic contract
- PASS
Formulas
Core equations used by this calculator.
How to use
Enter x_i
Comma-separated independent results of the same quantity. JSON arrays also work.
Enter u_i
Same length. Each standard uncertainty must be greater than zero.
Read x̄_w and u_w
When all u_i are equal, x_w is the arithmetic mean. u_w is not the RSS of the u_i. Combine a measurement model on Uncertainty propagate.
Example calculations
Common configurations with formula and result.
Equal weights
x=[2,4,6,8] · u=[1,1,1,1]
Single result
x=[5] · u=[2]
Inverse-Variance Weighted Mean calculator specification
Version 1.0.0 · Engine tested
- Engine tested 8/8 tests · Production surface contract 4/4
- Named expert review Not performed
- Calculation version 1.0.0
- Definition
- For independent uncorrelated results x_i of the same measurand with standard uncertainties u_i > 0, x_w = Σ(x_i/u_i²)/Σ(1/u_i²) and u_w = 1/√Σ(1/u_i²).
- What it calculates
- GUM H.3 inverse-variance weighted mean and its standard uncertainty.
- Inputs
- x
- u
- Outputs
- x_w
- u_w
- chi2
- nu
- birge
- n
- Formula
x_w=Σ(x_i/u_i²)/Σ(1/u_i²); u_w=1/√Σ(1/u_i²)- Assumptions
- JCGM 100:2008 H.3 inverse-variance weighted mean of independent uncorrelated results of the same measurand
- Each u_i is a standard uncertainty greater than zero
- Not combined RSS, not Type A u_A = s/√n, and not GUM propagate
- χ² / Birge are diagnostics, not a pass/fail
- Units
- same as x; u_w same unit as u_i; χ² and Birge dimensionless
- Boundary conditions
- missing x or u → MISSING_REQUIRED_INPUT
- length mismatch → INVALID_INPUT
- any u_i ≤ 0 → VALUE_MUST_BE_POSITIVE
- Example
- x=[2,4,6,8] u=[1,1,1,1] → x_w=5 u_w=0.5
- Validation cases
3 published on this page · 8/8 tests · Production surface contract 4/4 · View evidence
- x=[2,4,6,8] u=[1,1,1,1] → x_w=5 u_w=0.5
- x=[5] u=[2] → x_w=5 u_w=2
- x=[2,4] u=[1,0] → VALUE_MUST_BE_POSITIVE
- Sources
- JCGM 100:2008 — Evaluation of measurement data — Guide to the expression of uncertainty in measurement (GUM) — H.3 Measurements sampled from a distribution: weighted meanSupports: x_w = Σ(x_i/u²(x_i))/Σ(1/u²(x_i)); u²(x_w) = 1/Σ(1/u²(x_i)) for independent uncorrelated results of the same measurand
- JCGM 100:2008 — Combined standard uncertainty (RSS of a measurement model) — 5.1.2 uncorrelated input quantitiesSupports: RSS u_c = √Σ (c_i u_i)² is a different contract; this page does not combine a measurement model
- JCGM 100:2008 — Evaluation of measurement data — Guide to the expression of uncertainty in measurement (GUM) — H.3 Measurements sampled from a distribution: weighted mean
- Calculation version
- 1.0.0
Background
Interpretation and common distinctions.
Compute the GUM H.3 inverse-variance weighted mean of independent results of the same measurand.
Supported and not supported
Supported — x_w and u_w from paired x_i, u_i · χ² diagnostic · API engineering.uncertainty.weighted_mean
Not supported — combined RSS as a product, Type A u_A = s/√n, GUM propagate of a model, U = k·u_w as a product, Birge pass/fail
Agent / API notes
Capability id: engineering.uncertainty.weighted_mean · tool id: weighted-mean · pin 1.0.0.
{ "x": [2, 4, 6, 8], "u": [1, 1, 1, 1] }
Aliases: X / values for x; u_i / ux for u. Errors: MISSING_REQUIRED_INPUT, INVALID_NUMBER, VALUE_MUST_BE_POSITIVE, INVALID_INPUT.
Calculator URL stays /calc/engineering/weighted-mean. There is no /calc/metrology.
Related tools
Other calculators in this family: Type A uncertainty, Type B uncertainty, Welch–Satterthwaite ν_eff, Coverage factor k, Uncertainty propagate, Tolerance / Uncertainty Workspace .
Frequently asked questions
Key distinctions behind the calculation.
Is this the same as combined RSS?
No. RSS combines standard uncertainties of a sum or measurement model: u_c = √Σ u_i². This page averages independent results of the same measurand. Equal u_i = 1 on four results gives u_w = 0.5, while RSS of those u_i is 2.
Is this Type A uncertainty?
No. Type A takes repeats without individual u_i and reports u_A = s/√n. This page requires a standard uncertainty on each result.
Is χ² a pass/fail?
No. χ² and the Birge ratio √(χ²/ν) are diagnostics. This page does not issue a consistency verdict.
Where does this run?
Locally in the browser by default. REST and MCP call the same metrology-engine weighted_mean op.