viewof ref_low_val = Inputs.range([-50, 50], {value: 0, step: 0.1, label: "Reference Low (°C)"})
viewof ref_high_val = Inputs.range([0, 200], {value: 100, step: 0.1, label: "Reference High (°C)"})
viewof raw_low_val = Inputs.range([-50, 50], {value: 1.8, step: 0.1, label: "Raw Reading at Low Ref (°C)"})
viewof raw_high_val = Inputs.range([0, 200], {value: 98.5, step: 0.1, label: "Raw Reading at High Ref (°C)"})
viewof test_raw = Inputs.range([-50, 200], {value: 24.5, step: 0.1, label: "Test Raw Reading (°C)"})Two-Point Calibration Calculator
Two-Point Calibration Calculator
animation
sensors
Try Leave Reference Low (°C) at 0 and Reference High (°C) at 100. Compare raw reference readings of 1.8 and 98.5 with the corrected Test Raw Reading (°C) of 24.5.
Observe The default scale factor is 1.0341 and the offset is −1.86°C. The raw test value of 24.5°C is corrected to 23.47°C.
Explain The reference span of 100°C divided by the raw span sets the scale factor. The offset makes the low raw reading match Reference Low (°C), and both coefficients correct the test reading.
Technical boundaries. The fit assumes a straight-line relationship between raw readings and reference values. A raw-point separation of 0.001°C or less triggers an error; the tool does not estimate reference uncertainty or test curvature between the points.
Two-Point Calibration Calculator.
Enter your sensor’s raw readings at two known reference points to compute the calibration coefficients and test a correction.