electronics

LED Resistor Calculator

Size the series ballast resistor for an LED string — supply voltage, LED forward voltage, target current and LED count in; required resistance, nearest E24/E96 standard values with actual current and dissipation, and a resistor power-rating check out.

LED and supply

e.g. 5, 9V or 5000mV

e.g. 2, 3.2V or 3200mV

e.g. 20mA, 0.02 or 20000µA

e.g. 1, 2 or 4

Resistive ballasting only — this assumes a stiff supply and ignores constant-current drivers, PWM dimming and thermal derating; real LED forward voltage varies by part and temperature, so check the datasheet. Engineering prefixes like mV, kV and mA are parsed automatically; 'm' is milli and 'M' is mega.

Required resistance

Enter the supply voltage, LED forward voltage, target current and number of series LEDs — the required resistance, nearest standard values and power rating solve live as you type. The supply must exceed the total LED drop (N × Vf).

Enter all four values to see the required resistance.

Privacy settings

Checking…

We count anonymous tool use and coarse errors to improve ToolDeck. We do not send your files, pasted text, generated links, or results. Normal network delivery still exposes connection metadata to Cloudflare. Your choice is stored only in this browser's local storage — we do not create a visitor ID. Decline opts out; your browser's Global Privacy Control or Do Not Track signal overrides any choice.

Developer feedback