NTC Thermistor Calculator (Beta Equation)

Convert NTC thermistor resistance to temperature and back with the Beta equation, or turn an Arduino ADC reading from a divider into °C.

  • Free, no signup
  • Works on mobile
  • Formula + worked example

How to use the NTC thermistor calculator

  1. Pick your NTC type. Most Arduino temperature modules and loose thermistors are 10 kΩ, B3950; 3D-printer hot-end thermistors are usually 100 kΩ, B3950. Choose Custom to type R25 and Beta from your datasheet.
  2. Choose a mode:
    • R → °C — you measured the thermistor's resistance with a multimeter.
    • °C → R — you want to know what resistance to expect at a temperature.
    • Divider + ADC — the thermistor is wired to a microcontroller pin with a series resistor, and you have the analogRead() value.
  3. Read the temperature, resistance and sensitivity. The curve shows where you are, and the table lists resistance (and expected ADC counts in divider mode) from −20 °C to 120 °C.

What an NTC thermistor is

NTC stands for Negative Temperature Coefficient: the resistance goes down as the temperature goes up. A 10 kΩ NTC is 10 kΩ at 25 °C, about 33.6 kΩ at 0 °C and only about 700 Ω at 100 °C (for B3950). This large change makes it cheap and sensitive — but the curve is not a straight line, so you need a formula.

Formula

The Beta equation is the standard simple model. Temperatures are in kelvin (K = °C + 273.15):

1/T = 1/T0 + ln(R / R0) ÷ B R = R0 × e^( B × (1/T − 1/T0) )
  • R0 — resistance at the reference temperature T0 (R25 at 25 °C = 298.15 K)
  • B — the Beta value from the datasheet, in kelvin

For a divider read by an ADC with n bits:

V_adc = reading × V_ref ÷ 2^n NTC to GND: R_NTC = R_series × V_adc ÷ (Vcc − V_adc) NTC to Vcc: R_NTC = R_series × (Vcc − V_adc) ÷ V_adc
Temperature10 kΩ B395010 kΩ B3435100 kΩ B3950
−20 °C105.4 kΩ77.5 kΩ1.054 MΩ
0 °C33.62 kΩ28.70 kΩ336.2 kΩ
25 °C10.00 kΩ10.00 kΩ100.0 kΩ
50 °C3.588 kΩ4.101 kΩ35.88 kΩ
100 °C698 Ω987 Ω6.975 kΩ

Choosing the series resistor

The divider is most sensitive at the temperature where the series resistor equals the NTC's resistance. For a 10 kΩ NTC, a 10 kΩ resistor is best around 25 °C — good for rooms, aquariums and weather stations. For a 3D-printer hot end at 200 °C+, a 100 kΩ NTC with a 4.7 kΩ series resistor is common because the thermistor's resistance is low when hot. The calculator tells you the matching temperature for your resistor.

Common mistakes

  • Using °C inside the formula. The Beta equation needs kelvin. Add 273.15 first.
  • Swapping the divider formula. If the NTC is on the Vcc side, the voltage rises as it gets hotter. Pick the matching wiring option or your readings will move the wrong way.
  • Mixing up B values. "B25/50" and "B25/85" are measured between different temperature pairs. Use the one your datasheet gives for your range.
  • Self-heating. Current through the NTC warms it. Keep divider current small, under about 0.5 mA for a 10 kΩ part.
  • Trusting the raw ESP32 ADC. The ESP32 ADC is not linear near its ends; use analogReadMilliVolts().

Need the plain voltage from an ADC count? Use the ADC voltage calculator or the voltage divider calculator. Comparing boards for a weather station? Read Arduino vs ESP32 vs Raspberry Pi Pico, or find sensors in our products.

Frequently asked questions

How do I convert NTC thermistor resistance to temperature?+

Use the Beta equation: 1/T = 1/T0 + ln(R/R0) ÷ B, with temperatures in kelvin. For a 10 kΩ B3950 NTC that reads 5 kΩ: 1/T = 1/298.15 + ln(0.5) ÷ 3950, so T ≈ 314.6 K = 41.5 °C.

What does B3950 mean on a thermistor?+

It is the Beta value, 3950 K. It describes how steeply the resistance falls as temperature rises. A higher Beta means a bigger resistance change per degree. You need it, together with R25, to convert resistance into temperature.

What series resistor should I use with a 10k NTC on Arduino?+

A 10 kΩ resistor is the usual choice. A divider is most sensitive where the series resistor equals the thermistor's resistance, and a 10 kΩ NTC is 10 kΩ at 25 °C — ideal for room and weather measurements.

How accurate is the Beta equation?+

Near the reference temperature (usually 25 °C) it is typically within a fraction of a degree. Far from it, for example above 80 °C or below 0 °C, the error can reach a degree or more. Use the datasheet table or Steinhart–Hart for higher accuracy.

Why does my thermistor reading go the wrong way?+

Check which side of the divider the NTC is on. With the NTC to GND the voltage falls as it heats up; with the NTC to Vcc the voltage rises. Use the matching formula — the calculator has both wiring options.

From the Thinking Robot store

Shop all
All tools
WhatsApp