Thermistor curve calculator (Steinhart-Hart and beta)

Fit the Steinhart-Hart equation 1/T = A + B ln R + C (ln R)³ through three resistance and temperature points to convert any coolant or intake air sensor resistance to temperature, compare with the beta model, and see the voltage your ECU input reads.

°F
Ω
°F
Ω
°F

Use points near both ends and the middle of the range you care about. Defaults are the Stanford Research Systems worked example.

Ω
Ω
Ω

Value inside the ECU between the reference voltage and the sensor input. Set 0 to skip.

V

Result

Temperature (Steinhart-Hart)60.9 °F
Voltage at ECU input4.288 V
Temperature (beta model)60.8 °F
Beta (points 1 and 3)3,876 K
Coefficient A0.001138 1.1384e-3
Coefficient B0.000232 2.3245e-4
Coefficient C0.000000095 9.4890e-8

Planning estimate from the formula below, not a measurement.

How it works

The formula, the method step by step, then a worked example.

1/T = A + B ln R + C (ln R)³ (T in kelvin);  β = ln(R₁/R₃) ÷ (1/T₁ − 1/T₃);  V_in = V_ref × R ÷ (R + R_pull-up)
  1. Write the Steinhart-Hart equation at the three points and solve the three linear equations for A, B and C.
  2. Invert it at the measured resistance to get temperature.
  3. The beta model uses one exponential constant from two points; it is close between those points and drifts outside them.
  4. With a pull-up resistor to the reference voltage, the ECU sees a voltage divider.

Worked example

Inputs

Point 1 temperature
41 °F
Point 1 resistance
25415 Ω
Point 2 temperature
77 °F
Point 2 resistance
10021 Ω
Point 3 temperature
95 °F
Point 3 resistance
6545 Ω
Measured resistance
15000 Ω
ECU pull-up resistor
2490 Ω
Reference voltage
5 V

Result

Temperature (Steinhart-Hart)60.9°F
Voltage at ECU input4.288V
Temperature (beta model)60.8°F
Beta (points 1 and 3)3876
Coefficient A0.001138
Coefficient B0.000232
Coefficient C0.000000095

Assumptions and limits

  • NTC thermistor (resistance falls as temperature rises), as used in most coolant and intake air sensors.
  • Self-heating and lead resistance ignored.
  • Fit accuracy depends on the points; use the sensor maker's resistance table.

Related terms

Frequently asked

How do you calculate Steinhart-Hart coefficients?

Measure resistance at three temperatures, write 1/T = A + B ln R + C (ln R)³ at each, and solve the three equations. With 25,415 Ω at 5 °C, 10,021 Ω at 25 °C and 6,545 Ω at 35 °C you get A = 1.1384×10⁻³, B = 2.3245×10⁻⁴ and C = 9.489×10⁻⁸.

What is the difference between beta and Steinhart-Hart?

The beta model uses one constant and is accurate near its two reference points. Steinhart-Hart adds a third term, so it typically stays accurate over a much wider range. Coolant sensors spanning −40 to 130 °C are a good case for Steinhart-Hart.

Why does my ECU need a pull-up resistor value for a temperature sensor?

The ECU measures voltage, not resistance. A pull-up resistor to a reference voltage and the sensor to ground form a divider, V = V_ref × R ÷ (R + R_pull-up). The ECU needs the pull-up value to turn voltage back into resistance and temperature.

Answers draw on the sources below.

Sources

  1. Calibration curves for thermistors (Steinhart and Hart, 1968) · Deep Sea Research and Oceanographic Abstracts 15(4)
  2. LDC Note 4: Calibrate Steinhart-Hart Coefficients for Thermistors · Stanford Research Systems
  3. Automotive Handbook · Robert Bosch GmbH

Spot an error? Tell us.