Gauge Accuracy & Linearity Calculator

Bring one gauge's repeated readings and known reference levels. See which level means exceed your error limit, whether the fitted line stays within that limit, and how residual curvature compares with within-level repeatability.

Instrument measurement study

Audit gauge bias across five references

Measured mean bias and the fitted line meet the entered limit.
Edit references, repeat readings and limits

Use the same unit throughout. Order distinct references from smallest to largest and enter three repeat readings at each level.

Reference level 1
Reference level 2
Reference level 3
Reference level 4
Reference level 5

Observed mean bias

0.01 maximum absolute

Above bias limit · 0 of 5 level means

Above bias limit · 1 of 15 single readings

Fitted bias line

0.01 maximum absolute

Inside bias limits between reference endpoints.

Response slope 1.00008 · ideal 1

Lack of fit and repeatability

F = 0

F meets the entered review limit.

Repeatability SD 0.001

Bias across the reference range

The shaded region shows where bias is within ±0.01. Diamonds show level means.

Measured biases, fitted bias line and entered bandReference 0, mean 0.002, readings 0.001, 0.002, 0.003. Reference 25, mean 0.004, readings 0.003, 0.004, 0.005. Reference 50, mean 0.006, readings 0.005, 0.006, 0.007. Reference 75, mean 0.008, readings 0.007, 0.008, 0.009. Reference 100, mean 0.01, readings 0.009, 0.01, 0.011.0100Reference value
  • ○ Single reading
  • ◇ Level mean
  • ━ Fitted line

Bias scale -0.01 to 0.011.

Residuals after the line fit

Diamonds show level means. Persistent bends indicate bias the straight line misses.

Signed measured residuals and mean residualsReference 0, mean 0, readings -0.001, 0, 0.001. Reference 25, mean 0, readings -0.001, 0, 0.001. Reference 50, mean 0, readings -0.001, 0, 0.001. Reference 75, mean 0, readings -0.001, 0, 0.001. Reference 100, mean 0, readings -0.001, 0, 0.001.0100Reference value
  • ○ Single reading
  • ◇ Level mean
  • – – Mean path

Residual scale -0.001 to 0.001.

Review the exact bias ledger and CSV

Residual sum of squares 0.00001 · within-level 0.00001 · lack of fit 0.

Bias and residuals by reference level
LevelReferenceMean biasFitted biasMean residualMean check
100.0020.0020Within
2250.0040.0040Within
3500.0060.0060Within
4750.0080.0080Within
51000.010.010Within

Treat the reference values as fixed for this calculation. Review their uncertainty, test conditions and instrument drift separately when making a calibration decision.

How to use this calculator

  1. Choose five distinct references spanning the part of your measurement range to review.
  2. Enter three repeat readings at each, keeping measurement units and test conditions consistent.
  3. Set your absolute bias cap and intended F review threshold.
  4. Compare individual readings, level means and the fitted bias band. Use the residual plot to inspect the line's adequacy.
  5. Export the exact level and replicate calculations from the ledger.

The Formula

The mathematical logic powering this calculation is:

Enter five distinct ordered reference values xᵢ and three repeated readings yᵢⱼ at each value. Signed bias is reading − reference. The level's mean bias is the average of its three differences. Single-reading counts and level-mean counts compare their own absolute values with the same entered bias cap. Equality meets the cap.

Fit a straight line to the five mean biases by ordinary least squares. The center x̄ is the mean of the five references. The fitted bias is b̄ + m × (x − x̄), where b̄ is the mean of all readings' biases and m = Σ(xᵢ − x̄)(bᵢ − b̄) / Σ(xᵢ − x̄)². Since each level has three repeats, using the means gives the same coefficients as fitting all 15 readings. The response slope for the measured values is 1 + m, with ideal 1. The largest absolute fitted bias over the observed reference range occurs at an endpoint.

At each level, within-level pure error sums squared differences between its three readings and their mean. The lack-of-fit component sums three times the squared difference between each observed level mean and the line there. Their sum is the residual sum of squares. Repeatability SD is the square root of pure error divided by 10 degrees of freedom. The lack-of-fit F statistic is (lack-of-fit sum of squares / 3) divided by (pure error sum of squares / 10). Compare it against the positive review limit you enter. If pure error is zero, F is undefined. The worksheet distinguishes exact linear means from remaining lack of fit without a within-level baseline.

Use a common unit, five references and exactly three repeats at each reference. Numeric magnitudes through 1,000,000 and six fractional digits are supported. The model and CSV keep exact rational values. SD, on-screen decimals and coordinates use numerical views. The charts show only the entered range.

An inferential F cutoff depends on the test design and its 3 and 10 degrees of freedom. Use an appropriate upper-tail critical value when independent errors, approximately equal variance and normality are reasonable. The example uses 4 as a review setting. The worksheet treats supplied reference values as fixed and does not quantify reference uncertainty, temperature effects, between-operator differences or long-term reproducibility.

Worked Example

If you input:

  • References: 0, 25, 50, 75 and 100
  • Mean bias by level: 0.002, 0.004, 0.006, 0.008 and 0.010
  • Repeats: Three readings per level centered at its mean with ±0.001 spread.
  • Limits: Absolute bias 0.010 and F review 4

Result:

The response slope is 1.00008. Both mean and fitted bias reach the exact 0.010 cap. One single reading exceeds the cap. F is zero, and repeatability SD is 0.001.

Frequently Asked Questions

Can the linear fit stay inside the bias limit while measurements exceed it?

Yes. The fitted line averages across levels. The level means and individual readings each get their own comparison with the limit.

What is the difference between repeatability and lack of fit?

Repeatability measures the spread of readings at the same reference. Lack of fit measures deviations of the level means from the straight line.

Why does F have 3 and 10 degrees of freedom?

Fitting a slope and intercept uses two of the five level degrees of freedom, leaving three. Each set of three readings contributes two pure-error degrees of freedom, for ten across five levels.

What if the three readings are identical at every level?

Pure error is zero and the F ratio cannot be computed. The residual chart still shows whether the level means follow the fitted line.

What if the fitted response slope is exactly one?

The fitted bias is constant over the entered range. Its level, repeatability and lack-of-fit checks still matter.

Does this give a complete calibration uncertainty budget?

It quantifies bias and repeat variation from the entered data. Apply your calibration procedure and account for reference uncertainty and other measurement effects separately.

Similar Calculators