Typical: 10-20mA for standard, 350mA+ for high power
Formula
Why LEDs Need Resistors
LEDs are current-driven devices. Without a current limiting resistor, they will draw excessive current and burn out almost instantly. The resistor drops the excess voltage and limits current to a safe level.
Key Parameters
- Forward Voltage (Vf): Voltage drop across LED when lit
- Forward Current (If): Operating current (typically 10-20mA)
- Max Current: Don't exceed or LED will fail
- Power Rating: Resistor must handle the heat
Series vs Parallel
- Series: Same current through all LEDs, higher voltage needed
- Parallel: Lower voltage, but unequal current distribution
- Best Practice: Series with individual resistors per LED string
Typical LED Forward Voltages
| LED Color | Forward Voltage | Typical Current | Notes |
|---|---|---|---|
| Infrared | 1.2-1.6V | 20-100mA | Not visible |
| Red | 1.8-2.1V | 10-20mA | Most efficient |
| Orange | 2.0-2.2V | 10-20mA | - |
| Yellow | 2.0-2.2V | 10-20mA | - |
| Green | 2.0-3.0V | 10-20mA | Wide range |
| Blue | 3.0-3.5V | 10-20mA | Higher Vf |
| White | 3.0-3.5V | 10-20mA | Blue + phosphor |
| UV | 3.0-4.0V | 20mA | Eye hazard |
Formula Source and Checked Examples
The calculator applies Ohm's law to the voltage left over after the LED: R = (Vsupply − VLED) / ILED. For LEDs in series, VLED is the forward voltage multiplied by the number of LEDs. The exact result is then rounded up to the next E24 (5%) standard value, so the real current is at or below the target, never above it. Resistor power is (Vsupply − VLED) × actual current, and the suggested rating is the first of 0.125 W, 0.25 W, 0.5 W or 1 W that is above that figure.
The forward voltage is treated as a fixed number. A real LED's forward voltage changes with current, temperature and production lot, so take Vf from the datasheet at your operating current. When the supply is only slightly above the LED voltage, small changes in either one move the current a lot. The parallel option models several LEDs sharing one resistor and assumes they share current equally, which matched parts rarely do. One resistor per LED is the safer circuit.
The rows below were entered in the live calculator (local production build) and checked by hand calculation. Last run: November 20, 2026.
| Inputs (supply, Vf, target current, LEDs) | Recommended resistor | Exact value | Actual current | Resistor power |
|---|---|---|---|---|
| 5 V, 2.0 V, 20 mA, 1 | 150 Ω | 150.0 Ω | 20.0 mA | 60 mW |
| 12 V, 3.3 V, 20 mA, 2 in series | 270 Ω | 270.0 Ω | 20.0 mA | 108 mW |
| 5 V, 3.3 V, 15 mA, 1 | 120 Ω | 113.3 Ω | 14.2 mA | 24 mW |
Hand check for row 3: R = (5 − 3.3) / 0.015 = 113.3 Ω, next E24 value up is 120 Ω; I = 1.7 / 120 = 14.2 mA; P = 1.7 × 0.01417 = 24 mW. Found an error? Email hello@yourpcb.com.