LM317 Resistor and Voltage Calculator
The LM317 is an adjustable voltage regulator which can output a range of voltages (1.5 to 37V) based on the resistors
R1 and R2.
Normally the value of R1 is 240Ω, the recommended value by the manufacturer. However, the value of R1 may be any value from 100Ω to
1000Ω. The resistor R2 then is the chief resistor which allows for the swings in different voltage outputs. The formula is below.
LM317 Voltage Calculator
The LM317 Voltage Calculator calculates the output voltage, VOUT based on the values of resistors, R1 and R2, according to the above formula.
A user enters in R1 and R2 and the result will automatically be calculated and shown. The voltage result which is displayed above is in unit volts (V).
You can see by default that resistor R1 is 240Ω, again, as the value which the manufacturuer specifies as the recommended default value. However, you switch out the value if necessary, so this is not a fixed value. It's adjustable.
Example calculation: An example calculation using this calculator is having R1=240Ω and having R2=720Ω. This will produce an output voltage of
exactly 5V, being that
VOUT= 1.25V * (1+ R2/R1)= 1.25V * (1 + 720Ω/240Ω)= 5V.
LM317 Resistor Calculator