Home › Calculators › LED resistor calculator
LED resistor calculator
The series resistor for one LED or a string.
Try the circuit in the labBuild it on the simulator's bench and measure it.
How it is worked out
R = (Vsupply − n × VF) ÷ I. The resistor drops the voltage the LEDs do not use and sets the current. Round up to the next standard value so the current comes out a little lower, never higher.
Example: a white LED (3.0 V) from 5 V at 15 mA needs (5 − 3) ÷ 0.015 = 133 Ω; the next E12 value is 150 Ω, giving 13 mA and 27 mW in the resistor.
Most 5 mm LEDs are rated 20 mA continuous; indicator LEDs look bright at 2 to 10 mA. Never connect an LED straight across a supply: with no resistor the current is limited only by the supply and the LED burns out.
Other calculators
- Ohm’s law calculator
- Voltage divider calculator
- Series and parallel resistor calculator
- RC time constant calculator
- Reactance and resonance calculator
- 555 timer astable calculator
- PCB trace width calculator (IPC-2221)
- Battery runtime calculator
- Solar panel and battery size calculator
- Wire size and voltage drop calculator
- Breaker and wire size calculator (Philippines)
- Resistor colour code calculator