Skip to main content
    Back to Resources
    Dimensional Calibration
    September 10, 2026

    How to Calculate Measurement Uncertainty in Excel (Step-by-Step Budget Guide)

    Learn how to calculate uncertainty in Excel: Type A with STDEV.S, Type B divisors, sensitivity coefficients, RSS combination, and expanded uncertainty.

    To calculate measurement uncertainty in Excel, list every input in your measurement model as a row, convert each Type A or Type B estimate into a standard uncertainty, multiply each one by its sensitivity coefficient, then combine the resulting contributions with =SQRT(SUMSQ(range)). Multiply that combined standard uncertainty by a justified coverage factor to get expanded uncertainty. The whole calculation fits on one worksheet.

    Learning how to calculate uncertainty in Excel is mostly a question of getting the inputs into the right form before any arithmetic happens. A spreadsheet will happily add a temperature figure to a length figure, square a tolerance that was never a valid uncertainty component, and return a total precise to five decimal places. The arithmetic is trivial. The judgment behind each row is not.

    Here are the four formulas the rest of this guide builds toward, for input quantities that are genuinely uncorrelated:

    • Standard contribution: ui(y) = ci × u(xi)
    • Combined standard uncertainty: uc = SQRT(SUMSQ(all standard contributions))
    • Expanded uncertainty: U = k × uc
    • Relative expanded uncertainty: Ur = ABS(U / measurement result) × 100

    That root-sum-of-squares form is valid only when relevant correlations have been evaluated and found negligible. If you need the underlying concepts, certificate interpretation, or traceability context before building the sheet, start with our guide to measurement uncertainty in calibration. This tutorial assumes you already have a defined measurement model and want to implement it.

    Before You Open Excel, Write the Measurement Equation

    A list of things that might go wrong is not a measurement model. The model is an equation, and every budget column depends on it.

    Define the measurand

    The measure is the quantity you intend to measure, and vague definitions produce budgets nobody can audit. Specify the nominal value or range, the measurement point, the method, the environmental conditions assumed, and what result gets reported. "Caliper accuracy" is not a measure. "Indication error at a nominal 100 mm external point at 20 °C using the stated comparison procedure" is.

    State how the output depends on the inputs

    A simple comparison model looks like this:

    E = Ī - Lref + δres + δtemp + δmethod

    E is the indication error, Ī the mean indication, Lref the reference value, and the delta terms are corrections or effects carried in the model.

    Two points trip people up. An input estimate can be zero while its uncertainty is not, which is why a delta term with a best estimate of zero still earns a budget row. And if a correction is known to be significant, apply it. Burying a known bias inside an uncertainty allowance inflates the result and hides the problem.

    Check that a linear spreadsheet suits your model

    A row-per-source worksheet handles a model that linearizes acceptably and whose significant inputs are independent. That covers much of routine dimensional, electrical, and temperature work, which is why the format is so common.

    It does not cover everything. The Joint Committee for Guides in Metrology publishes JCGM 100:2008/Amd.1:2026 on nonlinearity in measurement models, alongside JCGM 101 on Monte Carlo propagation and JCGM GUM-6:2020 on developing measurement models. 

    Check the current JCGM publications catalog against your case. Nonlinear, asymmetric, strongly correlated, or multivariate problems belong with a qualified metrologist.

    Set Up the Uncertainty Budget Columns in Excel

    Build the budget as an Excel Table (Insert, then Table) so structured references extend automatically when you add a source. Use these columns:

    1. Uncertainty source
    2. Symbol
    3. Type A or Type B
    4. Input estimate or stated uncertainty
    5. Input units
    6. Evidence or source document
    7. Probability distribution or basis
    8. Divisor or stated coverage factor
    9. Standard uncertainty, u(xi)
    10. Sensitivity coefficient, ci
    11. Output units
    12. Standard contribution, ci × u(xi)
    13. Degrees of freedom
    14. Variance contribution, [ci × u(xi)]²
    15. Percent contribution to total variance
    16. Notes and assumptions

    Columns 6 and 16 are the ones people delete first and regret later. A budget row without traceable evidence is an opinion, and an auditor will ask where the number came from.

    Two setup habits pay for themselves: lock every formula cell through Review, then Protect Sheet, and use data validation dropdowns for the Type and Distribution columns so nobody types "rectangle" one week and "uniform" the next.

    Step 1: Calculate Type A Uncertainty From Repeated Readings

    Type A evaluation means the component was evaluated by statistical analysis of observations. It says nothing about how important the component is.

    Use STDEV.S, not STDEV.P

    Microsoft documents that STDEV.S estimates standard deviation based on a sample using the n minus 1 method, and that STDEV.P applies only when the data represent an entire population. Repeated calibration readings are a sample from an ongoing process, so STDEV.S is normally correct. Picking STDEV.P understates the scatter, and the error grows as the sample shrinks.

    With your readings in an Excel Table named Readings:

    • Number of readings: =COUNT(Readings[Value])
    • Mean: =AVERAGE(Readings[Value])
    • Sample standard deviation: =STDEV.S(Readings[Value])
    • Standard uncertainty of the mean: =STDEV.S(Readings[Value])/SQRT(COUNT(Readings[Value]))

    When to divide by the square root of n

    Dividing by SQRT(n) gives the standard uncertainty of the mean, a different quantity from the standard deviation of the observations. Confusing the two is the most common Type A error in spreadsheets.

    • Divide by SQRT(n) when the reported result is the mean of independent repeated observations and the model calls for the uncertainty of that mean.
    • Do not divide by SQRT(n) just because you happen to have several numbers in a column.
    • If the reported result is a single observation, or the process is autocorrelated, or the readings were not taken under appropriate repeatability conditions, neither form may be right.

    Plot the readings before trusting the statistics. Look for drift, transcription errors, and step changes showing the setup moved. Record the observation conditions, and never delete an outlier only because it makes the uncertainty larger.

    Step 2: Convert Type B Sources to Standard Uncertainty

    Type B components are evaluated by means other than statistical analysis of observations, and they usually outnumber the Type A rows.

    Start from the source document

    Every Type B row should point at something you can produce on request:

    • Calibration certificates for reference standards
    • Manufacturer specifications with stated conditions
    • Instrument resolution or rounding interval
    • Previous calibration history and drift studies
    • Environmental monitoring data
    • Published reference data such as expansion coefficients
    • Documented method limits supported by technical evidence

    Pick the correct divisor

    The divisor converts whatever the source states into a standard uncertainty. NIST Technical Note 1297 sets out these conversions in its guidance on Type B evaluation, giving the rectangular result a/√3 and the triangular result a/√6. In Excel:

    • Certificate reports expanded uncertainty U at coverage factor k: =ABS(Input_Uncertainty/Coverage_Factor)
    • Limits ±a, rectangular distribution justified: =ABS(Half_Width/SQRT(3))
    • Full interval width w, rectangular distribution justified: =ABS(Full_Width/SQRT(12))
    • Limits ±a, triangular distribution justified: =ABS(Half_Width/SQRT(6))
    • Input is already a standard uncertainty: divisor of 1

    For a digital display with resolution d, the usual model treats rounding error as rectangular over ±d/2, giving d/SQRT(12). State that assumption in the Notes column rather than applying it reflexively to every digital instrument.

    One row formula handles most cases when the divisor lives in its own column:

    =IFERROR(ABS([@[Input uncertainty]]/[@Divisor]),"")

    A tolerance is not automatically an uncertainty

    Dividing a maximum permissible error by SQRT(3) does not turn a specification into a valid uncertainty component. The distribution and bounds must describe what you actually know about the input quantity. 

    A manufacturer accuracy specification often already bundles resolution, repeatability, and temperature effects, so listing it beside separate rows for those effects counts them twice. Map each row to one distinct modelled effect.

    Step 3: Apply Sensitivity Coefficients and Fix the Units

    Where the coefficient comes from

    A sensitivity coefficient describes how much the output changes when one input changes. It comes from the measurement model, usually as a partial derivative, and has nothing to do with how large the uncertainty is. 

    In simple comparison models it is often 1 or minus 1, which is why it gets ignored and then bites hard in models where it is not.

    The contribution formula:

    =[@[Standard uncertainty]]*[@[Sensitivity coefficient]]

    Convert every contribution to the output unit

    Combining values before this conversion is the fastest route to a confidently wrong answer. A temperature uncertainty in °C cannot be squared alongside a length uncertainty in mm. 

    The temperature input has to travel through the thermal expansion part of the model first, so its contribution arrives in mm. Percentage and parts-per-million specifications need converting at the relevant nominal value.

    Add a check comparing each row's output unit label against the measured unit. A matching label does not prove the conversion was correct, but a mismatch should stop the total displaying at all. Keep signed sensitivity coefficients visible, because the signs document the model. Squaring happens in the variance column:

    =[@Contribution]^2

    Step 4: Calculate Combined Standard Uncertainty in Excel

    For uncorrelated inputs, combine by root sum of squares:

    =SQRT(SUMSQ(Budget[Contribution]))

    or equivalently, if you already built the variance column:

    =SQRT(SUM(Budget[Variance]))

    NIST describes this as the law of propagation of uncertainty and notes that covariances must be combined in as appropriate.

    Add a percent contribution column

    =[@Variance]/SUM(Budget[Variance])

    Format as a percentage and confirm the populated rows total 100, allowing for display rounding. This column shows where the uncertainty actually lives, which tells you where spending money would help. It does not confirm the small rows were modelled correctly.

    Correlation breaks the simple formula

    When inputs are correlated, the combination becomes:

    uc² = Σ(ci·ui)² + 2Σ(ci·ui)(cj·uj)rij

    If two rows share a reference standard, a common correction, the same environmental measurement, or the same calibration chain, independence is something you justify rather than assume. 

    Put a visible "correlation not evaluated" status on the sheet until somebody has looked. Silent RSS on correlated inputs can understate or overstate the total, and a clean-looking worksheet gives no hint either way.

    Step 5: Calculate Expanded and Relative Uncertainty

    Expanded uncertainty

    =Combined_standard_uncertainty*Coverage_factor

    NIST states that when the normal distribution applies and the combined standard uncertainty is a reliable estimate, k = 2 defines an interval with a level of confidence of approximately 95 percent. Both conditions matter. 

    With few degrees of freedom or a strongly non-normal output distribution, k = 2 does not deliver 95 percent, and reporting it as though it does overstates the measurement.

    Relative expanded uncertainty

    =IF(Measurement_result=0,NA(),ABS(Expanded_uncertainty/Measurement_result)*100)

    A relative percentage is undefined at zero and unstable near it. That matters for indication errors and other difference quantities, where results near zero are normal rather than exceptional.

    Effective degrees of freedom

    The Welch-Satterthwaite approach estimates effective degrees of freedom and can inform coverage factor selection when finite degrees of freedom materially affect coverage. 

    A basic worksheet should not generate k automatically from guessed degrees-of-freedom entries, because a manually entered and documented coverage factor beats confident-looking automation built on invented inputs.

    Worked Example: A 100 mm Digital Caliper Comparison

    The following budget is illustrative. The values demonstrate the arithmetic and the column logic. They are not Tripoint's calibration and measurement capability and must not be copied into a budget for your own method. For method context, see caliper calibration.

    Setup: indication error at a nominal 100 mm external point, mean of 10 independent readings against a calibrated steel gage block, output unit mm.

    • Mean indication Ī = 100.0120 mm
    • Reference value Lref = 100.0002 mm
    • Indication error E = 0.0118 mm

    The six budget rows, each with its standard uncertainty in mm and its share of the total variance:

    1. Repeatability of the mean indication, Type A. Sample standard deviation 0.0060 mm over 10 readings, so 0.0060/SQRT(10) = 0.0019 mm. Contributes 17.4 percent of the variance.
    2. Reference gage block certificate, Type B. Reported U = 0.00030 mm at k = 2, so 0.00030/2 = 0.00015 mm. Contributes 0.1 percent.
    3. Caliper display resolution, Type B. Resolution 0.01 mm, rectangular rounding over ±0.005 mm, so 0.01/SQRT(12) = 0.0029 mm. Contributes 40.2 percent.
    4. Reference block stability allowance, Type B. Bound ±0.00020 mm rectangular, so 0.00020/SQRT(3) = 0.00012 mm. Contributes 0.06 percent.
    5. Temperature effect, Type B. Deviation from 20 °C bounded at ±1.0 °C rectangular gives 0.58 °C; the sensitivity coefficient L × α of 0.00115 mm/°C converts that to 0.00066 mm. Contributes 2.1 percent.
    6. Method and setup effect, covering measurement force and alignment, Type B. Bound ±0.0050 mm rectangular, so 0.0050/SQRT(3) = 0.0029 mm. Contributes 40.2 percent.

    Combined standard uncertainty: uc = 0.0046 mm. With k = 2, expanded uncertainty U = 0.0091 mm.

    Reported result: indication error = 0.0118 mm ± 0.0091 mm, where the expanded uncertainty uses a coverage factor k = 2 for an approximate 95 percent coverage probability under the stated conditions.

    Read the percent contribution column and the priorities become obvious. Display resolution and the method effect together account for roughly 80 percent of the variance, while the reference gage block certificate, where laboratories often assume the money goes, contributes about one tenth of one percent. 

    A better gage block would change this result by nothing measurable. Improving the setup or moving to finer resolution would change it substantially. A budget that stops at the total never surfaces that. 

    This kind of comparison sits within dimensional calibration, where resolution and fixturing routinely dominate reference standard uncertainty.

    How to Audit Your Excel Uncertainty Budget Before You Trust It

    A worksheet that opens without errors has not been validated. Work through this before anyone relies on the number:

    1. Confirm the measurand, range, measurement point, method, and output units are stated.
    2. Trace every row to evidence: data, certificate, study, specification, or documented judgment.
    3. Confirm whether each input is a standard uncertainty, a half-width, a full width, or an expanded uncertainty, and that its divisor matches.
    4. Recalculate each sensitivity coefficient from the measurement model.
    5. Search for duplicated effects and for significant sources missing entirely.
    6. Re-inspect every formula after inserting, deleting, sorting, or copying rows, then test blank, zero, negative, and text inputs to confirm the sheet fails visibly.
    7. Reproduce the total independently against a known-answer case, and record version, reviewer, date, and outcome on the sheet.

    Common Excel Uncertainty Mistakes

    Each of these produces a plausible-looking total and a wrong one:

    • Adding uncertainty values directly. Independent standard components combine as variances, not sums. Use RSS after standardization.
    • Using STDEV.S as the uncertainty of the mean. It describes observation scatter. Divide by SQRT(n) only when the mean is the reported estimate.
    • Mixing expanded and standard uncertainties in one column. Divide certificate values by their stated k first.
    • Combining °C, mm, V, ppm, and percent directly. Apply sensitivity coefficients so every contribution lands in the output unit.
    • Double-counting one physical effect. Broad accuracy specifications frequently overlap separate resolution, repeatability, and temperature rows.
    • Hard-coding numbers inside formulas. Put every input in a labelled cell so revisions stay auditable.
    • Rounding each row. Intermediate rounding distorts the total. Round the final reported result only.
    • Calling the file "ISO/IEC 17025 compliant." Compliance depends on method validity, personnel competence, validation, traceability, and controlled use. A spreadsheet is a tool inside that system, not a substitute for it.

    When an Excel Budget Is Not Enough

    Escalate beyond a linear worksheet when the model involves significant correlations or shared inputs, strong nonlinearity, large relative input uncertainties, asymmetric or multimodal distributions, very small samples with influential degrees of freedom, multiple related output quantities, thresholds or non-differentiable behaviour, regression uncertainty from a calibration curve, or a result near zero. The same applies when a safety, regulatory, or accreditation decision rests on a budget the worksheet was never validated to support. The next steps are covariance analysis, validated numerical propagation, Monte Carlo methods, statistical consultation, or method-specific guidance from your accreditation body.

    How to Report the Result

    Use a consistent reporting pattern:

    Result = [value] [unit] ± [expanded uncertainty] [unit], where the expanded uncertainty is the combined standard uncertainty multiplied by a coverage factor k = [value], giving an approximate coverage probability of [value] percent under [stated basis].

    Four rules for that line:

    • Express the result and the expanded uncertainty in the same unit.
    • State the coverage factor and the coverage information together. One without the other is incomplete.
    • Round the uncertainty first, then the result to the same decimal place, keeping unrounded values inside the worksheet.
    • Do not turn an uncertainty statement into a pass or fail decision unless the specification and the decision rule are both defined.

    Where a reported uncertainty has to sit inside a formal scope, check it against Tripoint's accredited measurement capabilities rather than a spreadsheet total alone.

    Getting the Budget Right

    Once you know how to calculate uncertainty in Excel, the columns and formulas take an afternoon. The judgment behind them, deciding what belongs in the model, which distribution the evidence supports, whether two rows describe the same effect, and whether k = 2 is defensible, is where budgets are won or lost. Build the sheet, then audit it as though somebody else wrote it.

    If you need measured values you can put in the reference row of a budget like this one, our dimensional calibration services deliver accredited results with the uncertainty and coverage factor stated on the certificate. To discuss which measurement points and conditions your method actually needs, talk to our calibration team.

    Related Resources

    Dimensional Calibration
    Sep 10, 2026

    Load Cell Calibration: How It's Done, How Often, and What the Certificate Should Prove

    How load cell calibration works, how to set a defensible interval, and what results, uncertainty, traceability, and scope a certificate must prove.

    Dimensional Calibration
    Aug 18, 2026

    How Flow Meters Are Calibrated and When a Verification Falls Short

    How flow meter calibration works: gravimetric and master-meter methods, mass vs. volumetric flow, verification vs. calibration, and certificate essentials.

    Dimensional Calibration
    Aug 18, 2026

    How Torque Wrenches Are Calibrated and What the Tolerances Mean

    Torque wrench calibration explained: ISO 6789 test points, 4% tolerance limit, as-found/as-left data, and recalibration timing. NIST-traceable results, on-site service.