This question gets asked every day in Answers and the Forums: What resistor do I use with my LEDs? So I've put together several different ways to figure it out.

Lets get right to it:
Each of the steps do the same thing. Step 1 is the simplest and we go downhill from there.

No mater what way you choose you must first know these three things:

  • Supply voltage This is how much power you're putting into the circuit. Batteries and wall warts will have the output voltage printed on them somewhere. If you're using multiple batteries*, add the voltage together.
  • LED Voltage Sometimes "Forward Voltage" but usually just abbreviated "V".
  • LED Current Sometimes "Forward Current". This is listed in milliamps or "mA".

Both of these last two can be found on the packaging for your LEDs or on your supplier's web site. If they list a range ("20-30mA") pick a value in the middle (25 in this case). Here are some typical values, but use your own values to be sure you don't burn out your LEDs!:

Red LED: 2V 15mA
Green LED: 2.1V 20mA
Blue LED: 3.2V 25mA
While LED: 3.2V 25mA

Okay, lets get started!

* Batteries in series.

Introduction photo credits:
LED photo by Luisanto.
Resistor photo by oskay.

Step 1: The Web Way

The easiest way is to use one of the online calculators provided below.

Just click on one and enter the info from the previous step and you're set! You only need to go to one.

The LED Center (For single LEDs)

The LED Center (For arrays of LEDs)

LED Calculator.net (For single or arrays of LEDs)

LED Calculator.com (For single or arrays of LEDs)
<p>i have brought two sets of led battery powered led sets from a discount store i have used them in project drilling 24 holes around a big mirror frame and placed drilled ping pong balls over the leds. my question please as they are neatly pre wired and all in parallel and my need to have them run off 12 volt. i have tried different resistor calculators to find the value needed to drive 24 leds in parallel ? but i find that its not a recommended array and consequently not given a result. i thought of using a 470 ohm 1/2 watt resistor. any advise would be most appreciated </p><p>Thank you</p>
This is really useful. <br>(Source Volts - LED Volts) / (Current / 1000) = Resistance
<p>if you need more information about &lt;a href=&quot;http://911electronic.com/tunnel-diode-characteristic-symbol-definition/&quot;&gt;tunnel diode&lt;/a&gt;, you can click in this link. I check this site and there are some information about tunnel diode.</p>
<p>i want use Led bulb in real electric circuit for indication at 230 volt. how much resistance is require to protect led???? plz reply</p>
<p>Be aware that mains power is rated at &quot;230V rms&quot;, which means peaks of 325V.</p><p>Supposing a 3.5V 25mA LED, you would need a 12860ohm 8.03W resistor.</p><p>As a general rule of thumb: DO NOT DO THIS.</p>
<p>sir, can i use any IC or bridge circuit type somthing to glow LED buld? </p>
<p>Lets say you use 3.5V 25mA LED.</p><p>(230v - 3.5v) / (0.025A) = 9060ohms.</p><p>230v is not a game. Do not do it yourself.</p>
And the watts the resistor would have to be rated for would be at 230*0.025 i guess?
<p>RIP dhaneshg</p>
<p>LMFAO this had my rolling.</p>
<p>if i use small stepdown transformer and zener diode to control voltage for LED than??</p>
<p>Nice,,,, But here is a very simple method for different LED'd circuits to find the proper resistor</p><p>Here is a Step by Step Tutorial : </p><p><a href="http://www.electricaltechnology.org/2013/08/how-to-calculate-value-of-resistor-for-LED-circuits.html" rel="nofollow">http://www.electricaltechnology.org/2013/08/how-to...</a></p><p>In addition, You can use this calculator for finding the appropriate resistor for LED circuit</p><p><a href="http://www.electricaltechnology.org/2014/02/LED-resistor-calculator.html" rel="nofollow">http://www.electricaltechnology.org/2014/02/LED-re...</a></p>
Okay, so I have an SMD LED... VF=11v-12v <br>@mA900<br>Supply voltage of 12v<br><br>This seems to be an ignorant question but I would like to know that if the voltage drop of my LED is 11v-12v then by Ohms law should I or should I not need a resistor.. At most maybe a 1ohm
<p>but sir at the time of Festivals we are use LED bulb series to decorate that time normal volt is 230volt naa? i open a series light and found a Bride circuit, but couldn't understand.. so plz tell me how to build it?</p>
<p>After using the &quot;wizzard&quot; I'm still not sure if everything is correct. From a 12vdc power supply, I plan to power a 15 led array wired in parallel. The numbers from the retailer are as follows: Power = 0.5w, Working Voltage = 3.2-3.5, Current = 150ma. The wizzard calculator red flagged one of the lines. I am looking to get the correct resistance value for this array. Any help would be great. Thanks guys.</p>
<p>I make custom decal labels for organizing resistors and any discreet <br>electronic components. Also Custom Engraved Wooden Boxes for housing <br>protoboards/ breadboards. Please see the links below:</p><p><a href="https://www.etsy.com/ca/listing/196162336/new-electronic-small-parts-organizer-for?ref=shop_home_active_6" rel="nofollow">https://www.etsy.com/ca/listing/196162336/new-elec...</a></p><p><a href="https://www.etsy.com/ca/listing/196492631/new-electronics-parts-organizer-for-e24?ref=shop_home_active_1" rel="nofollow">https://www.etsy.com/ca/listing/196492631/new-elec...</a></p><p><a href="https://www.etsy.com/ca/listing/204827635/new-make-getting-organized-easy-and-fun?ref=shop_home_active_2" rel="nofollow">https://www.etsy.com/ca/listing/204827635/new-make...</a></p>
<p>Can anyone define the difference between voltage and current in a simple way?</p>
<p>Voltage is pressure. Current is flow.</p><p>Voltage is how excited the electrons want to move through a wire. Current is how many electrons are actually moving through a wire.</p><p>If a nightclub had a popular band playing that night, Voltage would be how excited the patrons would be to get in they would be close together at the door waiting. A Resistor would be the size of the bouncer at the door. If he is small and weak he would let everybody in as quick as they wanted. A big bouncer would let a single line in, one at a time. Current would be how fast the nightclub fills up.</p><p>Hope that helps :P</p>
<p>Not really true hey, but I really laughed at how awesome you described it. Remember current has to keep on flowing, so if you say current would be how fast the nightclub fills up, doesn't it mean that the circuit will be sort circuited? Or am I maybe confused. It is more that a resistor can only allow a certain amount of current to pass before burning, meaning that the club is the resistor and not the bouncer. Smaller club equals less current at a time flowing through, where a larger club would let more current flow through at the same time. This has all have to happen in a loop, when one goes in one goes at, or the club will be over capasity. </p>
<p>It is very easy budy, Follow the simple steps here ... <br>How to calculate the value of resistor for LED&rsquo;s (with different types of LED&rsquo;s circuits)<br>link: <a href="http://electricaltechnology.org/2013/08/how-to-calculate-value-of-resistor-for-LED-circuits.html" rel="nofollow"> http://electricaltechnology.org/2013/08/how-to-ca...</a></p><p>or simply use this online calculator: <br>Required Value of Resistor for LED&rsquo;s Circuit Calculator<br>link: <a href="http://electricaltechnology.org/2014/02/LED-resistor-calculator.html" rel="nofollow"> http://electricaltechnology.org/2014/02/LED-resis...</a></p>
<p>this is a great teaching method , hope some professor know this technik</p>
<p>Thanks franko :) Most schools just teach so you can pass tests, which is basically memorizing knowledge. Understanding comes from relating what is taught to something you already understand, by way of relationships between the parts. Understanding comes from asking questions. In order to ask questions you need to be curious. Wisdom and excellence comes from asking the right questions.</p><p>Using the above example:</p><p>Wire gauge would be how big the doors are. The larger the door the less you can fit on the front of the bar. 12 gauge wires are big, where as 22 gauge wires are small so you can fit more.</p><p>milliampere-hour (mAh) would be how long the line is.</p><p>The LED would be the band.</p><p>A capacitor would be the bouncer letting in say 10 customers at a time after 10 customers leave.</p><p>A diode would be the exit that locks after you leave.</p><p>Wattage would be the heat that is produced as customers go through the door.</p><p>... it's not a perfect senario but it explains the relationships well. you could also use a restaurant, football stadium, outdoor concert, even driving to work in the city.</p><p>:P</p>
<p>Voltage is a difference in electrical charge between two points and the de driving force for the current which is the resulting flow of charge. It is easier to understand by looking at analogues in either liquid flows or mechanics. </p><p>In a liquid flow through a pipe our Voltage analogue would be the pressure difference between the two ends of our pipe and the current is the same as the volume flow of liquid through the pipe. If you fill your pipe with sand or a wad of fabric you have increased the resistance and you will have to apply a higher pressure to get the same flow.</p><p>In mechanics a simple comparisson can be made with a block on an inclined board: the heigth difference between the two sides is our driving force (like voltage in electrics) and the resulting speed of the block sliding down the plane is similar again to current (though in electrics you will have many small blocks sliding down the same plane in a row). Our resistance in this case is the friction between the block and the board, if we reduce the friction by using a smoother surface like glass the block will slide down faster. </p>
<p>Voltage is a &quot;potential&quot; so it describes how much the electrons want to get from + (positive) to - (negative). At really high voltages, the electrons will even jump an air gap (create a spark) to get from one side to the other. Current is a measure of how many electrons are in motion when a circuit is powered and running. The more electrons that are in motion, the more physical work they can do (like starting a car or melting a fuse). An open switch has no current going through it, since the electrons are not able to move through it, but it might have a voltage across it. Too much voltage across a switch can let the electrons spark and jump through it anyway. If you close a switch that has a voltage across it (switch it from off to on), you let the electrons flow through it and suddenly, there is a current.</p>
<p>Actually ,i cut all the leds into singles for use with different projects,and discovered that these little leds are very adaptable ,i have been running a green single led on 2 double aa batteries non stop for 5 days straight and still as bright as first day ,i also made a solar powered orange led lantern with one 1.2 volt rechargable battery .the led doesn't require a resistor unless you are using them in strings or a/c , they are negative power capable ,and that part gets tricky .so before you use them on a project ,test led with 3 volts max d/c to see which way the current flows ,and mark the positive side . now you have endless supply of lights ,for projects .one thousand leds uses less power than a 40 watt light bulb.</p><p>they take a certain amount of power before they light up .so its just math after that and basically only when the are used as an a/c string.or higher voltage. if using as a power on light and want to use a resistor then a .025 m/a 6 volt would be perfect the 6 volt ac fuse is like i said in the power plug which comes apart. im working on a cordless phone rechargeable battery pack as another power source.cordless phones are also very inexpensive at thrift store.now you have lots of Christmas leds and a rechargeable phone power supply for maybe 10$ .plus the resistor u need may be inside the phone .free..and not have to search for it.</p>
<p>For you guys looking for resisters most are built in the led ,its actually a 5 or 6 volt fuse located in both plugs off a string of lights ,different total amounts of leds</p><p> of led strings give you different fuses and resisters .check a 10 led string compared to a 35 led string and use whichever fits your project also cutting off male end and using 2 AA batterys ......as well as a power supply with no more than 20 MA depending on total combined led voltage, 78 to 90 volts string is recomended.</p>
<p>This advice only applies to commercial strings or strips of LEDS. If you're using individual LED components, you <strong>must</strong> look at the specifications and see what the current and voltage draw are for the LED, and choose a proper matching resistor.</p>
<p>it says while instead of white</p>
if i get it right...amps are enabling the charge to flow...so it doesnt matter how many amps are created by power supply?
Right. As long as there are enough amps you're good. Too many amps is not a problem in any way.
...Unless you are operating a &quot;power LED&quot; in which case too many amps will blow your LED... which is why such LEDs require a driver, not just a simple resistor.
<p>hello KDS4444, i have been looking for this answer on the internet for a while now. so what you are saying is that when using &quot;high power LEDs&quot; we actually have to watch out for the mA output of the power source, not just the output V? for example if i have 2 LEDs @ 2.5V and 350mA connected in series to a 5V 700mA, will it actually hurt them? it should be a 5V 350mA power source? also, if they were to match up perfectly, why do we still have to use a resistor? can anyone please answer these questions. love and peace..!</p>
so a 7.2 VDC 3000 mAh RC car battery all i need to worry about is that 7.2 VDC
What if you want to use leds of different forward voltages? <br>
<p>just use the approperiate resistor for Each led.</p>
Thank you so much its helps alot ,but i have qustion <br> <br>how can i bulid led curcit like this <br>http://www.youtube.com/watch?v=E7Z6WqAP-SI <br>
<p>here, http://www.240sxforums.com/forums/resource-center/119623-s13-led-tail-light-conversion.html</p>
Great tutorial for a beginner like me, thanks a lot! I just have one question. Most of the calculators I've seen (and the one you mentioned) calculate the resistor using the LED forward current. So for a 3.3V supply, using an LED with 2.0V voltage and 20mA forward current, the resistor comes up to be 65ohm. Perfect! <br> <br>But if I want to use this LED with a Raspberry Pi let's say, the max current on pins is 4mA. If I use this resistor, I risk damaging the Raspberry Pi pin, right? So instead I calculate the resistor using 4mA as the current which gives me 330ohm resistor. This is the right value I need to use, is this correct? <br>Thanks for all your help and again, thanks for the tutorial!
Ok for the project I'm doing the LED calculator says i need a . I found LED's on eBay that come with resistor, but the resistors they have to pick from are 4.5V, 5V, 6V, 9V or 12V resistors can I use any of those? or do I still need to buy the 120 ohm resistors <br> http://www.ebay.com/itm/160878209257 <br>
What they're saying in the listing is if you tell them what voltage you're running the LEDs, they'll calculate the correct resistor and send it along -- You don't need to calculate.<br> <br> However I would verify that they send&nbsp;appropriate&nbsp;resistors once they arrive.
Using math is often the fastest way. Simple algebra. It usually takes me longer to find a datasheet or some other information than it does to find &amp; solve for R in Ohm's Law. R= V/I boom that simple.
This is just an application of ohms law.<br>V=IR (Voltage = Current times Resistance) <br>if the supply voltage is 5 the forward voltage is 2.5 and the forward current is 25 mA or .025 amps.<br>R=V/I so R= (5-2.5)/.025 so R=2.5/.025 which is 100 ohms. It is simple to use and more effective than an online calculator. There is a good site that explains this:<br>http://cuttingedgescienceclub.blogspot.com/2012/01/ohms-law-practice-problems.html<br>scroll down to the section labeled LED problems or you can look at the earlier sections to help.
thanks its help me :D<br>
So the supply current (like those listed on&nbsp;wall warts)&nbsp;makes absolutly no difference? It won't hurt to use a supply voltage with a very high current, as long as the resistor is calculated using the supply voltage, LED voltage, and LED current?
Yes, that's&nbsp;correct. &nbsp;You can perhaps think of Amps as &quot;available power&quot;. &nbsp;If you're not using it, it doesn't cause any trouble.<br /> <br /> You need to make sure you have enough amps to supply everything you're powering, so if you're powering t12 LED's that pull 30 milliamps each you need a power supply with <strong><em>at least </em></strong>(<a rel="nofollow">12x30mA</a>) 0.36 Amps. More than that will not cause any problems.<br /> <br /> It's the same with the (somewhat) common task of buying a replacement computer power supply. &nbsp;You can use pretty much any power supply as long as the voltage is the same and it has <em>at least</em>&nbsp;as many amps.<br /> <br /> It's like using rope to climb down a cliff. &nbsp;If you run short of rope (amps) you're in big trouble. &nbsp;So you might as well bring at least as much as you need.<br />
that's it!<br>just the answer for my problem.<br>the current of the power supply always confused me, cause i thought it was the source for LED to burnt.<br>thanks, this is helpful.
This post just cleared up everything that confuddlywizzled me for a long time. Thank you for using such easily interpreted analogies!
I&nbsp;have a question about over use of resistors. How much flexibility in teh value do you have? Say I&nbsp;calculate a required resistance of 120 Ohms. If I&nbsp;have&nbsp;a resistor of 470 Ohms will it still work?
&nbsp;It really depends on the circuit and the LEDs you're using. &nbsp;While it's better to use larger (more Ohm) resistor than a smaller one, going too high will keep your LED from lighting much if at all.<br /> <br /> As a rule don't go under by more than 10% or over by 25%. &nbsp;If you're looking at 120 Ohm, &nbsp;that would be a range of 108-150 Ohm.<br /> <br /> However if you have several 470 ohm resistors you can connect them in <a href="http://en.wikipedia.org/wiki/Series_and_parallel_circuits#Parallel_circuits" rel="nofollow">parallel&nbsp;</a>[wikipedia link] to divide their resistance. &nbsp;In this case 4 in parallel would give you about 118 Ohm which would be just right for you.<br />

About This Instructable


392 favorites


Bio: Creative swashbuckler. Writer for MAKE Magazine, presenter of inventions on TV, radio, magazines and newspapers. Professional problem solver. Annoyingly curious. Hacker of all things from ... More »
More by Grathio: Book Light Reading Light Video: Making your glove work with a touch screen 60 Second Mobile
Add instructable to: