LM317 Adjustable Regulator Calculator

VOUT = 1.25 × (1 + R2/R1) + IADJ × R2. For 5 V, nearest R2 is 715 Ω.

Calculator

FAIL5.01 V · R2 715 ΩIdiv 5.208 mA

VOUT = 1.25 V × (1 + R2/R1) + IADJ × R2. Minimum load 10 mA max. R1 = 240 Ω is only ~5.2 mA. TI SLVS044 — not a thin part-number page.

R2 exact (with IADJ)
713.15 Ω
R2 ignoring IADJ
720 Ω
R2 used
715 Ω
VOUT typical / min / max
5.01 V / 4.811 V / 5.209 V
Idiv = 1.25 V / R1
5.208 mA
Idiv + Iload
5.208 mA
VIN − VOUT
3.99 V
P (not a thermal pass)
20.98 mW
  • Fail Minimum load: Idiv + Iload = 5.21 mA. Fail below 10 mA (maximum of the min-load spec). 240 Ω R1 is only ~5.2 mA.
  • Pass VIN − VOUT vs 3 V recommendation: VIN − VOUT = 3.990 V. TI recommends about 3 V; the datasheet does not guarantee dropout.
  • Pass VIN − VOUT absolute maximum: VIN − VOUT typical is 3.99 V. Absolute maximum 40 V.
LM317 adjustable regulator, VIN 9 V, VOUT 5.01 V, R1 240 Ω, R2 715 Ω TO-220 pin order ADJ, OUT, IN. R1 from OUT to ADJ, R2 from ADJ to ground. Tab is OUT. Not a datasheet figure. LM317 · 1 ADJ · 2 OUT · 3 IN · tab = OUT LM317 VREF 1.25 V typ IADJ 50 µA typ VIN 9 V IN OUT VOUT 5.01 V R1 240 Ω ADJ R2 715 Ω Idiv = 1.25 V / R1 = 5.208 mA · design to 10 mA max min-load

Formula

Adjustable output

VOUT=1.25(1+R2R1)+IADJR2 VOUT = 1.25 V × (1 + R2/R1) + IADJ × R2

Variables

Symbol Meaning Unit Typical range Precision Default
VOUT Target output V ≥ 0 V > 1.25 V when sizing R2; recommended up to 37 V 4 sig 5 V
R1 OUT to ADJ Ω ≥ 0 mΩ TI programme example uses 240 Ω; 120 Ω draws the 10 mA min-load from the divider alone 3 sig 240 Ω
R2 Nearest R2 Ω — 3 sig —
VO Typical VOUT V — 4 sig —
Idiv Divider current A — 4 sig —
Imin Idiv + Iload A — 4 sig —
VIN−VOUT Headroom V — 3 sig —

Worked example

5 V, R1 = 240 Ω, no extra load

Ignoring IADJ gives R2 = 720 Ω. Divider is only 5.21 mA, below the 10 mA min-load maximum.

Input Value
VOUT · Target output 5 V
R1 · OUT to ADJ 240 Ω
Output Value
R2 · Nearest R2 715 Ω
Idiv · Divider current 5.208 mA
Imin · Idiv + Iload 5.208 mA

5 V, R1 = 120 Ω, R2 = 360 Ω

Input Value
VOUT · Target output 5 V
R1 · OUT to ADJ 120 Ω
Output Value
VO · Typical VOUT 5.018 V
Idiv · Divider current 10.42 mA

How it works

The LM317 holds 1.25 V typical between OUT and ADJ. That reference drives current through R1. The same current plus IADJ through R2 sets VOUT:

VOUT = 1.25 V × (1 + R2/R1) + IADJ × R2

TI’s programme example uses R1 = 240 Ω. That is a current-density choice for IADJ error, not a min-load solution: R1 = 240 Ω is only ~5.2 mA. This calculator fails the min-load check unless Idiv + Iload is at least 10 mA, the maximum of the 3.5 typ / 10 max mA spec. That is the thread that keeps showing up when two online calculators disagree with LTspice — they hid IADJ or they treated 3.5 mA typical as enough.

Pin order on TO-220 is 1 ADJ, 2 OUT (tab), 3 IN. For orderable suffixes and same-pinout differences, use the LM317 TO-220 notes and alternatives rather than a thin extra part-number URL.

Pitfalls

  • R1 = 240 Ω is only ~5.2 mA. Copying the datasheet example without a load (or a smaller R1) is why an LM317 output drifts high at no load.
  • Dropping IADJ. At R2 = 720 Ω the 50 µA typical term is 36 mV; the 100 µA maximum is 72 mV.
  • Treating 3 V headroom as a guaranteed dropout. TI recommends about 3 V; the electrical table does not list a dropout spec.
  • This is not a thermal pass certificate. Dissipation is (VIN − VOUT) × I; size a sink on the heat-sink calculator.

FAQ

What resistors give 5 V on an LM317?

R1 = 240 Ω and R2 = 715 Ω (E96) including typical IADJ. 720 Ω is the ratio-only textbook pair. Check the 10 mA min-load.

Why is 240 Ω not enough by itself?

1.25 V / 240 Ω is 5.21 mA. The min-load maximum is 10 mA, so you need extra load or a smaller R1 (120 Ω draws 10.4 mA).

Does this page pick an LM317 vendor?

No. It uses TI SLVS044 typicals and points at the TO-220 family notes. Same-pinout parts differ on guaranteed current and min-load — see the alternatives page.

What official PDF is this?

https://www.ti.com/lit/ds/symlink/lm317.pdf (SLVS044Z).

Related

Sources