Skip to content
Research Atlas

Collecting Environmental Data · Lesson 4 of 5

Field Calibration

~15 min

The Concept

The research team returns from a field trip to groundwater well GW-14, the same well with the suspected nitrate trend. They've brought back a data logger that has been recording continuously for six months. The data looks remarkable: nitrate appears to have dropped by 40% in a single week in March. A press release is being drafted.

Your supervisor asks to see the calibration log first. The March logger was replaced on the 14th. The replacement unit uses a different electrode with a 12% higher sensitivity. Nobody updated the conversion factor. The 40% drop is an instrument artefact, not a real change in the water.

Calibration (checking an instrument against a known correct answer and adjusting it) is the process of checking a sensor's readings against a known reference standard and adjusting its output accordingly. Every sensor drifts over time, chemical electrodes foul, mechanical parts wear, temperature affects electronics. Without regular calibration, a sensor's readings gradually diverge from reality, silently.

A two-point calibration uses two reference standards, one at a low known value, one at a high known value, to fit a linear correction to the sensor's output. If the sensor reads 8.5 when the true value is 8.0, and reads 10.8 when the true value is 10.0, you can compute a correction slope and intercept that brings all intermediate readings back into line.

The Analogy

It is like checking a bathroom scale against two objects of known weight, say a 1kg bag of flour and a 5kg dumbbell. If the scale reads 1.1kg and 5.5kg, you now know it consistently reads about 10% high, and you can mentally correct every future reading until you fix or replace the scale.

The Math (optional)

A two-point calibration fits a linear correction: measured = a · true + b. Inverting this gives the corrected value from any raw reading.

Calibration slope and intercept

a=m2m1t2t1,b=m1at1a = \frac{m_2 - m_1}{t_2 - t_1}, \quad b = m_1 - a \cdot t_1

m₁, m₂ are the sensor's measured values at two calibration points; t₁, t₂ are the known true values. a is the slope and b the intercept of the correction.

Corrected value from raw reading

true=measuredba\text{true} = \frac{\text{measured} - b}{a}

Rearranging the calibration equation: given any raw measurement, divide out the slope and subtract the intercept offset to recover the true value.

Code (optional)

calibrate_sensor.pypython
# Two-point calibration for well GW-14's replacement nitrate probe
# Calibration standards (known true values in mg/L):
t1, t2 = 5.0, 20.0

# What the new probe actually reads at those standards:
m1, m2 = 5.6, 21.4

# Compute calibration coefficients
a = (m2 - m1) / (t2 - t1)
b = m1 - a * t1
print(f"Calibration: slope={a:.4f}, intercept={b:.4f}")

# Apply to raw field data
import numpy as np
raw_readings = np.array([7.2, 8.1, 9.5, 11.3, 14.0])
corrected = (raw_readings - b) / a
print("Corrected readings:", np.round(corrected, 2))

Line by line

  • t1 and t2 are the calibration standards, solutions with certified, known nitrate concentrations.
  • m1 and m2 are what the probe actually reports when immersed in those standards, they should match t1 and t2 if the sensor is perfectly calibrated, but they rarely are.
  • The slope a captures how much the sensor over- or under-reads per unit of true concentration; b is the constant offset.
  • Applying the correction to raw_readings adjusts every measurement: slightly high readings come down, slightly low ones come up, proportionally.

Why Real Researchers Care

Calibration failures are behind many of the most costly environmental measurement errors on record, including cases where pollution events were missed, or non-existent events were reported, because sensors were used outside their calibration range or after calibration had drifted. Every major environmental monitoring standard (ISO 5667, USGS field methods guidelines) mandates calibration records as part of the data chain of custody.

Quick Check

Q1. Well GW-14 shows a sudden 40% drop in nitrate in one week. Before reporting this, what should you check first?

Your Goal

Bluewater Basin's conductivity probe at station WQ-09 was calibrated against standards of 100 µS/cm (probe reads 103.2) and 500 µS/cm (probe reads 512.0). Compute the calibration slope a and intercept b. Then find the corrected value when the probe reads 250 µS/cm.

Hint: Use t1=100, m1=103.2, t2=500, m2=512.0 in the formula above. Then apply corrected = (250 - b) / a.

Teach It Back

Explain to a new field technician why they must write down every instrument swap in the calibration log, even if the replacement probe seems identical to the one it replaced.

Previous lesson