Accurately compute the current‑limiting resistor for any LED. Enter supply voltage, LED forward voltage (Vf), and desired current. Get exact resistance, standard E‑series value, power rating, resistor color code, and visual circuit representation.
Light Emitting Diodes (LEDs) are current‑driven devices: they require a precise forward current (If) to produce light without damage. The simplest and most reliable method to limit current is using a series resistor. According to Ohm’s Law and Kirchhoff’s Voltage Law, the resistor value is calculated as:
This tool instantly applies the formula, converts mA to amperes, and provides the minimum resistor value. Additional considerations: power rating (P = I2 × R) ensures the resistor does not overheat; selecting a standard value from the E24 series; and verifying that Vs > Vf for proper operation.
A car enthusiast installs a high‑brightness white LED as a dome light. Supply = 13.8V (vehicle running), LED Vf = 3.4V @ 150 mA. Required R = (13.8 – 3.4) / 0.15 ≈ 69.3 Ω. Closest standard: 68 Ω (E24). Power = 0.15² × 68 = 1.53W → recommend 2W or 3W resistor to withstand heat. This tool instantly verifies these parameters and prevents LED flickering or premature failure.
When multiple LEDs are connected in series, the total forward voltage is additive: Vf(total) = Vf1 + Vf2 + … . The resistor formula remains R = (Vs – ΣVf) / I (same current flows through all). For parallel strings, each branch requires its own current‑limiting resistor to ensure current sharing. This calculator focuses on single‑LED design, but the principle extends directly to series strings.
Our tool automatically matches the computed resistance to the nearest E24 preferred value. The 4‑band color code is displayed (first two digits, multiplier, tolerance ±5%). For high precision applications, you may select ±1% resistors (E96). The color code algorithm follows the IEC 60062 standard.
| LED Type | Typical Vf (V) | Typical If (mA) | Example Resistor @5V |
|---|---|---|---|
| Red / Orange / Yellow | 1.8 – 2.2 | 20 | 150 – 180 Ω |
| Green / Blue / White | 2.9 – 3.5 | 20 | 75 – 100 Ω |
| Infrared (IR) | 1.2 – 1.6 | 50 – 100 | 34 – 68 Ω |
| Ultraviolet (UV) | 3.3 – 3.8 | 20 | 56 – 82 Ω |
Even with correct resistance, a resistor dissipates power as heat. Using a resistor rated at double the calculated power ensures a safe temperature rise. For SMD designs, check the PCB thermal conductivity. For through‑hole, ¼ W (0.25W) resistors are common up to ~0.125W dissipation; above that, switch to ½ W or 1 W metal film types.
This tool is built upon principles from Horowitz & Hill’s The Art of Electronics, widely regarded as the electronics engineer’s bible. Additional validation from IEEE standards and LED manufacturer datasheets (Cree, Osram, Lumileds). For in‑depth theory, visit LED circuit – Wikipedia or consult All About Circuits.
Tool maintenance: This calculator uses standard E24 resistor values and IEC 60062 color code rules. All calculations are performed locally; the tool is updated periodically to reflect common LED specifications. Feedback is welcome via the contact form.Last reviewed March 2026 by getzenquery Tech team.