LM317 Resistor Calculator
Calculate R2 resistor value for LM317/LM338 adjustable voltage regulator output voltage, with actual Vout and resistor power dissipation.
Formula
Reference: Texas Instruments LM317 Datasheet (SNVS774)
How It Works
The LM317 is a versatile voltage regulator that allows precise output voltage adjustment using two resistors. It operates on the principle of maintaining a constant 1.25V reference voltage between its adjustment and output terminals. By carefully selecting the values of R1 and R2, engineers can create a configurable voltage source for various electronic applications.
Worked Example
Problem: Design an LM317 voltage regulator circuit to output 5V with a typical 240Ω R1 resistor Solution: 1. Use Vref = 1.25V 2. Rearrange formula: R2 = (5V - 1.25V) / (1.25V/240Ω + 0.00005A) 3. Calculate R2 = 750Ω 4. Verify: Vout = 1.25V * (1 + 750/240) + 0.00005A * 750 ≈ 5.00V
Practical Tips
- ✓Use 1% tolerance resistors for more precise voltage regulation
- ✓Add heat sinking for higher current applications
- ✓Include input and output capacitors for stability
Common Mistakes
- ✗Neglecting the small adjustment current (Iadj)
- ✗Choosing resistor values with poor tolerance
- ✗Ignoring thermal considerations and power dissipation
Frequently Asked Questions
Shop Components
Affiliate links — we may earn a commission at no cost to you.
Related Calculators
General
LDO Dropout
Calculate LDO minimum input voltage from dropout specification, determine power dissipation, and estimate efficiency at a given supply voltage.
General
Zener Diode
Calculate series resistor, power dissipation, and load current for zener diode voltage regulators
Power
LDO Thermal
Calculate LDO regulator power dissipation, junction temperature, thermal margin, and minimum dropout voltage for thermal design validation.
General
Ohm's Law
Calculate voltage, current, resistance, and power using Ohm's Law. Enter any two values to solve for the remaining two quantities.
General
Color Code
Decode resistor color bands to resistance value and tolerance. Supports 4-band, 5-band, and 6-band resistors. Instant color band to ohms conversion.
General
RC Time Constant
Calculate RC circuit time constant τ, charge time to 63.2% and 99%, and −3dB cutoff frequency. Essential for filter and timing circuit design.