HomeCalculatorsEngineeringInverse-Variance Weighted Mean Calculator
Engineering calculator

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.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
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
Sources
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.

Weighted meanx_w = Σ (x_i / u_i²) / Σ (1 / u_i²)
Uncertaintyu_w = 1 / √ Σ (1 / u_i²)
iχ² = Σ ((x_i − x_w)/u_i)² is a consistency diagnostic. This is not RSS of a measurement model and not Type A from repeats without individual u_i.

How to use

1

Enter x_i

Comma-separated independent results of the same quantity. JSON arrays also work.

2

Enter u_i

Same length. Each standard uncertainty must be greater than zero.

3

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]

x_w=5; u_w=1/2
x_w=5 · u_w=0.5
ϟ

Single result

x=[5] · u=[2]

x_w=5; u_w=2
x_w=5 · u_w=2

Inverse-Variance Weighted Mean calculator specification

Version 1.0.0 · Engine tested

Calculation status

Review policy · Evidence

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
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.

}

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.