Precision Vout from resistor divider — design linear power supplies, battery chargers, and lab benches. Includes step‑by‑step derivation, thermal design tips, and reference circuit.
The LM117 and LM317 are iconic three-terminal adjustable linear regulators capable of supplying over 1.5A of load current with an output voltage range from 1.25V to 37V (input-output differential up to 40V). Developed by Robert "Bob" Dobkin at National Semiconductor in the 1970s, the LM117 set the standard for adjustable regulators with built-in current limiting, thermal overload protection, and safe-area compensation. The LM317 is the commercial version while the LM117 meets military temperature range. This calculator implements the fundamental equation derived from the internal bandgap reference: VOUT = VREF × (1 + R2/R1) + IADJ × R2 where VREF = 1.25V (typical, 1.2V–1.3V guaranteed). IADJ ≈ 50µA flows from the ADJUST terminal, negligible for most designs but important when R2 is high.
✍️ Classic design formula (ignoring Iadj):
VOUT = 1.25V × (1 + R2/R1)
For precision designs: VOUT = 1.25V × (1 + R2/R1) + (IADJ × R2). With IADJ = 50μA.
| Desired Vout (V) | R2 theoretical (Ω) | Nearest E96 1% resistor (Ω) | Actual Vout (V) |
|---|---|---|---|
| 3.3 | 393.6 | 392 | 3.292 |
| 5.0 | 720.0 | 715 / 732 | 4.98 / 5.06 |
| 9.0 | 1488 | 1500 | 9.06 |
| 12.0 | 2064 | 2050 / 2100 | 11.93 / 12.19 |
| 15.0 | 2640 | 2610 | 14.84 |
A hobbyist builds a 1.25V–15V variable supply using LM317, R1 = 240Ω, and a 5kΩ potentiometer as R2. Our calculator shows that with R2=0 → 1.25V, R2=5kΩ yields Vout ≈ 1.25×(1+5000/240) ≈ 27.3V (exceeds input limit). Use 2.5kΩ pot for 1.25V–14.2V range. Also, include a fixed resistor in series to limit max voltage. Tool instantly verifies settings and highlights proper potentiometer selection.