LED Resistor Calculator
Find the right series resistor for any LED: enter your supply voltage, the LED forward voltage and the target LED current.
Typical: red 2.0 V, green 2.2 V, blue/white 3.0-3.4 V
Exact resistor value
—
Nearest E12 standard
—
Safer choice (next E12 up)
—
Power dissipated
—
—
Formula used
R = (Vs − Vf) ÷ I and P = I² × R
The resistor drops the extra voltage (supply minus LED voltage) at the target current. Always pick a power rating at least twice the dissipated power.
How to use
- Enter your supply voltage, for example 9 V from a battery or 5 V from USB.
- Enter the LED forward voltage (check the LED datasheet) and the target current in mA.
- Pick the nearest E12 value, or the next higher value for a safer, slightly dimmer LED.
Frequently Asked Questions (FAQ)
What inputs does the LED resistor calculator need?
The supply voltage in volts, the LED forward voltage in volts and the LED current in milliamps.
How is the resistor value calculated?
Resistor value equals (supply voltage minus LED voltage) divided by the current. The tool then suggests the nearest E12 standard value plus a safe power rating.
Should I pick the exact calculated value or a standard value?
Use a standard E12 value. The tool shows the nearest E12 resistor and the next higher E12 value, which is the safer choice because it keeps the current lower.
What power rating should the resistor have?
It must handle the power it dissipates, which is current squared times resistance. Choose a rating at least twice the dissipated power.