Most people think you just pick any resistor and the LED will work. The accurate answer is that the resistor value depends on your supply voltage, the LED’s forward voltage, and the current you want, and you calculate it with a simple formula.
Why a Resistor Is Required
An LED has almost no internal resistance. If you connect it straight to a battery or power supply, it will draw far more current than it can handle and burn out quickly, often within seconds. The resistor limits the current to a safe level so the LED glows steadily instead of flashing once and dying.
The resistor also absorbs the extra voltage that the LED does not use. Every LED has a forward voltage, which is the voltage it needs just to turn on. Anything above that voltage must be dropped across the resistor.
The Formula and What Each Number Means
The calculation is: resistor value = (supply voltage minus LED forward voltage) divided by the desired current. The result is in ohms.
You need three pieces of information:
- Supply voltage – what your power source actually provides. A fresh battery may give a bit more than its label, and a regulated supply gives a steady value.
- LED forward voltage – printed on the LED package or in its datasheet. Red LEDs are lower, white and blue are higher, and green and yellow sit in between.
- Desired current – usually the LED’s rated current, often around twenty milliamps for small indicator LEDs, but check the package or datasheet.
Once you have the calculated value, you pick the nearest standard resistor that is equal or slightly higher. A higher value gives a dimmer LED but protects it better. A lower value risks overdriving the LED.
Worked Examples for Common Cases
Say you have a red LED with a forward voltage of about two volts, and you want to run it from a nine-volt battery at twenty milliamps. The formula gives (nine minus two) divided by zero point zero two, which is three hundred fifty ohms. You would use a three hundred ninety ohm resistor, the next standard value up.
For a white LED with a forward voltage around three volts on the same nine-volt supply, the calculation is (nine minus three) divided by zero point zero two, which is three hundred ohms. A three hundred thirty ohm resistor works well.
If you are powering several LEDs from one supply, you can wire them in series and use one resistor for the whole string. Add up the forward voltages of all the LEDs, subtract that total from the supply voltage, then divide by the current. Series wiring is more efficient because the resistor wastes less power, but the total forward voltage must stay below the supply voltage.
Reading LED Specifications
Every LED package or datasheet lists the forward voltage and the maximum continuous current. These are the two numbers you need. If you lost the package, look up the LED’s color and typical values, but be aware that different manufacturers and even different batches can vary.
The current rating is a maximum, not a target. Running an LED at half its rated current still gives a bright glow and makes it last longer. For model lighting, a lower current is often fine and keeps heat down.
Check the power rating of the resistor too. The resistor dissipates the extra voltage times the current. For most model LEDs at low current, a standard quarter-watt resistor is plenty, but if you run a bright LED from a high voltage, the resistor may get warm. The resistor’s body size tells you its wattage rating.
Common Mistakes and How to Avoid Them
One mistake is using the battery’s nominal voltage instead of its actual voltage. A fresh nine-volt battery can put out over nine and a half volts, which raises the current. If you calculated for exactly nine volts, the LED may be overdriven. Use the measured voltage or leave a safety margin.
Another mistake is forgetting the LED’s forward voltage and just guessing a resistor value. That leads to either a dim LED or a burned-out one. Always look up the forward voltage.
Wiring LEDs in parallel with a single resistor is a common trap. If the LEDs have slightly different forward voltages, one will draw more current and may fail, taking the others with it. Use one resistor per parallel branch, or wire them in series with one resistor.
Finally, check your wiring before powering up. A reversed LED will not light and may be damaged if the reverse voltage is too high. Most LEDs have a flat spot on the cathode side, but not all do, so check the datasheet.
Testing Before You Solder
Before you commit to a resistor value, test the circuit on a breadboard or with temporary connections. Measure the actual current with a multimeter in series with the LED. If it is far from your target, adjust the resistor up or down.
You can also start with a higher resistor value and work down until the brightness looks right. This is safer than starting low and risking the LED. The LED’s brightness changes noticeably with small current changes, so you will quickly find a pleasing level.
For model kits, the resistor can be hidden inside the fuselage or hull. Use heat-shrink tubing over the connections to prevent shorts. If you are using a common supply for multiple lights, calculate each branch separately and label the resistors so you do not mix them up.
Remember that the resistor value is not a fixed number. It changes with your supply voltage and your LED’s specifications. The formula and the examples above give you the method, and the rest is just plugging in your own numbers.
Safety
Safety: a soldering iron is hot enough to burn skin and start fires, and solder fumes should not be breathed. Keep the iron in its stand, work with ventilation or a fume extractor, wear eye protection, and wash your hands after handling solder, especially solder that contains lead.