Engineering Tools

LED Resistor Calculator

Find the perfect series resistor for your LED to ensure it lights up brightly without burning out.

Typical Vf: Red (2.0V), Green/Yellow (2.2V), Blue/White (3.3V)
Typical Current: 10mA - 20mA for standard 5mm LEDs.

Source Voltage must be greater than LED Forward Voltage!
Required Resistor
140 Ω
Power Dissipation
0.056 W (Use ≥ 1/8W)

The LED Resistor Formula (Ohm's Law)

To calculate the correct series resistor for an LED, you use a variation of Ohm's Law: R = (Vs - Vf) / I

Common LED Forward Voltages (Vf)

Different colors of LEDs require different amounts of voltage to turn on due to the semiconductor materials used to create them.

LED Color Typical Forward Voltage (Vf)
Infrared (IR)1.2V - 1.5V
Red1.8V - 2.2V
Yellow / Orange2.0V - 2.2V
Green2.2V - 3.0V
Blue / White / UV3.0V - 3.4V

Why Resistor Wattage Matters

When dropping voltage across a resistor to protect an LED, that excess energy is dissipated as heat. The power dissipation formula is P = Voltage Drop × Current.

If your power supply is 12V and your LED is 2V, the resistor must drop 10V. At 20mA, that is 10V × 0.02A = 0.2 Watts. A standard 1/8W (0.125W) resistor would overheat and burn up in seconds. In this scenario, you must use a 1/4W or 1/2W resistor.

Our calculator automatically checks the power dissipation and recommends the safest minimum wattage rating for your circuit.