LED Resistance Calculation Formula
Having the correct minimum resistance will extend the life of your LED lighting and prevent blown LEDs. For most hobby lighting needs, a 1/8 or 1/4 watt rating is sufficient.
Each LED has both a voltage rating and a current rating, such as "3V 20mA". This information is used to calculate the resistance needed based on your supply voltage. While not a hard rule, most white LEDs are rated at 3 VDC and red, green, and yellow are 1.8 to 2 VDC. Use 1.8V if you aren't sure as this will calculate a higher resistance and offer additional protection.
- Start by subtracting the LED voltage from your supply voltage. For example, a Warm White LED rated for 3V on a 12V supply results in a 9V differential.
- Convert the MA rating to a decimal value. One milliamp is 0.001 amps, so a typical 20ma rated LED would use 0.02 as the value.
- Divide the voltage obtained in step 1 (9) by the MA decimal value (0.20) - 9 / 0.02. This formula yields 450. Since a resistor does not exist with a value of 450 ohms, we round UP to a value of 470.
Resistors typically have 3 color bands - two value bands and a multiplier. It may also have an optional tolerance band often using silver or gold. There are high-precision resistors with 5 or even 6 coding bands, but these will not likely be cost-effective for model use and won't be discussed.
For reference, here is a resistor color-code chart:
For our example above, a 470 Ohm resistor would have a color code of yellow-purple-black.
If there is no fourth band, the tolerance is 20%. A silver band represents 10% tolerance while a gold band is 5%. 20% tolerance resistors are fine for model railroad work as long as your resistance exceeds what you have calculated.
To Index