Skip to content
Circuits Playground
Menu

LED Resistor Calculator

Find the right series resistor for an LED from the supply voltage, LED forward voltage and current. Shows the nearest standard E12 value and power rating.

R = (Vsupply − Vf) / I

V
V
mA
Exact resistance
200 Ω
Use standard (E12) resistor
220 Ω
Actual current
13.6 mA
Resistor power
41 mW, ¼ W is fine

Frequently asked questions

What resistor do I need for an LED on 5 V?

For a red LED (about 2 V) at 15 mA on 5 V: (5 − 2) / 0.015 = 200 Ω, so use the next standard value up, 220 Ω.

What resistor for an LED on 3.3 V (ESP32)?

For a red LED at 10 mA on 3.3 V: (3.3 − 2) / 0.01 = 130 Ω, so 150 Ω is a safe choice. Blue and white LEDs (about 3 V) may be dim at 3.3 V.

Can I connect an LED without a resistor?

No. Without a resistor the current is limited only by the LED and the pin, which can destroy both.

Next: try it in a real circuit with the Circuit Builder, or browse projects.