Skip to main content

LED Resistor Calculator

Series resistor R = (Vs - Vf) / I for one LED on DC. Informational, not a driver design or wiring approval.

Rated 4.7 out of 5 based on 371 reviews

Results

How to size an LED series resistor

  1. Enter the DC supply voltage Vs.
  2. Enter the LED forward voltage Vf from the datasheet.
  3. Enter the desired LED current in milliamps.
  4. Read ohms, resistor power, and the next E12 size at or above the exact value. Nothing is uploaded.

LED series resistor

R = (Vs - Vf) / I for one LED

VsDC supply voltage
VfLED forward voltage at the chosen current
ILED current. The form takes milliamps and divides by 1000.
FormulaR = (Vs - Vf) / I
E12 hintNext standard size at or above the exact ohms
ApprovalInformational. Not a driver design or wiring approval.

What the LED resistor formula is

The LED drops Vf. The resistor drops the rest: Vs minus Vf. Current I is milliamps divided by 1000. R = (Vs - Vf) / I. The default 5 V, 2.0 V, and 20 mA gives 150 ohms. Resistor power is I squared times R.

Forward voltage, current, and E12

Vf depends on color and current. Red is often near 2 V. Blue and white sit higher. 20 mA is a common indicator current, not a rule. E12 is a 12-step preferred number series. The page suggests the next size at or above the exact ohms so you can pick a stock part.

How this page computes

Supply voltage must exceed Vf. Milliamps must be greater than 0. The result is one LED on DC with a single series resistor. It is not a constant-current driver and not a string of LEDs.

Limits

One LED, DC, no PWM model, no thermal derating. Informational, not a driver design or wiring approval. CZNull does not receive the values. See the disclaimer.

LED resistor questions

Does this page upload Vs and Vf?
No. The resistor formula runs in this tab. CZNull does not receive the voltages.
Why milliamps instead of amps?
LED current is usually stated in mA. 20 mA is 0.02 A. The page divides by 1000.
What if Vf is greater than Vs?
The LED cannot turn on that way. The page rejects that pair. Raise the supply or pick a lower Vf LED.
Is 150 ohms the only valid part?
150 ohms is exact for the default. The E12 hint is the next catalog size at or above that value.
Can I run several LEDs in series?
Not on this form. Sum the forward voltages yourself, then treat that sum as Vf, or use a proper driver.
Is this wiring approval?
No. Confirm polarity, wattage, and heat with the datasheet and a qualified person.