Electronics

LED Basics

LED forward voltages by color, current sizing, and driver topology.

Forward voltage by color

ColorV_f (typical)Notes
Infrared1.2 VGaAs (~940 nm)
Red1.8–2.1 VAlGaAs, AlInGaP
Orange2.0–2.1 VAlInGaP
Yellow2.1–2.2 V
Green (pure)3.0–3.5 VInGaN
Green (old)2.1 VGaP — dim
Blue3.0–3.3 VInGaN
White3.0–3.3 VBlue + phosphor
UV3.3–4.0 V

Sizing rules

Resistor valueR = (V_supply − V_f) / I_f
DissipationP_R = (V_supply − V_f) · I_f (size for at least 2×)
Typical I_f10–20 mA for indicator LEDs, 350 mA–1 A for lighting
Neverconnect an LED directly across a voltage source — always limit current

Driver topology

  • Resistor: simplest; efficient only when V_supply − V_f is small.
  • Constant-current linear: wastes the difference as heat; fine at low power.
  • Buck driver: 90 %+ efficient for higher current — standard for lighting.
  • PWM dimming: preserves color; flicker must be >200 Hz to avoid visible artifacts.
  • Series vs parallel: prefer series (same current through all). Parallel forces per-string resistor or driver.

Worked examples

Indicator LED on 5 V: red LED, Vf = 2.0 V, target 20 mA. R = (5 − 2.0) / 0.020 = 150 ohms, a standard value. The resistor dissipates 3 V × 0.020 A = 60 mW, so a 1/8 W part is comfortable. Only 2.0 / 5 = 40% of the power goes to the LED; the rest is heat in the resistor.

Three white LEDs in series on 12 V: Vf = 3.2 V each makes 9.6 V. R = (12 − 9.6) / 0.020 = 120 ohms, dissipating 2.4 × 0.020 = 48 mW. The efficiency is 9.6 / 12 = 80%. In a car the supply is 14.4 V with the engine running, and the current becomes (14.4 − 9.6) / 120 = 40 mA, twice the design value. Always calculate at the highest supply voltage, and consider a constant-current driver on a vehicle.

Common mistakes

  • Using one resistor for LEDs in parallel. Their forward voltages differ slightly, so one LED takes more current and runs hotter, which lowers its forward voltage further and makes it take even more. Give each LED its own resistor or put them in series.
  • Treating Vf as a constant. It varies between parts of the same batch and falls by about 2 mV per degree C of junction temperature. Do not run an LED close to its maximum current from a voltage source with little headroom.
  • Judging brightness from current alone. Output rises almost in proportion to current but efficacy falls at high current, so running at 50 to 70% of the maximum gives better efficiency, longer life and cooler parts.
  • Reverse voltage. Most LEDs withstand only about 5 V in reverse. On AC or reversible supplies, add a series diode or an anti-parallel diode.
Was this article helpful?