LED Forward Voltage Drop Calculator – Vf by Color & Resistor

LED Forward Voltage Drop Calculator

Pick an LED color to load its typical forward voltage Vf, then set your supply voltage and target current. The tool sizes the series resistor with R = (Vs - n x Vf) / If, snaps it to the nearest E24 value, finds how many LEDs you can stack in series, and checks the real current your chosen resistor delivers.

💡Real LED Circuit Presets

🔌LED and Supply Inputs

Selecting a color loads its typical Vf below.

Use the value from the LED datasheet if you have it.

The rail or battery driving the LED string.

Common indicators run at 10-20 mA.

How many LEDs share this one resistor.

Series adds the drops; total = n x Vf.

Used to check actual current with a resistor you own.

Controls rounding on the result cards.

Typical Vf for color 0 V per LED forward drop
Required series resistor 0 ohm nearest E24 shown below
Max LEDs in series 0 floor(Vs / Vf)
Actual current with your R 0 mA If = (Vs - nVf) / R

🔢Formula Snapshot

R(Vs - nVf) / If
n maxfloor(Vs / Vf)
If(Vs - nVf) / R
P R(Vs - nVf) x If

🌈LED Color to Forward Voltage and Wavelength

LED ColorMaterialTypical Vf RangeWavelength
RedAlGaInP / GaAsP1.8 - 2.2 V620 - 750 nm
AmberAlGaInP2.0 - 2.2 V590 - 620 nm
YellowAlGaInP2.0 - 2.2 V570 - 590 nm
Green (standard)GaP2.0 - 2.4 V550 - 570 nm
Green (pure)InGaN2.8 - 3.4 V500 - 540 nm
BlueInGaN3.0 - 3.4 V450 - 490 nm
WhiteInGaN + phosphor3.0 - 3.4 Vbroadband
InfraredGaAs1.2 - 1.6 V850 - 950 nm
UltravioletInGaN3.1 - 4.0 V365 - 400 nm

📡Typical Forward Current by LED Size

LED TypeTypical IfMax IfNotes
3 mm through-hole10 - 20 mA30 mAPanel indicators
5 mm through-hole20 mA30 mAMost common hobby LED
10 mm through-hole20 - 30 mA50 mALarge jumbo indicators
0603 / 0805 SMD5 - 20 mA25 mAPCB status lights
1206 SMD20 mA30 mABacklight and indicators
1 W power LED350 mA500 mANeeds a heatsink
3 W power LED700 mA1000 mAConstant-current driver

📊Resistor Comparison Grid by Color and Supply

ColorTypical VfRecommended IfR at 5 VR at 12 VNearest E24 at 5 V
Red2.0 V20 mA150 ohm500 ohm150 ohm
Amber2.1 V20 mA145 ohm495 ohm150 ohm
Yellow2.1 V20 mA145 ohm495 ohm150 ohm
Green (std)2.2 V20 mA140 ohm490 ohm150 ohm
Blue3.2 V20 mA90 ohm440 ohm91 ohm
White3.2 V20 mA90 ohm440 ohm91 ohm
Warm white3.1 V20 mA95 ohm445 ohm100 ohm
Infrared1.4 V50 mA72 ohm212 ohm75 ohm
UV 395nm3.5 V20 mA75 ohm425 ohm75 ohm

📏E24 Standard Resistor Values

DecadeLow ValuesMid ValuesHigh Values
Base E2410, 11, 12, 1315, 16, 18, 2022, 24, 27, 30
Base E2433, 36, 39, 4347, 51, 56, 6268, 75, 82, 91
x10100, 110, 120150, 180, 200220, 270, 330
x10390, 430, 470510, 560, 620680, 750, 910
x1001k, 1.2k, 1.5k1.8k, 2.2k, 2.7k3.3k, 4.7k, 6.8k

Formula Breakdown

Series resistor R = (Vs - n x Vf) / IfSubtract the total LED drop from the supply, then divide the leftover voltage by the current in amps. For one red LED, R = (5 - 2.0) / 0.02 = 150 ohm.
Total LED drop = n x VfIn a series string every LED adds its forward voltage. Three 3.2 V LEDs drop 9.6 V together, leaving only what the supply exceeds that.
Max LEDs in series = floor(Vs / Vf)You cannot stack more forward drops than the supply provides. On 12 V with 3.2 V white LEDs that is floor(12 / 3.2) = 3 LEDs, and you still need headroom for a resistor.
Actual current If = (Vs - n x Vf) / RWith a resistor you already have, the real current is the leftover voltage divided by R. A 150 ohm on 5 V with a 2.0 V red LED gives (5 - 2.0) / 150 = 20 mA.
Resistor power P = (Vs - n x Vf) x IfThe resistor dissipates the leftover voltage times the current. Here 3.0 V x 0.02 A = 0.06 W, so a common 0.25 W resistor is plenty.
Round R up to the next E24Picking the next standard value up keeps current at or below target, which protects the LED. 145 ohm rounds up to the 150 ohm E24 part.

💡LED Wiring Safety Tips

Always use a resistor: An LED is not a bulb; its current rises steeply once Vf is reached, so wiring it straight across 5 V can pull hundreds of milliamps and burn it out in a flash. Even a rough 220 ohm resistor on a 5 V rail keeps a typical indicator near 15 mA and safe.
Leave voltage headroom: Keep at least 1 V, ideally 20 percent of the supply, across the resistor. If Vs barely exceeds n x Vf, small supply dips or a hotter LED with lower Vf can swing the current wildly. That is why one white LED runs better on 5 V than on a marginal 3.3 V rail.

There are two questions. With each circuit, the LED forward voltage drop calculator on JSCalc-Blog.com answers two questions: How much does that light drop? What size should the resistor be to protect against too much current?

LEDs is not bulbs or resistors. They’re light emitting diodes. Each one has a forward voltage, or Vf, below which they draw almost zero current. Above that, current rise sharply. Make sure you have the right Vf and series resistor and the LED will glow steadily for years. Mess up either of those and it will burn out immediately or stay dark.

How to Calculate Resistor Size for LEDs

The tool simply loads a typical Vf based off your choice of color. Then it calculates the actual resistor size. The other side of the equation is called forward voltage. This is the voltage dropped by the diode while conducting in the forward direction. This largely depends on semiconductor material used to make the LED. That’s why color is such a good indicator here.

LEDs that are red (made with AlGaInP) range from 1.8 to 2.2 volts. Right after them come amber and yellow which is close to 2.0 to 2.2 volts. Standard green can be about 2.2 volts. And those pure green, blue, and white LEDs that are built on indium gallium nitride jump right up to 3.0 to 3.4 volts. At the low end are infrared emitters dropping about 1.2 to 1.6 volts. Ultraviolet LEDs have the largest drop, reaching as high as 4 volts.

These numbers are preloaded into the calculator so you can begin with a reasonable number. Then you can type in your actual datasheet number if available. This also means that current rise at Vf is very high, not what we want. If you take a red LED and plug it directly into a 5 volt power source, there’s no stopping current other than the intrinsic resistance of the LED. The current will spike way above the rated 20 milliamp rating, frying the junction.

One solution is a series resistor which can absorbs the excess voltage (supply minus LED drop). The remaining voltage across the resistor, divided by the value of the resistor, determines the current. With just one resistor, it turns something sensitive into something steady. This makes it the most critical part of the circuit.

Ohm’s law used with the leftover voltage gives us the resistor value. R = (Vs… N x Vf) / If Vs is the supply voltage, n is the number of LEDs in series, Vf is the forward voltage of one LED and If is the target current in amps. With a 5 volt supply, a single red LED at 2.0 volts running 20 milliamps requires an R of 150 ohms. Because current needs to be expressed in amps rather then milliamps, 20 milliamps gets converted to 0.02. The calculator does this conversion for you in the breakdown panel and it shows the substituted numbers too.

When you calculate the resistance you want it will never be exactly what you purchase. Resistors you purchase are a favorite series like E24 which has 24 options per decade: 100, 110, 120, 150, 180, 220 ohms. This online calculator intentionally rounds up to the next available E24 number. Rounding up increases the resistance a bit and reduces the current a bit. That keeps the LED under its spec by a comfortabley margin. Your desired 145 ohm resistor turns into the available 150 ohm resistor. A blue LED requiring 90 ohms ends up at the 91 ohm value in the E24 series. Every time you round-up you take the safer path.

The way to wire LEDs so they share a single current (and have their forward voltages added) is in series. If your LEDs are, say, 3.2 volts each, then three white LEDs in series will drop 9.6 volts. There will only be 2.4 volts for the resistor if your supply is 12 volts. The calculator tells us how many we can put in series; it’s the floor of Vs / Vf. With 3.2 volt LEDs on 12 volts that’s three. For practical purposes you’ll want fewer so there’s at least a volt of headroom for the resistor. Every LED gets the same current, which makes series wiring efficient. It requires a comfortable gap above the sum of the drops from the supply.

The question can go the other direction, too. You got a resistor in your drawer and you want to calculate what current it will deliver? Just rearrange the equation to get If = (Vs (n × Vf) / R). Plug in a 150 ohm resistor on 5 volts with a 2.0 volt red LED and you find that it will draw 20 milliamps. And there is that fourth result card on the calculator that does just that. It lets you check if the resistor is good for the job before you solder it in. Also calculates the remaining voltage times current to see how much power the resistor has to dissipate. It tells you if a common quarter watt part will do.

Four cards are filled with calculations. One provides the usual forward voltage for that color, as well as the cumulative drop across all LEDs in a string. Another card displays the needed series resistor and the closest E24 value to purchase. Third, it tells how many LEDs can be strung in series on your supply. Fourth, it reports what real current will flow through your selected resistor. A list of replaced numbers is shown below the cards.

A status line alerts you if you have insufficient supply to power the entire LED drop. It also alerts you if you have less than one volt of headroom over the resistor. These warnings trap common errors before they cause you to lose a part.

The presets apply to the circuits you make all the time. One example is a blue LED off of a 12 volt rail, or a 5 volt red 5mm indicator. There is a white LED on a 3.3 volt microcontroller pin. There are three green LEDs in series on 12 volts. And there’s a UV LED from a 3.7 volt lithium cell, and a 940 nanometer emitter operating at 5 volts, infrared. Each one fills in the form and recalculates immediately, giving you a starting point that you can tweak as needed.

This tool helps if you are working with an indicator array or a status panel. It takes the datasheet number and the supply voltage and within seconds spits out the precise resistor required. The light is steady, not a burnt junction.

LED Forward Voltage Drop Calculator – Vf by Color & Resistor