LED Resistor Calculator

Calculate the current-limiting resistor needed for an LED.

Vs R Vf
V
V
mA
Required Resistor
300 Ω

Nearest E24: 300 Ω

Power dissipation: 3.0 mW

Resistor rating needed: 1/8 W is fine

Typical LED Forward Voltages

Color Vf (typ) If (typ) Notes
Red1.8 - 2.2V20mAMost efficient
Orange2.0 - 2.2V20mA
Yellow2.0 - 2.2V20mA
Green2.0 - 3.2V20mAWide range
Blue3.0 - 3.5V20mAHigher voltage
White3.0 - 3.5V20mABlue + phosphor
IR1.1 - 1.5V20-100mAInvisible
UV3.3 - 4.0V20mANeeds 5V+ supply

Formulas

Brightness control: LED brightness is roughly proportional to current. 5mA = dim indicator, 20mA = bright.