| RSS Web Feed for Renewable Energy UK |  | REUK Shop | Directory | About Us  

LM317 Voltage Calculator



LM317 Voltage Calculator

A handy online output voltage calculator for the LM317, LM338, and other linear voltage regulators

electric circuit | electronics | general
  Printer Friendly Version Print Article     

The LM317 (LM317T), and high current LM338 (LM338T) are voltage regulators which can take an input voltage of 3-40 Volts DC, and output a fixed output voltage from 1.2 to 37 Volts DC.

LM317T Voltage Calculator
The output voltage from the LM317 and LM338 is set using two resistors (R1 and R2) with their values chosen according to the following equation:

VOUT = 1.25 * ( 1 + R2/R1 )

REUK LM317/LM338 Voltage Calculator

Below is our automated voltage calculator for the LM317 and LM338 regulators. Simply enter your target output voltage Vout and chosen value for R1 (100 to 1000 Ohms), click Calculate, and the required value of R2 will be displayed.

Vout:
Target Output Voltage
1.5 to 37.0 Volts
R1:
R1 Resistor Value
100-1000 Ohms
R2:
Click Calculate to display the
calculated R2 value here.
The results given above can be used to put together a voltage regulator, but the calculated value of R2 will not be a standard/stock resistor value. Since the accuracy of the voltage regulator itself will be up to 5% out, and resistor values are not exact, it is common to use a Potentiometer (aka variable resistor or trim pot) for some or all of R2. This enables the output voltage to be manually fine-tuned to provide the exact voltage required.
Enter values of R1 and R2 below to calculate the corresponding value of Vout.

R1:
R1 Resistor Value
100-1000 Ohms
R2:
R2 Resistor Value
Vout:
Click Calculate to display the
calculated Vout value here.

Output Voltage Tables for Stock R1 and R2 Values

Where a very accurate voltage is not required, it is much easier to use standard (stock) resistors to put together an LM317 or LM338 voltage regulator. Below are tables of output voltages for different combinations of the most commonly found resistors.

R1 vs R2 Grid

R2\R1150180220240270330370390470
681.821.721.641.601.561.511.481.471.43
821.931.821.721.681.631.561.531.511.47
1002.081.941.821.771.711.631.591.571.52
1202.252.081.931.881.811.701.661.631.57
1502.502.292.102.031.941.821.761.731.65
1802.752.502.272.192.081.931.861.831.73
2203.082.782.502.402.272.081.991.961.84
2403.252.922.612.502.362.162.062.021.89
2703.503.132.782.662.502.272.162.121.97
3304.003.543.132.972.782.502.362.312.13
3704.333.823.353.182.962.652.502.442.23
3904.503.963.473.283.062.732.572.502.29
4705.174.513.923.703.433.032.842.762.50
5605.925.144.434.173.843.373.143.042.74
6806.925.975.114.794.403.833.553.433.06
8208.086.945.915.525.054.364.023.883.43
10009.588.196.936.465.885.044.634.463.91
120011.259.588.077.506.815.805.305.104.44
150013.7511.679.779.068.196.936.326.065.24
180016.2513.7511.4810.639.588.077.337.026.04
220019.5816.5313.7512.7111.449.588.688.307.10
270023.7520.0016.5915.3113.7511.4810.379.908.43
330028.7524.1720.0018.4416.5313.7512.4011.8310.03


Sorted List of Output Voltages with R1 and R2

1.43V R1 = 470, R2 = 68
1.47V R1 = 470, R2 = 82
1.48V R1 = 370, R2 = 68
1.51V R1 = 330, R2 = 68
1.51V R1 = 390, R2 = 82
1.52V R1 = 470, R2 = 100
1.53V R1 = 370, R2 = 82
1.56V R1 = 330, R2 = 82
1.57V R1 = 270, R2 = 68
1.57V R1 = 470, R2 = 120
1.57V R1 = 390, R2 = 100
1.59V R1 = 370, R2 = 100
1.60V R1 = 240, R2 = 68
1.63V R1 = 330, R2 = 100
1.63V R1 = 270, R2 = 82
1.64V R1 = 390, R2 = 120
1.64V R1 = 220, R2 = 68
1.65V R1 = 470, R2 = 150
1.66V R1 = 370, R2 = 120
1.68V R1 = 240, R2 = 82
1.71V R1 = 330, R2 = 120
1.71V R1 = 270, R2 = 100
1.72V R1 = 220, R2 = 82
1.72V R1 = 180, R2 = 68
1.73V R1 = 470, R2 = 180
1.73V R1 = 390, R2 = 150
1.76V R1 = 370, R2 = 150
1.77V R1 = 240, R2 = 100
1.81V R1 = 270, R2 = 120
1.82V R1 = 150, R2 = 68
1.82V R1 = 330, R2 = 150
1.82V R1 = 180, R2 = 82
1.83V R1 = 390, R2 = 180
1.84V R1 = 470, R2 = 220
1.86V R1 = 370, R2 = 180
1.88V R1 = 240, R2 = 120
1.89V R1 = 470, R2 = 240
1.93V R1 = 330, R2 = 180
1.93V R1 = 150, R2 = 82
1.94V R1 = 270, R2 = 150
1.96V R1 = 390, R2 = 220
1.97V R1 = 470, R2 = 270
1.99V R1 = 370, R2 = 220
2.02V R1 = 390, R2 = 240
2.03V R1 = 240, R2 = 150
2.06V R1 = 370, R2 = 240
2.08V R1 = 330, R2 = 220
2.10V R1 = 220, R2 = 150
2.12V R1 = 390, R2 = 270
2.13V R1 = 470, R2 = 330
2.16V R1 = 330, R2 = 240
2.16V R1 = 370, R2 = 270
2.19V R1 = 240, R2 = 180
2.23V R1 = 470, R2 = 370
2.25V R1 = 150, R2 = 120
2.27V R1 = 270, R2 = 220
2.27V R1 = 330, R2 = 270
2.29V R1 = 470, R2 = 390
2.29V R1 = 180, R2 = 150
2.31V R1 = 390, R2 = 330
2.36V R1 = 270, R2 = 240
2.37V R1 = 370, R2 = 330
2.40V R1 = 240, R2 = 220
2.44V R1 = 390, R2 = 370
2.50V R1 = 470, R2 = 470
2.57V R1 = 370, R2 = 390
2.61V R1 = 220, R2 = 240
2.65V R1 = 330, R2 = 370
2.66V R1 = 240, R2 = 270
2.73V R1 = 330, R2 = 390
2.74V R1 = 470, R2 = 560
2.75V R1 = 150, R2 = 180
2.76V R1 = 390, R2 = 470
2.78V R1 = 270, R2 = 330
2.78V R1 = 220, R2 = 270
2.84V R1 = 370, R2 = 470
2.92V R1 = 180, R2 = 240
2.96V R1 = 270, R2 = 370
2.97V R1 = 240, R2 = 330
3.03V R1 = 330, R2 = 470
3.05V R1 = 390, R2 = 560
3.06V R1 = 270, R2 = 390
3.06V R1 = 470, R2 = 680
3.08V R1 = 150, R2 = 220
3.13V R1 = 220, R2 = 330
3.14V R1 = 370, R2 = 560
3.18V R1 = 240, R2 = 370
3.25V R1 = 150, R2 = 240
3.28V R1 = 240, R2 = 390
3.35V R1 = 220, R2 = 370
3.37V R1 = 330, R2 = 560
3.43V R1 = 270, R2 = 470
3.43V R1 = 390, R2 = 680
3.43V R1 = 470, R2 = 820
3.47V R1 = 220, R2 = 390
3.50V R1 = 150, R2 = 270
3.54V R1 = 180, R2 = 330
3.55V R1 = 370, R2 = 680
3.70V R1 = 240, R2 = 470
3.82V R1 = 180, R2 = 370
3.83V R1 = 330, R2 = 680
3.84V R1 = 270, R2 = 560
3.88V R1 = 390, R2 = 820
3.91V R1 = 470, R2 = 1000
3.92V R1 = 220, R2 = 470
3.96V R1 = 180, R2 = 390
4.00V R1 = 150, R2 = 330
4.02V R1 = 370, R2 = 820
4.17V R1 = 240, R2 = 560
4.33V R1 = 150, R2 = 370
4.36V R1 = 330, R2 = 820
4.40V R1 = 270, R2 = 680
4.43V R1 = 220, R2 = 560
4.44V R1 = 470, R2 = 1200
4.46V R1 = 390, R2 = 1000
4.50V R1 = 150, R2 = 390
4.51V R1 = 180, R2 = 470
4.63V R1 = 370, R2 = 1000
4.79V R1 = 240, R2 = 680
5.04V R1 = 330, R2 = 1000
5.05V R1 = 270, R2 = 820
5.10V R1 = 390, R2 = 1200
5.11V R1 = 220, R2 = 680
5.14V R1 = 180, R2 = 560
5.17V R1 = 150, R2 = 470
5.24V R1 = 470, R2 = 1500
5.30V R1 = 370, R2 = 1200
5.52V R1 = 240, R2 = 820
5.80V R1 = 330, R2 = 1200
5.88V R1 = 270, R2 = 1000
5.91V R1 = 220, R2 = 820
5.92V R1 = 150, R2 = 560
5.97V R1 = 180, R2 = 680
6.04V R1 = 470, R2 = 1800
6.06V R1 = 390, R2 = 1500
6.32V R1 = 370, R2 = 1500
6.46V R1 = 240, R2 = 1000
6.81V R1 = 270, R2 = 1200
6.92V R1 = 150, R2 = 680
6.93V R1 = 330, R2 = 1500
6.94V R1 = 180, R2 = 820
7.02V R1 = 390, R2 = 1800
7.10V R1 = 470, R2 = 2200
7.33V R1 = 370, R2 = 1800
7.50V R1 = 240, R2 = 1200
8.07V R1 = 330, R2 = 1800
8.08V R1 = 150, R2 = 820
8.19V R1 = 270, R2 = 1500
8.30V R1 = 390, R2 = 2200
8.43V R1 = 470, R2 = 2700
8.68V R1 = 370, R2 = 2200
9.06V R1 = 240, R2 = 1500
9.58V R1 = 330, R2 = 2200
9.77V R1 = 220, R2 = 1500
9.90V R1 = 390, R2 = 2700
10.03V R1 = 470, R2 = 3300
10.37V R1 = 370, R2 = 2700
10.63V R1 = 240, R2 = 1800
11.25V R1 = 150, R2 = 1200
11.44V R1 = 270, R2 = 2200
11.48V R1 = 330, R2 = 2700
11.67V R1 = 180, R2 = 1500
11.83V R1 = 390, R2 = 3300
12.40V R1 = 370, R2 = 3300
12.71V R1 = 240, R2 = 2200
13.75V R1 = 330, R2 = 3300
15.31V R1 = 240, R2 = 2700
16.25V R1 = 150, R2 = 1800
16.53V R1 = 270, R2 = 3300
16.59V R1 = 220, R2 = 2700
18.44V R1 = 240, R2 = 3300
19.58V R1 = 150, R2 = 2200
20.00V R1 = 220, R2 = 3300
23.75V R1 = 150, R2 = 2700
24.17V R1 = 180, R2 = 3300
28.75V R1 = 150, R2 = 3300


LM317/LM338 Current Calculator

If you would like to use the LM317T or LM338T to output a fixed current rather than voltage, click here to visit our LM317 Current Calculator.

NEW For voltage regulators required to output more than 1.5A, click here to view LM317T High Current Voltage Regulator for more information and a circuit plan.



Article Last Modified: 11:29, 17th Aug 2010

Comment on this Article

If you have any comments on this article, please email them to neil@reuk.co.uk.


Recommended Related Articles

People who read this article also enjoyed the following articles:

LM317 Current Calculator
A handy online output current calculator for the LM317, LM338, and other linear voltage regulators
Article Last Modified: 12:47, 12th Mar 2008
electric circuit | electronics | general

LM317 High Current Voltage Regulator
Find out how to build an LM317T based high current voltage regulator
Article Last Modified: 11:29, 17th Aug 2010
electric circuit | electronics | general | education

Using The LM317T To Regulate Voltage
Use an LM317T to regulate voltage in renewable energy projects
Article Last Modified: 15:04, 7th Mar 2008
electric circuit | electronics

Using The LM317T With LED Lighting
Use an LM317T to regulate the current in LED lighting projects
Article Last Modified: 12:47, 12th Mar 2008
lighting | electric circuit

Solar Battery Charger With LM317T
Find out how to make a current controlled solar battery charger using an LM317T
Article Last Modified: 08:34, 30th Mar 2007
solar | education | electric circuit

LM317T Voltage Regulator Chip
Learn about the LM317T and its uses in renewable energy projects
Article Last Modified: 13:35, 9th Sep 2008
electronics | electric circuit

LM2940 12V 1A Low Dropout Regulator
Find out how to use an LM2940 to efficiently regulate voltage
Article Last Modified: 09:07, 30th Jan 2010
electric circuit | storage | general | lighting

Zener Diode Voltage Regulator
Make a simple zener diode voltage regulator
Article Last Modified: 17:31, 7th Mar 2008
electric circuit | education

LED Dimmer Circuit
Find out how to put together a simple but efficient PWM dimmer circuit for LEDs
Article Last Modified: 09:42, 16th Mar 2011
lighting | electronics | electric circuit

High Current Voltage Regulation
Connect voltage regulators in parallel to increase the current which can be regulated
Article Last Modified: 17:16, 5th Dec 2007
electric circuit | electronics | general

© 2006-2012 REUK - All Rights Reserved
Page Last Updated on 31st January 2012 at 01:50:15pm

Latest
Articles


Make a Still
Find out how to make your own still for distilling ethanol fuel
biomass
13:49, 31st Jan 2012

UK Feed in Tariff to be Cut by 50 Percent
UK government announces 50% cut in feed in tariff payable on new solar PV installations
solar
13:20, 30th Jan 2012

PICAXE Microcontrollers
Find out about PICAXE microcontrollers and their use in renewable energy projects
electronics
13:12, 30th Jan 2012

Make a PICAXE Repeating Timer
Make your own repeating timer with our automatic PICAXE Basic code generator
education
12:42, 30th Jan 2012

Rainbow Power 300W Hydro Generator
300 Watt 12/24 Volt hydro power generators from Rainbow Power
hydro
12:44, 27th Jan 2012

Solar Tracker
Set up solar panels to track the motion of the sun across the sky to maximise power output
solar
10:46, 27th Jan 2012

Light Dark Dawn Dusk Relay Controller
Find out about the REUK Super LDR light/dark dawn/dusk relay controller
electric circuit
16:48, 24th Jan 2012

Karasouli SCC 20 Wind Turbine Charge Controller
Find out more about the SCC-20 wind turbine charge controller and dump load controller
wind
12:46, 20th Jan 2012



REUK Shop

Popular Items


REUK SUPER LDR DUSK DAWN RELAY CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk relay controller
£18.95 each.
Complete Circuits



KARASOULI SCC 20 CHARGE CONTROLLER
20A rated wind turbine charge controller and dump load controller with blocking diode and heatsink
£43.95 each.
Renewable Energy System Parts



SOLAR PUMP CONTROLLER WITH RELAY
Solar water heating system microprocessor controlled circuit with fitted 10A relay
£25.99 each.
Complete Circuits



REUK SUPER POULTRY LIGHTING CONTROLLER
Control up to 8 Watts of LED spotlights to stimulate egg production in birds
£29.99 each.
Complete Circuits



REUK SUPER TIMER 2
User programmable 12VDC powered 16A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£23.99 each.
Complete Circuits



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.
Renewable Energy System Parts



CONVERTED PROGRAMMABLE DIGITAL TIMER RELAY
Mains powered programmable timer converted to low voltage with relay board
£21.99 each.
Renewable Energy System Parts



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 1 Amp output)
£4.99 each.
Complete Circuits



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.
Energy Efficient Lighting