TestBench.tools
GitHub

Thermocouple Calculator

mV ↔ °C for types K/J/T/E/N/R/S/B with cold-junction compensation.

-5.891…54.886 mV → -200…1372 °C

Temperature (°C)
124.31 °C
Cold junction contributes
1.0002 mV
Total voltage inverted
5.0962 mV
Inverse polynomial error band
-0.05 … 0.04 °C
Sub-range applied
0 … 20.644 mV

The mV → °C direction is an approximation, not an exact inverse. NIST publishes the residual band shown above; it is not measurement uncertainty, which your sensor and wiring add on top.

This calculator converts between thermocouple voltage and temperature on the NIST ITS-90 reference functions, for types K, J, T, E, N, R, S and B. Its main mode takes the voltage you measured plus your cold junction temperature and returns the hot-junction temperature, which is the number you actually want. Reference: type K at 100 °C produces 4.0962 mV with the cold junction at 0 °C.

How it works

A thermocouple produces an emf from the difference between its measuring junction and its reference junction. The published reference functions assume that reference junction is held at 0 °C — an ice bath, historically. Real instruments terminate at a block sitting at room temperature instead, so the voltage arriving at the input is smaller than the tables expect by exactly the emf of the block's own temperature. Adding that back before inverting is cold-junction compensation, and getting it wrong shifts every reading by roughly the room temperature.

Neither direction is a single formula. NIST splits each type into sub-ranges with their own polynomials, and type K carries an extra exponential term above 0 °C — omit it and readings run about 2.7 °C low at 100 °C while still looking entirely plausible. The inverse direction is a fitted approximation rather than an exact reversal, so this tool reports which sub-range applied and the residual band NIST publishes for it, instead of presenting a number as if it were exact.

Worked example

type K · measured 4.096 mV · cold junction 25 °C
cold junction contributes 1.0003 mV
total inverted: 5.0963 mV
hot junction → 124.31 °C
without compensation you would read ≈100 °C — 24 degrees low

Types and ranges

ParameterValueNotes
K−270 … 1372 °CNi-Cr / Ni-Al, general purpose
J−210 … 1200 °CFe / Cu-Ni
T−270 … 400 °CCu / Cu-Ni, cryogenic
E−270 … 1000 °Chighest output per °C
N−270 … 1300 °CNi-Cr-Si / Ni-Si
R / S−50 … 1768 °CPt-Rh, high temperature
B0 … 1820 °Cno inverse below 250 °C
Referencecold junction at 0 °C

Coefficients from the NIST ITS-90 Thermocouple Database, cross-checked against NIST Monograph 175 (Burns et al., 1993). Wire colour codes and tolerance classes belong to ANSI/ASTM E230 and IEC 60584 and are deliberately not published here.

FAQ

Why is my reading wrong without cold-junction compensation?

Because a thermocouple measures the difference between its two junctions, not an absolute temperature. The reference functions assume the cold junction sits at 0 °C, but yours is at whatever your terminal block is — so the measured voltage is short by the emf that corresponds to that temperature. Add the cold junction's voltage to what you measured, then invert. This calculator does that in one step and shows both parts.

Which types are covered?

All eight letter-designated types: K, J, T, E, N, R, S and B, each over the full range NIST publishes for it. The coefficients come from a single source chain, so no type is better sourced than another.

How accurate is the mV to °C direction?

It is an approximation, not an exact inverse. NIST publishes the polynomials together with a residual band per sub-range — for type K that is about −0.05 to +0.06 °C — and the calculator shows the band for whichever sub-range applied. That figure is the polynomial's own error only; your sensor tolerance, extension wire and cold-junction sensor all add uncertainty on top of it.

Why does type B refuse anything below 250 °C?

Because its curve doubles back. Type B's emf falls, reaches a minimum near 21 °C, then rises again, so a single low voltage corresponds to two temperatures and no inverse exists there. That is a property of the couple, not a gap in the tool — which is why type B is used at high temperatures and its cold junction barely matters.

Why are the wire colours not shown?

Because they are not in the same document. The reference functions come from NIST Monograph 175; colour codes are specified by ANSI/ASTM E230 and IEC 60584-3, and they differ between them — the same type is a different colour depending on which standard your cable follows. Publishing one set here would mislead half the readers.

Is my data uploaded?

No. Every calculation runs in your browser.

Related tools