NewAI Part GeneratorFree to get started
FREE TOOL

Steinhart-Hart equation calculator

Three measured resistance-temperature points are all this Steinhart-Hart equation calculator needs to solve the A, B and C coefficients, and two give the Beta model's B value. It also converts between resistance and temperature with either model and shows how far a Beta fit strays across your range.

Calculate
Examples
°C
Ω
°C
Ω
°C
Ω

Coefficient A

1.137700e-3

Coefficient B
2.325340e-4
Coefficient C
9.547893e-8
B value 0/85 °C
3930.7 K
Worst Beta error in range
0.706 °C

Valid between the calibration points (0 to 85 °C). Outside them it is an extrapolation. Pick two points near the ends of the range and one near the center.

Beta model error against the Steinhart-Hart curve
-0.8-0.7-0.6-0.5-0.4-0.3-0.2-0.100102030405060708090Temperature (°C)Beta reads high by (°C)Steinhart-Hart

Steinhart-Hart against a Beta model through the outer points

TemperatureR (S-H)R (Beta)Beta error
0 °C32.55 kΩ32.55 kΩ+0.000 °C
14.2 °C16.3 kΩ15.99 kΩ-0.402 °C
28.3 °C8.666 kΩ8.431 kΩ-0.634 °C
42.5 °C4.822 kΩ4.69 kΩ-0.705 °C
56.7 °C2.806 kΩ2.744 kΩ-0.620 °C
70.8 °C1.705 kΩ1.683 kΩ-0.385 °C
85 °C1.07 kΩ1.07 kΩ-0.000 °C

How do you calculate Steinhart-Hart coefficients?

Measure the thermistor at three temperatures, write 1/T = A + B ln R + C (ln R)³ for each, with T in kelvin, and solve the 3 × 3 system. With 25415 Ω at 5 °C, 10021 Ω at 25 °C and 6545 Ω at 35 °C, A = 1.1384e-3, B = 2.3245e-4 and C = 9.4890e-8. Pick two points near the ends of your range and one near the center.

Steinhart-Hart equation: thermistor formula and coefficients

The Steinhart-Hart formula fits 1/T as a polynomial in ln R with constant, linear and cubic terms and no squared term. Three coefficients describe a thermistor curve far better than the single B of the Beta model.

1/T = A + B ln R + C (ln R)³
T
absolute temperature in kelvin
R
thermistor resistance in Ω
A, B, C
coefficients for that thermistor

Three points give a linear system in A, B and C. With L = ln R and Y = 1/T at each point, solving by divided differences gives:

g₂ = (Y₂ − Y₁) ÷ (L₂ − L₁)     g₃ = (Y₃ − Y₁) ÷ (L₃ − L₁)
C = (g₃ − g₂) ÷ ((L₃ − L₂)(L₁ + L₂ + L₃))
B = g₂ − C (L₁² + L₁L₂ + L₂²)     A = Y₁ − (B + C L₁²) L₁

Going from temperature to resistance means solving the cubic in L = ln R:

x = (A − 1/T) ÷ 2C     y = √((B ÷ 3C)³ + x²)     R = exp(∛(y − x) − ∛(y + x))

The B value of the Beta model comes from two points:

B = ln(R₁ ÷ R₂) ÷ (1/T₁ − 1/T₂)

How to calculate Steinhart-Hart coefficients: worked examples

Example 1: the Stanford Research Systems calibration

25415 Ω at 5 °C, 10021 Ω at 25 °C and 6545 Ω at 35 °C. Solving the system gives A = 1.1384e-3, B = 2.3245e-4 and C = 9.4890e-8, which match the published 1.1384 × 10⁻³, 2.3245 × 10⁻⁴ and 9.489 × 10⁻⁸ to all the digits it prints.

Example 2: fit a datasheet, predict another point

Take three values from the Vishay NTCLE100E3103 table: 32554 Ω at 0 °C, 10 kΩ at 25 °C and 1070 Ω at 85 °C. The fit gives A = 1.1377e-3, B = 2.3253e-4 and C = 9.5479e-8. At 50 °C it predicts 3.604 kΩ, against the datasheet's 3605 Ω, a difference of -0.03 %.

Example 3: resistance from temperature

With Newport's 10K3A constants, 50 °C needs the cubic solved for ln R: 1/323.15 = 1.1292e-3 + 2.3411e-4 L + 8.7755e-8 L³, which gives R = 3.601 kΩ. The BetaTHERM 10K3A1 table in Microchip AN685 lists 3601.0 Ω at 50 °C.

Published Steinhart-Hart coefficients for 10k thermistors

Coefficients from public sources, with the resistance each gives at 25 °C computed here. Use them only with a thermistor of the same material.

SourceABCR at 25 °C
Newport 710 mount, 10K3A1.1292e-32.3411e-48.7755e-810 kΩ
TI-Innovator Hub default1.1291e-32.3413e-48.7674e-810 kΩ
SRS LDC Note 4 example1.1384e-32.3245e-49.4890e-810.02 kΩ

Steinhart-Hart against Beta on a real datasheet

The Vishay NTCLE100E3103 R-T table, converted to temperature two ways: a Steinhart-Hart fit through 0, 25 and 85 °C, and a Beta model with B25/85 = 3978 K computed from the same table. The error is the computed temperature minus the true one.

TemperatureDatasheet RSteinhart-Hart errorBeta error
-40 °C332.1 kΩ-0.057 °C+2.996 °C
-20 °C96.36 kΩ-0.019 °C+1.719 °C
-10 °C55.05 kΩ-0.007 °C+1.203 °C
0 °C32.55 kΩ+0.000 °C+0.765 °C
10 °C19.87 kΩ+0.003 °C+0.404 °C
25 °C10 kΩ+0.000 °C+0.000 °C
40 °C5.33 kΩ-0.007 °C-0.241 °C
50 °C3.605 kΩ-0.009 °C-0.310 °C
60 °C2.49 kΩ-0.015 °C-0.313 °C
70 °C1.753 kΩ-0.014 °C-0.243 °C
85 °C1.07 kΩ+0.000 °C+0.000 °C
100 °C677.3 Ω+0.009 °C+0.381 °C
125 °C338.7 Ω+0.080 °C+1.382 °C
150 °C182.6 Ω+0.210 °C+2.817 °C

Getting a good fit

Spread the three points across the range you will use: two near the ends and one near the center. Points close together amplify measurement error, and C is especially sensitive because it comes from a small difference of small numbers. Treat the fit as valid only between the outer points: outside them it is an extrapolation.

Hold the thermistor at a stable temperature, in a stirred bath if you can, and keep the measuring power low so self-heating does not bias the points. Use a resistance meter accurate enough for the temperature resolution you want: at 25 °C a thermistor changes about 4 % per kelvin, so 0.1 % of resistance error is roughly 0.03 °C.

A fit corrects the shape of the curve, not the spread between parts. Unless you calibrate each thermistor, the R25 and B tolerance of the part still sets the accuracy.

Glossary

Steinhart-Hart equation
A three-coefficient curve fit, 1/T = A + B ln R + C (ln R)³, for thermistor temperature.
Beta model
The two-parameter form R = R0 exp(B (1/T − 1/T0)), equivalent to Steinhart-Hart with C = 0.
B value
The slope constant of the Beta model in kelvin, defined between two temperatures such as 25 and 85 °C.
Calibration point
A measured pair of resistance and temperature used to fit the coefficients.
Local B value
The slope of the Steinhart-Hart curve at one point, 1 ÷ (B + 3C ln²R), which is what the Beta model approximates.
Extrapolation
Using a fitted curve outside the calibration points, where its accuracy is unknown.

Related guides

Frequently asked questions

What is the Steinhart-Hart equation?

The Steinhart and Hart equation is an empirical fit for the temperature of an NTC thermistor: 1/T = A + B ln R + C (ln R)³, with T in kelvin and R in ohms. It was published in 1968 and is the standard way to convert thermistor resistance to temperature.

How do you find the Steinhart-Hart equation coefficients?

Measure the resistance at three temperatures, write the equation once for each, and solve the 3 × 3 linear system for A, B and C. Stanford Research Systems' example with 25415 Ω at 5 °C, 10021 Ω at 25 °C and 6545 Ω at 35 °C gives A = 1.1384e-3, B = 2.3245e-4 and C = 9.4890e-8.

What are the Steinhart-Hart coefficients for a 10k thermistor?

They depend on the material, not just the 10 kΩ. For a 10K3A type, Newport publishes A = 1.1292e-3, B = 2.3411e-4 and C = 8.7755e-8, and the TI-Innovator Hub defaults to a nearly identical set. Both match the BetaTHERM 10K3A1 table in Microchip AN685 within 0.01 °C from 0 to 100 °C, but a thermistor with a different B needs its own coefficients.

Is Steinhart-Hart more accurate than the Beta equation?

Yes, over any range wider than a few tens of degrees. For a Vishay NTCLE100E3103, a three-point fit at 0, 25 and 85 °C is within 0.06 °C at −40 °C, where a Beta model using B25/85 from the same table reads 3.00 °C high. Near room temperature the two are close.

Which three temperatures should I calibrate at?

Two near the ends of the range you need and one near the center, as in the Stanford Research Systems calibration example. Ice water and boiling water are convenient reference points if you measure the resistance and temperature with an accurate meter. Keep the measuring power low so self-heating does not bias the fit.

How accurate is the Steinhart-Hart equation?

Microchip AN685 states that the equation provides ±0.1 °C accuracy over the full temperature range for a typical thermistor. That accuracy applies to the calibrated part: unit-to-unit tolerance is usually larger, so calibrating each part is what brings a real system near it.

How do I convert temperature to resistance with Steinhart-Hart?

Solve the cubic C L³ + B L + (A − 1/T) = 0 for L = ln R, then R = exp(L). With x = (A − 1/T) ÷ 2C and y = √((B ÷ 3C)³ + x²), L = ∛(y − x) − ∛(y + x). For the Newport 10K3A set at 50 °C this gives 3.601 kΩ; AN685 lists 3.601 kΩ.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.