LED Resistor Calculator

Current-limiting resistor for one or more LEDs.

Runs in your browser — nothing is uploaded
Red ≈ 2 V, green/blue/white ≈ 3 V.

—

For learning, hobby and prototyping use. Not professional electrical design advice — follow applicable codes and standards.

How to use LED Resistor Calculator

  1. Enter your values — the unit for each field is shown next to it.
  2. The result updates instantly as you type.
  3. Copy the results, or change inputs to compare scenarios.

Formula & assumptions

R = (Vsupply − n × Vf) / I