The LM317L is the low-current, 100mA sibling of the legendary LM317 adjustable linear voltage regulator. While standard LM317 calculators assume you are pushing 1.5A through a TO-220 package with a heatsink, the 'L' variant is typically stuffed into a TO-92 or SOIC-8 package for low-power bias rails, sensor excitation, and microcontroller standby circuits. Using a standard calculator without adjusting for the LM317L's specific adjustment pin current ($I_{adj}$) and thermal constraints will result in voltage drift or a melted TO-92 package.

This guide provides the exact LM317L calculator formula, rearranged forms for component selection, fully tracked worked examples, and a hard-termination decision path to finalize your bill of materials.

The LM317L Output Voltage Formula & Symbol Definitions

The output voltage of the LM317L is determined by an internal reference voltage and an external resistor divider network. The exact governing equation is:

Vout = Vref × (1 + R2 / R1) + Iadj × R2

Every symbol in this equation represents a specific physical parameter. Ignoring the final term is the most common mistake hobbyists make when calculating for high-voltage, low-current outputs.

Symbol Parameter Typical Value / Range Notes for LM317L
Vout Target Output Voltage 1.25V to 37V Practically limited to ~20V in TO-92 due to thermal dissipation limits.
Vref Internal Reference Voltage 1.25V Nominal is 1.25V. Datasheet guarantees 1.20V to 1.30V across temperature.
R1 Programming Resistor 1 120Ω to 330Ω Connects from OUT pin to ADJ pin. Sets minimum load current.
R2 Programming Resistor 2 0Ω to ~33kΩ Connects from ADJ pin to Ground.
Iadj Adjustment Pin Current 50 µA (Max 100 µA) Flows out of the ADJ pin through R2. Creates a voltage error if R2 is large.

Rearranged Forms for Component Selection

You rarely solve for Vout from scratch; usually, you know the voltage you need and must find the resistor values. Here are the algebraically rearranged forms with the $I_{adj}$ term preserved for precision.

  • Solve for R2 (Most Common):
    R2 = (Vout - Vref) / [ (Vref / R1) + Iadj ]
  • Solve for R1 (If R2 is fixed):
    R1 = (Vref × R2) / (Vout - Vref - Iadj × R2)
  • Solve for Vout (Verification):
    Vout = Vref + (Vref × R2 / R1) + (Iadj × R2)
Bench Tip: Always use 1% tolerance metal film resistors for R1 and R2. The LM317L's internal Vref has a ±4% tolerance; adding 5% carbon composition resistors on top of that guarantees your output will miss the target by up to 10%.

Worked Examples with Unit Tracking

Abstract formulas cause wiring mistakes. Here are two concrete design scenarios with explicit unit tracking to show how the math translates to physical components.

Problem 1: 5.0V Rail from a 9V Battery (Standard Load)

Scenario: You need a stable 5.0V supply for a low-power sensor drawing 20mA. You have a 9V battery. You select R1 = 240Ω (the standard default to ensure minimum load). Assume nominal Vref = 1.25V and typical Iadj = 50 µA (0.00005 A).

Step 1: Identify knowns and convert to base SI units.

  • Vout = 5.0 V
  • Vref = 1.25 V
  • R1 = 240 Ω
  • Iadj = 0.00005 A

Step 2: Apply the rearranged formula for R2.

R2 = (5.0 - 1.25) / [ (1.25 / 240) + 0.00005 ]

Step 3: Calculate the denominator (current terms).

  • Current through R1 = 1.25 V / 240 Ω = 0.005208 A
  • Total denominator = 0.005208 A + 0.00005 A = 0.005258 A

Step 4: Final division.

R2 = 3.75 V / 0.005258 A = 713.19 Ω

Concrete Pick: Select a standard E96 series 715Ω 1% resistor. This yields a final output of 5.01V, well within acceptable tolerances.

Problem 2: 15V Bias Supply (The Iadj Trap)

Scenario: You are designing an ultra-low quiescent current bias supply outputting 15V. To minimize bleed current, you choose a large R1 = 1.2 kΩ (1200Ω). You must calculate R2 using worst-case Iadj = 100 µA (0.0001 A).

Step 1: Apply formula.

R2 = (15.0 - 1.25) / [ (1.25 / 1200) + 0.0001 ]

Step 2: Calculate denominator.

  • Current through R1 = 1.25 / 1200 = 0.0010416 A
  • Total denominator = 0.0010416 A + 0.0001 A = 0.0011416 A

Step 3: Final division.

R2 = 13.75 V / 0.0011416 A = 12,044 Ω

The Trap: If you had ignored the Iadj term (as many basic online calculators do), your denominator would just be 0.0010416 A, resulting in R2 = 13,200Ω. That 1.1 kΩ difference would push your actual output voltage up to 16.3V, potentially destroying your 15V-rated load. Always include Iadj when R1 > 500Ω.

Assumptions, Unit Traps, and Realistic Magnitudes

The LM317L calculator formula is not a magic wand; it operates within strict physical boundaries defined by the silicon and the package.

When the Formula Applies (Assumptions)

  1. Dropout Voltage Maintained: The formula assumes Vin is at least 2.0V to 2.5V higher than Vout. If you feed it 12V and ask for 11V, the formula will output 11V on paper, but the physical chip will drop out and pass roughly 10.5V with heavy ripple.
  2. Minimum Load Current Met: The LM317L requires a minimum load of roughly 2.5mA to 5mA to regulate properly. R1 provides this. If R1 is too large (e.g., 10kΩ), the chip will fail to regulate at zero external load.
  3. Thermal Equilibrium: Vref drifts slightly with junction temperature. The formula assumes the chip is not in thermal shutdown.

Unit Mistakes That Break the Math

  • The Kilo-Ohm Mismatch: Entering R1 as 0.24 (meaning kΩ) but entering Iadj in microamps without converting to base Amperes. Always convert everything to Volts, Amperes, and Ohms before calculating.
  • Ignoring the Pinout: The math is useless if the chip is wired backward. The TO-92 LM317L pinout (Vout, Adj, Vin) is completely different from the standard TO-220 LM317 pinout (Adj, Vout, Vin). Verify your specific package against the Texas Instruments LM317L datasheet.

Realistic Answer Magnitudes

If your LM317L calculator spits out an R2 value of 150 kΩ, your design is flawed. At that resistance, the Iadj error term dominates, and noise pickup on the ADJ pin will cause massive output ripple. Keep R2 under 33 kΩ and R1 between 120Ω and 330Ω.

Decision Path: Sizing Your LM317L Regulator Network

Use this decision tree to validate your design and terminate on a concrete component selection. Do not proceed to the next step until the current condition is met.

Step Condition / Question If YES / Condition Met If NO / Condition Fails
1 Is maximum load current ≤ 100mA? Proceed to Step 2. Stop. Use standard LM317 (TO-220) or a buck converter.
2 Is Vin - Vout ≥ 2.5V? Proceed to Step 3. Stop. Use a true LDO like the TLV1117 or HT73xx series.
3 Is Power Dissipation [(Vin - Vout) × Iload] ≤ 0.5W? Proceed to Step 4. (TO-92 is safe). Stop. Use LM317L in SOIC-8 with PCB copper pour, or switch to standard LM317 with heatsink.
4 Select R1. Is Iload(min) ≥ 5mA? Use R1 = 240Ω. If load can drop to 0mA, use R1 = 120Ω to guarantee minimum chip load.
5 Calculate R2 using the rearranged formula. Select nearest 1% E96 resistor. If calculated R2 > 33kΩ, lower R1 and recalculate.
Default Recommendation: For 90% of hobbyist and prototyping applications under 100mA, lock in R1 = 240Ω 1% metal film. It guarantees the 5mA minimum load, keeps the ADJ pin impedance low enough to ignore most EMI, and makes the mental math for R2 straightforward (roughly R2 = R1 × [(Vout/1.25) - 1]).

Thermal Limits and Dropout Realities for the 'L' Variant

The most critical difference between the LM317 and the LM317L is not the math; it is the thermodynamics. The standard LM317 in a TO-220 package can dissipate 2W easily with a small heatsink. The LM317L in a TO-92 plastic package has a junction-to-ambient thermal resistance ($\theta_{JA}$) of roughly 160°C/W.

Let us run a realistic thermal magnitude check. Suppose you are regulating a 12V wall adapter down to 5V for an ESP8266 module that draws an average of 80mA.

  • Voltage Drop: 12V - 5V = 7V
  • Current: 0.080 A
  • Power Dissipation (Pd): 7V × 0.080A = 0.56W

According to ON Semiconductor's LM317L thermal guidelines, a TO-92 package maxes out around 0.6W to 0.8W at 25°C ambient before the internal thermal shutdown circuitry triggers at 165°C. At 0.56W, the junction temperature will rise by roughly 90°C above ambient (0.56W × 160°C/W). If your enclosure sits at 35°C, your silicon junction is at 125°C. The chip will regulate, but it will be too hot to touch, and Vref will drift due to thermal gradients.

The Fix: If your Pd calculation exceeds 0.4W, do not use the TO-92 LM317L. Either switch to the SOIC-8 surface-mount LM317L (using the PCB copper as a heatsink via the thermal pad) or abandon linear regulation entirely in favor of a switching buck module like the LM2596 or TPS5430. Linear regulators burn excess voltage as heat; the LM317L calculator can give you the perfect resistor values, but it cannot change the laws of thermodynamics.