FireCADCalc

Adjustable Linear Regulator (LM317 Type): Resistors and Dissipation

Programming resistor for a 1.25 V adjustable linear regulator such as the LM317, with the adjust-pin error, minimum input voltage and regulator dissipation.

Inputs

Examples: Illustrative: 5 V from 12 V at 0.5 A, R1 240 ohm12 V output from 18 V at 1 A3.3 V at 100 mA with R1 120 ohm, 5.5 V input (below dropout)

Accepted: 1.3 to 60 V
Accepted: 50 to 100,000 Ω
Accepted: 1 to 2 V
Accepted: 0 to 1 mA
Accepted: 2 to 60 V
Accepted: 0 to 5 A
Accepted: 0.1 to 5 V

Results

V_out = V_ref(1 + R₂/R₁) + I_adj R₂. Keep the current through R₁ above the regulator's minimum load (about 3.5–10 mA) and choose the nearest standard R₂.

Resistor from adjust to ground713.15Ω
R₂ ignoring the adjust current720.00Ω
Minimum input voltage V_out + V_do7.5000V
Regulator dissipation (V_in − V_out) I_out3.5000W
Efficiency V_out/V_in41.667%

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Illustrative: 5 V from 12 V at 0.5 A, R1 240 ohm. The inputs, in the units selected above:

InputValue
Required output voltage5.0000 V
Resistor from output to adjust (typically 240 Ω)240.00 Ω
Reference voltage1.2500 V
Adjust-pin current0.050000 mA
Input voltage12.000 V
Load current0.50000 A
Dropout voltage2.5000 V

Applying the formula below gives:

ResultValue
Resistor from adjust to ground713.15 Ω
R₂ ignoring the adjust current720.00 Ω
Minimum input voltage V_out + V_do7.5000 V
Regulator dissipation (V_in − V_out) I_out3.5000 W
Efficiency V_out/V_in41.667 %

Open this example in the calculator and change any input.

Formula

\(V_{out} = V_{ref}\left(1 + \frac{R_2}{R_1}\right) + I_{adj}R_2 \;\Rightarrow\; R_2 = \frac{V_{out} - V_{ref}}{V_{ref}/R_1 + I_{adj}}, \quad P_D = (V_{in} - V_{out})I_{out}\)

Variables

Symbol Meaning SI unit
\(V_{out}\) Required output voltage V
\(R_1\) Resistor from output to adjust (typically 240 Ω) Ω
\(V_{ref}\) Reference voltage V
\(I_{adj}\) Adjust-pin current A
\(V_{in}\) Input voltage V
\(I_{out}\) Load current A
\(V_{do}\) Dropout voltage V
\(R_2\) Resistor from adjust to ground Ω
\(R_{2,ideal}\) R₂ ignoring the adjust current Ω
\(V_{in,min}\) Minimum input voltage V_out + V_do V
\(P_D\) Regulator dissipation (V_in − V_out) I_out W
\(\eta\) Efficiency V_out/V_in -

Method and standards

Adjustable linear regulator design.

Where it is used

  • Bench and laboratory supplies, sensor supplies.
  • Post-regulation after switching converters.

Common mistakes

  • Forgetting the dropout voltage.
  • Ignoring the heat dissipated in the regulator.

Assumptions and limits

  • Typical datasheet values for V_ref, I_adj and dropout.

References

  • Adjustable three-terminal regulator relations

Questions and answers

Why is R₁ usually 240 Ω?

1.25 V across 240 Ω draws about 5 mA, enough to meet the regulator's minimum load current with no load connected.

When is a linear regulator a poor choice?

When V_in − V_out times the current is large: 7 V dropped at 0.5 A wastes 3.5 W as heat, and a switching regulator would be better.

What do the defaults represent?

An illustrative 5 V output from 12 V at 0.5 A with R₁ = 240 Ω.

Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Sources

Horowitz and Hill, The Art of Electronics, 3rd ed. (Cambridge University Press, 2015), ch. 9

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.