To Many Calculator logoTo Many Calculator

LM317 Calculator

Kaushik RabadiyaCreated by Kaushik RabadiyaLast updated: September 24, 2026

LM317 instantly calculates results using r1, r2, voltage. Use the calculator above for instant answers in your browser.

The LM317 Calculator is an essential electronics tool designed to help hobbyists, students, and professional engineers determine the precise output voltage of an adjustable voltage regulator circuit. By taking your resistor values—specifically R1 and R2—as inputs, this calculator eliminates manual arithmetic errors and ensures your electronic components receive the exact voltage they require.

How the LM317 Voltage Formula Works

The LM317 is a popular adjustable positive voltage regulator that maintains a constant nominal reference voltage of 1.25 volts between its output and adjustment terminals. This internal reference voltage forces a constant current to flow through resistor R1, which in turn flows through resistor R2 to ground. The standard governing equation is: Voltage = 1.25 × (1 + (R2 / R1)). Note that this formula calculates the ideal theoretical output; real-world circuits must also account for a tiny quiescent adjustment pin current (typically around 50 microamps) flowing out of the adjust terminal, though it is often negligible for standard resistor values under 240 ohms.

Worked Calculation Example

Suppose you are designing a variable power supply and you select a standard value of 240 ohms for resistor R1 to ensure a minimum load current. You want to find out what output voltage you will achieve by using a 1,200 ohm (1.2 kΩ) resistor for R2. First, divide R2 by R1: 1,200 / 240 = 5. Next, add 1 to that result: 1 + 5 = 6. Finally, multiply by the 1.25V internal reference voltage: 1.25 × 6 = 7.5 volts. Therefore, your circuit will output a stable 7.5 volts.

Practical Tips for LM317 Circuit Design

Always keep resistor R1 relatively small—typically 240 ohms or less—to maintain sufficient load current and stabilize the regulator. Ensure your input voltage is at least 3 volts higher than your desired maximum output voltage to allow proper headroom for the regulator to operate efficiently. Finally, always attach an appropriately sized aluminum heatsink if your circuit handles significant current drops, as thermal dissipation can cause the device to enter thermal shutdown.

FAQs

How does LM317 work?

The LM317 works by internally monitoring the voltage drop across an external resistor connected between its output and adjustment pins, maintaining a steady 1.25V reference. By utilizing an external resistive divider network connected to ground, it dynamically adjusts internal pass transistors to keep the output voltage locked at a stable, user-defined level regardless of minor input fluctuations.

What is a LM317 used for?

An LM317 is primarily used as an adjustable positive voltage regulator in electronic circuits. Engineers and makers deploy it in variable bench power supplies, battery chargers, current limiters, and precision dimming controllers where a clean, steady, and adjustable DC voltage is required from an unregulated higher-voltage source.

What is the maximum input voltage of a LM317?

The maximum input-to-output voltage differential for a standard LM317 is typically 40 volts, while the absolute maximum input voltage depends on the specific manufacturer variant and packaging, usually capped around 37V to 40V. However, the critical specification to watch is the voltage drop across the device multiplied by the load current, which dictates your thermal dissipation limits.

What is the output voltage of a LM317?

The output voltage of an LM317 is completely adjustable and typically ranges from 1.25 volts up to about 37 volts DC. The exact output is determined entirely by the ratio of the two external feedback resistors (R1 and R2) attached to the adjustment pin according to the standard regulatory feedback equation.

Formula verified against Peer-reviewed references — all calculations use deterministic, standards-based formulas.

Related calculators