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.
Audit gauge bias across five references
Compare repeated measurements with the reference values and check where a single calibration line misses.
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.
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.
- ○ 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.
- ○ 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.
| Level | Reference | Mean bias | Fitted bias | Mean residual | Mean check |
|---|---|---|---|---|---|
| 1 | 0 | 0.002 | 0.002 | 0 | Within |
| 2 | 25 | 0.004 | 0.004 | 0 | Within |
| 3 | 50 | 0.006 | 0.006 | 0 | Within |
| 4 | 75 | 0.008 | 0.008 | 0 | Within |
| 5 | 100 | 0.01 | 0.01 | 0 | Within |
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
- Choose five distinct references spanning the part of your measurement range to review.
- Enter three repeat readings at each, keeping measurement units and test conditions consistent.
- Set your absolute bias cap and intended F review threshold.
- Compare individual readings, level means and the fitted bias band. Use the residual plot to inspect the line's adequacy.
- 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
Uncertainty Propagation Calculator
Propagate independent measurement uncertainties through sums, products and ratios. Compare contributions, expanded uncertainty and input improvement scenarios.
Linear Regression Calculator
Fit a least-squares line, inspect scatter and residual plots, and calculate Student-t confidence and prediction intervals. Paste paired data and export the full ledger.
One-Way ANOVA & F Statistic Calculator
Calculate a one-way ANOVA F statistic and p-value from observations or sample summaries. Compare group variation, review the ANOVA table and export CSV.
Standard Deviation Calculator
Calculate sample or population standard deviation, variance, mean and extrema from complete decimal data. Preserve small differences and identify invalid entries.
Scale Factor & Print Calibration Calculator
Calculate drawing scale, compare measured print spans on both axes, and find the resize percentages that fit your paper tolerance.
Uncertainty Guard Band & Conformity Calculator
Compare measured values and uncertainty intervals against tolerance limits. Find exact guard-band boundaries and the maximum multiplier for each reading.
Crossed Gage R&R Calculator
Analyze crossed gauge measurements with exact balanced ANOVA, estimate repeatability and reproducibility, and compare six-sigma study spread with a specification width.
