Calculators / LM317 & LDO Regulator Calculator
LM317 & LDO Regulator Calculator
Set an LM317 output with E24 feedback resistors, or estimate LDO headroom, efficiency, power and temperature.
Inputs
Try the prefilled example, or enter your own values.
Result
Calculate to see the result and worked steps. Changing an input clears the previous result.
How to use
- Choose LDO, LM317 analysis, or LM317 E24 R2 selection.
- Enter actual device reference, adjust/ground current, minimum load and dropout from its datasheet.
- Check headroom, the output-load condition, device heat and feedback-resistor power separately.
Formula and assumptions
LM317: Vout = Vref(1 + R2/R1) + IadjR2. LDO: Pdevice = (Vin − Vout)Iload + VinIgnd. Tj ≈ Ta + θJA × Pdevice.
Steady DC regulation at the entered dropout and currents. LDO and LM317 headroom have separate inputs; the LM317 default is 3 V following the TI datasheet recommendation. LM317 R1 connects OUT to ADJ and R2 connects ADJ to ground; output is limited to 37 V and input-output differential to 40 V. Programming current and adjust-pin power are included. θJA depends on the actual board and cooling; this estimate does not approve a package rating.
Sources
Worked example
An LDO from 5 V to 3.3 V at 100 mA, with 50 µA ground current, dissipates 170.25 mW. At 25 °C and 60 °C/W its estimated junction is 35.215 °C.
Common mistakes
The LM317 feedback branch draws output current even with no useful load. A nominal reference does not guarantee minimum-load regulation, current limit, stability or temperature margin.