LM317 Calculator (Output Voltage & Resistor Values)
Find the LM317 output voltage from R1 and R2, or the R2 value (with the nearest standard resistor) for a target voltage. Also checks the…
Find the LM317 output voltage from R1 and R2, or the R2 value (with the nearest standard resistor) for a target voltage. Also checks the minimum input voltage and the regulator's power dissipation.
Results
About This Calculator
The LM317 holds 1.25 V between its OUT and ADJ pins. Vout = 1.25 × (1 + R2/R1) + 50 µA × R2. R1 is usually 240 Ω (120 Ω for the LM317L) so that enough minimum load current flows.
The input must be about 3 V above the output. Everything above that is burned as heat: P = (Vin − Vout) × I.
Example
Example: for 5 V with R1 = 240 Ω, R2 = 713.2 Ω (E24: 680 Ω → 4.826 V). From 12 V at 0.5 A the LM317 dissipates 3.5 W, so it needs a heat sink.
Assumptions
Typical data-sheet values (1.25 V reference, 50 µA adjust current, ~3 V dropout at full current). Above ~1 W, use a heat sink, or a switching regulator for better efficiency.
Frequently Asked Questions
What resistors give 12 V from an LM317?
R1 = 240 Ω and R2 ≈ 2.04 kΩ (use 2 kΩ for 11.8 V or 2.2 kΩ for 12.8 V).
What is the LM317's minimum output?
1.25 V, with R2 = 0.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile