Fits the Callendar–Van Dusen (CVD) coefficients A, B and — when there is
sub-zero calibration data — C of a platinum resistance thermometer, from
temperature/resistance pairs measured during calibration plus the resistance at
0 °C (R0). The coefficients are what an RTD calibration report carries so that
anyone can reproduce the thermometer's reading: write them into a transmitter,
an AS-FOUND/AS-LEFT certificate, or your own spreadsheet, and the resistance the
sensor produces maps to the same temperature the certificate claims.
How to use
- Enter the calibration temperatures in °C, separated by space, comma or
newline.
- Enter the matching resistances in ohms, in exactly the same order and
with the same count as the temperatures.
- Enter R0, the measured resistance of the RTD at 0 °C. Do not add 0 °C as
one of the calibration points:
R0 already carries that information, and
entering it twice overweights the ice point in the fit.
- Run. The panel returns
R0, A, B and (when present) C, plus a CSV you
can paste into a certificate.
The Callendar–Van Dusen equation expresses the normalised resistance as a
polynomial in temperature:
R(t) = R0 · [1 + A·t + B·t² + C·(t − 100)·t³]
for t < 0 °C, and the same equation without the cubic term for t ≥ 0 °C.
The tool normalises every measured resistance as r = R/R0 and solves the linear
least-squares problem in the form (XᵀX)⁻¹ Xᵀ r, where each row of X is
[1, t, t²]. The 1 column absorbs the constant term, which is algebraically
zero because r = 1 at t = 0. The cubic column (t − 100)·t³ is appended
only when at least one calibration temperature is below 0 °C; otherwise the
identified model has no negative branch to fit and C would be an artefact.
The fit uses a Gauss–Jordan inverse with partial pivoting. A singular normal
matrix — repeated temperatures, too few points, or a badly conditioned spread —
stops the calculation with an explicit message instead of returning huge
coefficients that look plausible and are not.
| Requirement |
Why |
| Equal counts of temperatures and resistances |
The fit pairs them row by row |
| At least three points for A and B |
Two coefficients need two independent rows plus the constant |
| At least four points for a cubic (A, B, C) |
The extra C column needs one more independent row |
| No 0 °C point |
It belongs in R0, not in the fit |
| No repeated temperature |
Two points at the same temperature make the matrix singular |
A good calibration spread covers both ends of the working range. Five points
spread over −200 °C to 300 °C carry far more information about the curvature than
five points crowded around room temperature, where B and C are poorly
determined and the fit becomes sensitive to a single noisy reading.
FAQ
Why is C missing from my result? Because no calibration temperature was below
0 °C. The Callendar–Van Dusen equation only uses the cubic term on the negative
branch, so with positive temperatures only, a fitted C is noise. The tool says so
in the warnings instead of printing a meaningless number.
My coefficients differ from the IEC 60751 nominal values — is that wrong? No.
IEC 60751 gives the nominal coefficients (A = 3.9083·10⁻³ °C⁻¹,
B = −5.775·10⁻⁷ °C⁻², C = −4.183·10⁻¹² °C⁻⁴) for an idealised Pt-100.
Fitted coefficients describe your sensor, and they are expected to differ
slightly. What matters is that the residuals of your calibration points are
consistent with the expanded uncertainty.
Can I use it for Pt-1000 or a Ni sensor? Yes, for any sensor whose resistance
follows the Callendar–Van Dusen form: enter its own R0 (1000 Ω, for example).
Nickel RTDs follow a different excitation curve and are not described by CVD.
How many points should a calibration have? At least three for A and B and at
least four if the sub-zero branch matters. In practice, four to six points spread
across the working range is the usual minimum for a calibration that also proves
the model fits.
Common mistakes
- Including 0 °C in the temperature list. It is already represented by
R0
and distorts the fit.
- Mixing units — temperatures in °F or resistances in milliohms. The tool
does no unit conversion here; the column label is the contract.
- Two calibration points at the same nominal temperature (for example, a
repeated 0 °C and 100 °C check). They make the normal matrix singular, and the
error message is the correct outcome.
- Fitting across a broken sensor's range. A CVD fit will oblige any data,
including data from a sensor that has degraded. Always look at the residuals
against the uncertainty before releasing the coefficients.