Posted on — Leave a comment

Uncertainty Measurement Formula

Uncertainty Measurement Formula

Most people arriving here don’t want a lecture. They want the formula, the symbols explained, and a worked number to check their spreadsheet against.

So that’s what this page is — every uncertainty formula you’ll need, grouped by what it does, with a full formula sheet near the bottom you can screenshot.


The Two Formulas That Matter Most

If you only remember two, make it these.

Combined standard uncertainty

u꜀ = √(u₁² + u₂² + u₃² + … + uₙ²)

Expanded uncertainty

U = k × u꜀

Everything else on this page either feeds numbers into the first formula or interprets what comes out of the second.


Symbols Used in Uncertainty Formulas

Half the confusion with these formulas is notation. Here’s the key.

SymbolMeaning
x̄Mean of your readings
sSample standard deviation
nNumber of readings taken
uStandard uncertainty of one source
u(xᵢ)Standard uncertainty of input quantity i
u꜀Combined standard uncertainty
UExpanded uncertainty
kCoverage factor (usually 2)
cᵢSensitivity coefficient for input i
aHalf-width of a rectangular distribution
νDegrees of freedom
ν_effEffective degrees of freedom
αCoefficient of thermal expansion

One convention worth noting: lower-case u is always a standard uncertainty (roughly 68% confidence). Upper-case U is always expanded (roughly 95%). Mixing them up is the most common notation error in the whole subject.


Formula for Type A Uncertainty

Type A uncertainty is calculated statistically, from repeated readings.

Mean:

x̄ = (x₁ + x₂ + … + xₙ) ÷ n

Sample standard deviation:

s = √[ Σ(xᵢ − x̄)² ÷ (n − 1) ]

Type A standard uncertainty:

u_A = s ÷ √n

The divisor in the standard deviation formula is n − 1, not n. In Excel that means STDEV.S, not STDEV.P. With small samples the difference is significant and it always makes your uncertainty look smaller than it really is.

The √n in the last step is there because you’re reporting the mean of your readings, not any single one, and a mean is more reliable than an individual measurement.


Formula for Type B Uncertainty

Type B uncertainty comes from certificates, specifications and published data rather than from repeating the measurement. Each source is converted to a standard uncertainty by dividing by a factor that depends on its assumed distribution.

General form:

u_B = a ÷ divisor

Where a is the half-width of the interval.

Source of the numberDistributionFormula
Certificate stating k = 2Normalu = U ÷ 2
Certificate stating k = 3Normalu = U ÷ 3
Resolution of an instrumentRectangularu = a ÷ √3
Manufacturer’s ± limitsRectangularu = a ÷ √3
Temperature between two limitsRectangularu = a ÷ √3
Value most likely near the centreTriangularu = a ÷ √6
Value most likely near the extremesU-shapedu = a ÷ √2

Resolution specifically:

u = (resolution ÷ 2) ÷ √3 = resolution ÷ (2√3) ≈ resolution × 0.289

That shortcut is worth memorising. A 0.01 mm resolution gives 0.01 × 0.289 = 0.0029 mm.

When you have limits and nothing else, use rectangular. It’s the conservative assumption and the one the GUM recommends by default.


Formula for Sensitivity Coefficients

A sensitivity coefficient converts an input’s uncertainty into the units of your result, and scales it by how strongly it affects the outcome.

General form:

cᵢ = ∂f / ∂xᵢ

That’s the partial derivative of your measurement equation with respect to that input. In practice you rarely differentiate anything:

  • Direct measurements (micrometer on a shaft): c = 1
  • Thermal expansion: c = L × α
  • A quantity that appears squared: c effectively doubles its relative contribution

Thermal example:

c = L × α = 25 mm × 11.5 × 10⁻⁶ /°C = 0.000288 mm/°C

Contribution to the budget:

uᵢ(y) = cᵢ × u(xᵢ)


Formula for Combined Standard Uncertainty

Once every source is a standard uncertainty in the same units, combine them.

Simple form (all sensitivity coefficients = 1):

u꜀ = √(u₁² + u₂² + … + uₙ²)

With sensitivity coefficients:

u꜀ = √[ Σ (cᵢ · u(xᵢ))² ]

Full GUM law of propagation:

u꜀²(y) = Σ (∂f/∂xᵢ)² · u²(xᵢ)

All three say the same thing at increasing levels of formality: square each contribution, add the squares, take the square root.

This is called adding in quadrature. Straight addition would assume every source goes wrong in the same direction at the same instant — possible, but unlikely for independent sources.

Note on correlation. These formulas assume the sources are independent. If two share a common cause, a covariance term is strictly required:

u꜀² = Σ cᵢ² u²(xᵢ) + 2 ΣΣ cᵢ cⱼ u(xᵢ, xⱼ)

Routine work usually ignores it. Just know it exists.


Formula for Expanded Uncertainty

U = k × u꜀

kApproximate confidence
168.27%
295.45%
2.5899%
399.73%

k = 2 is the default. Use it unless a customer, standard or examiner specifies otherwise. Always state the value of k next to the result — “±0.010 mm” without it is an incomplete statement.


Formula for Absolute, Relative and Percentage Uncertainty

Formula for Absolute, Relative and Percentage Uncertainty

Three ways of expressing the same thing.

Absolute uncertainty — a number in the units of the measurement.

50.020 ± 0.010 mm → absolute uncertainty = 0.010 mm

Relative uncertainty

Relative uncertainty = Δx ÷ x 0.010 ÷ 50.020 = 0.0002

Percentage uncertainty

Percentage uncertainty = (Δx ÷ x) × 100 0.0002 × 100 = 0.020%

Divide by the measured value, not by the uncertainty. It sounds too obvious to mention, and it’s still one of the most frequent slips under exam conditions.


Uncertainty Propagation Formulas

Uncertainty Propagation Formulas

When you calculate a result from two or more measurements, their uncertainties propagate through. Two versions of each rule exist — the simple arithmetic form used in most coursework, and the quadrature form used in professional work.

Sum or Difference: Z = A ± B

Simple: ΔZ = ΔA + ΔB Quadrature: ΔZ = √(ΔA² + ΔB²)

Add the absolute uncertainties. This holds for subtraction too — uncertainties never cancel.

Product or Quotient: Z = A × B or A ÷ B

Simple: ΔZ/Z = ΔA/A + ΔB/B Quadrature: ΔZ/Z = √[(ΔA/A)² + (ΔB/B)²]

Add the relative uncertainties.

Powers: Z = Aⁿ

ΔZ/Z = n × (ΔA/A)

A square root is a power of ½, so it halves the relative uncertainty.

General Form: Z = Aᵖ · Bᑫ ÷ Cʳ

Simple: ΔZ/Z = p(ΔA/A) + q(ΔB/B) + r(ΔC/C) Quadrature: ΔZ/Z = √[ p²(ΔA/A)² + q²(ΔB/B)² + r²(ΔC/C)² ]

Every term is added, including the ones in the denominator. There are no minus signs in uncertainty propagation.


Formula for Uncertainty From Least Count

When you take a single reading and have no repeats to work with, the instrument sets the uncertainty.

Analogue instruments: u = least count ÷ 2 Digital instruments: u = ±1 in the last displayed digit Vernier caliper / screw gauge (physics convention): u = least count

Least count formulas:

Vernier caliper: LC = 1 main scale division ÷ number of vernier divisions Screw gauge: LC = pitch ÷ number of circular scale divisions

Example: pitch 1 mm, 100 circular divisions → LC = 0.01 mm

The half-least-count versus full-least-count convention for vernier instruments varies between syllabuses and standards. Check which applies to you, then state it in your report.


Formula for Mean Absolute Error

Physics courses often use this instead of standard deviation. Same purpose, simpler arithmetic.

Mean: a_mean = (a₁ + a₂ + … + aₙ) ÷ n Absolute error of each reading: Δaᵢ = |a_mean − aᵢ| Mean absolute error: Δa_mean = (Δa₁ + Δa₂ + … + Δaₙ) ÷ n Relative error: Δa_mean ÷ a_mean Percentage error: (Δa_mean ÷ a_mean) × 100

Result reported as a_mean ± Δa_mean.

If the mean absolute error comes out smaller than the instrument’s least count, use the least count instead. Your readings can’t be more certain than your instrument can resolve.


Degrees of Freedom and the Welch–Satterthwaite Formula

This is where k = 2 stops being automatic. If your Type A uncertainty is based on very few readings, k = 2 doesn’t actually deliver 95% confidence — you need a larger factor.

Degrees of freedom:

Type A: ν = n − 1 Type B: ν = ∞ (assumed, when the source is well characterised)

Welch–Satterthwaite formula for effective degrees of freedom:

ν_eff = u꜀⁴ ÷ Σ (uᵢ⁴ ÷ νᵢ)

Coverage factor from ν_eff (t-distribution, ~95.45% confidence):

ν_effk
113.97
24.53
33.31
42.87
52.65
62.52
82.37
102.28
202.13
502.05
∞2.00

In most real budgets the Type B sources dominate and ν_eff comes out large, so k = 2 is fine. It matters when repeatability is your biggest term and you only took three or four readings — then k = 2 quietly understates your uncertainty.


The Complete Formula Sheet

Everything above, in one place.

What you needFormula
Meanx̄ = Σxᵢ ÷ n
Sample standard deviations = √[Σ(xᵢ − x̄)² ÷ (n−1)]
Type A uncertaintyu_A = s ÷ √n
Type B — from k=2 certificateu = U ÷ 2
Type B — rectangularu = a ÷ √3
Type B — triangularu = a ÷ √6
Type B — resolutionu ≈ resolution × 0.289
Sensitivity coefficientcᵢ = ∂f/∂xᵢ
Thermal sensitivityc = L × α
Combined standard uncertaintyu꜀ = √[Σ(cᵢuᵢ)²]
Expanded uncertaintyU = k × u꜀
Relative uncertaintyΔx ÷ x
Percentage uncertainty(Δx ÷ x) × 100
Propagation — sum/differenceΔZ = ΔA + ΔB
Propagation — product/quotientΔZ/Z = ΔA/A + ΔB/B
Propagation — powerΔZ/Z = n(ΔA/A)
Least count — vernierLC = MSD ÷ no. of vernier divisions
Least count — screw gaugeLC = pitch ÷ circular divisions
Uncertainty from analogue scaleu = LC ÷ 2
Mean absolute errorΔa = Σ|a_mean − aᵢ| ÷ n
Effective degrees of freedomν_eff = u꜀⁴ ÷ Σ(uᵢ⁴ ÷ νᵢ)

Which Formula Do You Need?

A quick decision path.

Did you take repeated readings? → Yes: u_A = s ÷ √n → No: use the least count formula

Do you have a calibration certificate? → Divide its stated U by the k value printed on it

Do you have a manufacturer’s tolerance or a resolution figure? → Divide the half-width by √3

Do you have several sources to merge? → u꜀ = √(Σuᵢ²)

Do you need a confidence level for reporting? → U = 2 × u꜀

Are you calculating one quantity from several measurements? → Use the propagation rules

Is your repeatability the dominant term and n is small? → Check ν_eff and use the t-table instead of assuming k = 2


Worked Example Using the Formulas

A digital caliper measuring a 50 mm gauge block.

Readings: 50.02, 50.03, 50.01, 50.02, 50.02 mm

Mean: x̄ = 250.10 ÷ 5 = 50.020 mm

Standard deviation: s = 0.0071 mm

Type A: u_A = 0.0071 ÷ √5 = 0.0032 mm

Type B — resolution (0.01 mm): u = 0.01 × 0.289 = 0.0029 mm

Type B — calibration certificate, U = 0.004 mm at k = 2: u = 0.004 ÷ 2 = 0.0020 mm

Combined: u꜀ = √(0.0032² + 0.0029² + 0.0020²) = √(0.0000226) = 0.0048 mm

Check the degrees of freedom: ν_A = 5 − 1 = 4, ν_B = ∞ ν_eff = (0.0048)⁴ ÷ [(0.0032)⁴ ÷ 4] ≈ 20 From the table, ν_eff = 20 gives k = 2.13 — close enough to 2 that it makes no practical difference here.

Expanded: U = 2 × 0.0048 = 0.0096 ≈ 0.010 mm

Result: 50.020 ± 0.010 mm (k = 2, approximately 95% confidence)

Percentage uncertainty: (0.010 ÷ 50.020) × 100 = 0.020%


Common Mistakes When Applying These Formulas

Using population standard deviation. STDEV.P divides by n instead of n−1. With five readings that understates your uncertainty by about 12%.

Forgetting √n in the Type A formula. The standard deviation describes individual readings. You’re reporting a mean, which is more reliable.

Dropping a certificate value straight into the budget. A k = 2 figure must be divided by 2 first. Skipping that step doubles the contribution.

Adding standard uncertainties instead of combining in quadrature. Squares, sum, square root. Straight addition inflates the total substantially.

Using the full resolution as the half-width. For rectangular sources, a is half the resolution, then divide by √3.

Confusing u and U. Lower case is standard, upper case is expanded. They differ by a factor of 2.

Mixing absolute and relative in propagation. Sums and differences use absolute. Products and quotients use relative. Getting this backwards is the classic exam error.

Missing the exponent in the power rule. In g = 4π²L/T², the T term is multiplied by 2 because T is squared.

Assuming k = 2 with very few readings. If repeatability dominates and n is small, run Welch–Satterthwaite and read k from the t-table.

Reporting without stating k. The number is ambiguous without it.


Frequently Asked Questions

What is the formula for uncertainty of measurement? The two core formulas are the combined standard uncertainty, u꜀ = √(u₁² + u₂² + …), and the expanded uncertainty, U = k × u꜀, where k is normally 2 for about 95% confidence.

What is the formula for Type A uncertainty? u_A = s ÷ √n, where s is the sample standard deviation of your readings and n is how many you took.

What is the formula for Type B uncertainty? It depends on the source. Divide a k = 2 certificate value by 2. Divide the half-width of a rectangular source, such as resolution or manufacturer’s limits, by √3. Divide a triangular source by √6.

Why do we divide by √3? A rectangular distribution — where the true value is equally likely to be anywhere between two limits — has a standard deviation equal to its half-width divided by √3. It follows from the distribution, not from convention.

What is the formula for percentage uncertainty? Percentage uncertainty = (absolute uncertainty ÷ measured value) × 100.

How do you combine two uncertainties? Square each, add them, take the square root: u꜀ = √(u₁² + u₂²). This is called adding in quadrature.

What is the formula for expanded uncertainty? U = k × u꜀. The coverage factor k is usually 2, giving roughly 95% confidence.

What is the difference between u and U? Lower-case u is the standard uncertainty, at about 68% confidence. Upper-case U is the expanded uncertainty, at about 95% when k = 2.

When should I use quadrature instead of simple addition for propagation? Simple addition is standard for school and undergraduate coursework. Quadrature is correct for independent sources and is what the GUM and accredited laboratories require.

What is the Welch–Satterthwaite formula for? It calculates the effective degrees of freedom of a combined uncertainty, which tells you the correct coverage factor when a Type A term with few readings dominates the budget.


Conclusion

Almost every uncertainty problem reduces to the same sequence of formulas.

Get each source into standard uncertainty form — s ÷ √n for repeated readings, U ÷ k for certificates, a ÷ √3 for anything with limits. Combine them with u꜀ = √(Σu²). Expand with U = k × u꜀. Convert to a percentage with (Δx ÷ x) × 100 if you need to compare across units.

The three things people get wrong most often, worth checking every time:

  • n − 1, not n, in the standard deviation
  • Divide certificate values by their k before they enter the budget
  • Squares, sum, square root — never straight addition
Leave a Reply