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.
| Source | A | B | C | R at 25 °C |
|---|
| Newport 710 mount, 10K3A | 1.1292e-3 | 2.3411e-4 | 8.7755e-8 | 10 kΩ |
| TI-Innovator Hub default | 1.1291e-3 | 2.3413e-4 | 8.7674e-8 | 10 kΩ |
| SRS LDC Note 4 example | 1.1384e-3 | 2.3245e-4 | 9.4890e-8 | 10.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.
| Temperature | Datasheet R | Steinhart-Hart error | Beta error |
|---|
| -40 °C | 332.1 kΩ | -0.057 °C | +2.996 °C |
| -20 °C | 96.36 kΩ | -0.019 °C | +1.719 °C |
| -10 °C | 55.05 kΩ | -0.007 °C | +1.203 °C |
| 0 °C | 32.55 kΩ | +0.000 °C | +0.765 °C |
| 10 °C | 19.87 kΩ | +0.003 °C | +0.404 °C |
| 25 °C | 10 kΩ | +0.000 °C | +0.000 °C |
| 40 °C | 5.33 kΩ | -0.007 °C | -0.241 °C |
| 50 °C | 3.605 kΩ | -0.009 °C | -0.310 °C |
| 60 °C | 2.49 kΩ | -0.015 °C | -0.313 °C |
| 70 °C | 1.753 kΩ | -0.014 °C | -0.243 °C |
| 85 °C | 1.07 kΩ | +0.000 °C | +0.000 °C |
| 100 °C | 677.3 Ω | +0.009 °C | +0.381 °C |
| 125 °C | 338.7 Ω | +0.080 °C | +1.382 °C |
| 150 °C | 182.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.
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 →
- NTC thermistor accuracy calculatorFull error budget for an NTC divider read by an ADC: thermistor, resistor, reference, ADC and self-heating errors across temperature, plus a firmware table.
- 10k thermistor table and NTC thermistor calculatorThermistor resistance at any temperature or temperature from resistance with the Beta model, plus divider voltage, ADC code and a lookup table.
- Pt100 chart and RTD calculatorPT100 and PT1000 resistance at any temperature and temperature from resistance with the IEC 60751 Callendar-Van Dusen equation.
- 4-20 mA calculatorConvert 4-20 mA to percent and engineering units and back, size the receiver resistor, and check loop compliance.
- Thermocouple chart and calculatorThermocouple voltage from temperature and temperature from voltage for types K, J, T, E and N, with cold-junction compensation.
- Transimpedance amplifier calculatorFeedback resistor and capacitor for a photodiode TIA, its bandwidth and stability, from the op amp GBW and input capacitance.
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.