NodeLoop

LED Resistor Calculator

Quickly calculate the required series resistor for your LED. Find the nearest standard resistor value and power dissipation to safely light up your project.

⚙️ Parameters

This is the voltage drop across the LED.

Typically 15-20mA for standard 5mm LEDs.

📊 Results

Required Resistor:

Nearest Standard Resistor (E24):

Power Dissipation:

⚡ Circuit Diagram

Theory & Formulas

To prevent an LED from burning out, a series resistor is needed to limit the current flowing through it. The calculation is a direct application of Ohm's Law.

Ohm's Law for LEDs

The resistor's value is determined by the source voltage (VS), the LED's forward voltage (VF), and the desired forward current (IF).

R = (VS - VF) / IF

Where IF is in Amperes (so we divide the milliamp value by 1000).

Power Dissipation

It's also crucial to use a resistor with an adequate power rating. The power dissipated by the resistor is calculated using the formula:

P = IF² * R

If the power is over 0.25W, you should consider a resistor with a higher power rating (e.g., 1/2W or 1W).