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

LM317 Voltage Calculator



LM317 Voltage Calculator

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

home > 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.

Labelled pinout for LM317T voltage regulator 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: 18:51, 8th Oct 2013

Comment on this Article

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


Related REUK Categories

electric circuit | electronics | general
2006-2014 REUK - All Rights Reserved
Page Last Updated on 25th July 2014 at 04:08:00pm

Site Search


Recent
Blog Posts


1. New Raspberry Pi Model B+

2. Pyboard Python for Microcontrollers

3. New REUK Low Voltage Disconnect with Display

4. Valiant PremiAIR 4 Stove Fan

5. Low Voltage Disconnect with LCD Display

6. Solar Water Heating Swimming Pool Controller with Display

7. 12V Programmable PIR Timer with Override

8. Solar Water Heating Pump Controller for Hot Tub with Maximum Temperature

9. Playhouse Lighting Controller with LVD

10. Simple Low Voltage Disconnect with Two Outputs


Latest
Articles


Make A Bridge Rectifier From Diodes
Make A Bridge Rectifier From Diodes
Make your own single or multi phase bridge rectifier from diodes


Low Voltage Battery Disconnect Circuits
Low Voltage Battery Disconnect Circuits
Find out more about low voltage battery disconnect (LVD) circuits - used to protect batteries


Water Heating with Surplus Solar PV
Water Heating with Surplus Solar PV
Heat water with surplus solar generated electricity


Publish Temperature Sensor Readings to Twitter Raspberry Pi
Publish Temperature Sensor Readings to Twitter Raspberry Pi
Find out how to publish DS18B20 temperature sensor readings to Twitter from Raspberry Pi


Solar Panels on eBay
Solar Panels on eBay
Find out about the solar panels on sale on eBay


Picaxe Programming From Linux
Picaxe Programming From Linux
Find out how to programme PICAXE microcontrollers from the Linux command line


Connecting to Raspberry Pi from PC via SSH
Connecting to Raspberry Pi from PC via SSH
Find out how to operate a Raspberry Pi directly from a Windows PC using SSH


Setting up Static IP Address on Raspberry Pi
Setting up Static IP Address on Raspberry Pi
Find out how to give your Raspberry Pi a static IP address




REUK Shop

Popular Items


2013 SOLAR PUMP CONTROLLER WITH RELAY
New solar water heating pump controller with fitted 10A relay
£25.99 each.



MINI 12 VOLT REGULATOR WITH FUSE AND SWITCH TERMINALS
Supply a fixed 12.0 Volt DC to your devices (up to 1 Amp output). Includes fitted 1A fuse, 2 spare fuses, and terminals for connection of a switch
£6.99 each.



REUK MINI LDR DUSK DAWN LIGHTING CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk controller
£13.95 each.



MINI 12V PROGRAMMABLE LOW VOLTAGE DISCONNECT LVD
Protect your 12 volt batteries from being overly discharged
£12.95 each.



REUK SUPER TIMER 3 MINI
Mini multi-functional timer
£13.95 each.



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 0.8 Amp output)
£3.99 each.



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



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



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.