LM317 Voltage Regulator Calculator
Calculate LM317 resistor values, regulator power dissipation, and ideal efficiency for an adjustable DC supply.
About the LM317 calculator
LM317 design examples
| Design inputs | Calculated result | Design note |
|---|---|---|
| 12 V in, 5 V out, 0.5 A, R1 240 Ω | R2 720 Ω; heat 3.5 W | The regulator likely needs a suitable heat sink. |
| 15 V in, 9 V out, 0.25 A, R1 220 Ω | R2 1,364 Ω; heat 1.5 W | A nearby preferred resistor changes output slightly. |
| 9 V in, 3.3 V out, 0.1 A, R1 240 Ω | R2 393.6 Ω; heat 0.57 W | Check dropout at the lowest input voltage. |
| 18 V in, 12 V out, 0.75 A, R1 240 Ω | R2 2,064 Ω; heat 4.5 W | Thermal design is essential at this load. |
How to design an LM317 circuit
- Enter the minimum DC voltage available at the regulator input.
- Enter the required regulated output voltage and maximum load current.
- Keep the common 240-ohm R1 value or enter another data-sheet-approved value.
- Select Calculate LM317 circuit and review R2, heat dissipation, and ideal efficiency.
- Choose practical resistor and heat-sink parts, then verify the finished circuit under load.
LM317 calculator FAQ
Why is R1 often 240 ohms?
A 240-ohm resistor draws about 5.2 mA from the 1.25 V reference. That helps meet the classic LM317's minimum load while keeping wasted current modest.
Does the formula include adjustment-pin current?
This calculator uses the common simplified equation and neglects the small adjustment current. Precision designs should include the data-sheet maximum and component tolerances.
How much input headroom does an LM317 need?
A traditional LM317 typically needs roughly 2 to 3 volts above the output to regulate. Check the exact device's dropout specification at your load current and temperature.
When does the regulator need a heat sink?
A heat sink is needed when package thermal resistance would let junction temperature exceed its safe limit. Calculate junction rise from dissipated watts and total thermal resistance, then retain design margin.
Can an LM317 deliver 1.5 amps continuously?
Some versions are rated up to 1.5 A under suitable conditions. Available current is limited by input-output differential, cooling, package, current limiting, and safe operating area.