What Resistor Do I Need for an LED on 5 V?

Answer
150 Ω red LED, 20 mA

A standard red LED drops about 2.0 V, so on 5 V the resistor has to drop 3.0 V. At 20 mA that is 3.0 ÷ 0.020 = 150 Ω; the next standard E12 value is 150 Ω, which gives 20.0 mA and dissipates 60 mW in the resistor. A 1/8 W resistor (or larger) is enough.

Free, no sign-upInstant resultsUpdated October 2026
V
mA
Standard 5 mm LEDs: 10–20 mA. Check the datasheet's max current.
V
From the LED datasheet (Vf at your current).
Standard series
Resistor to use
–
How we calculated this

    For estimating and educational purposes only. Results are approximate and are not a substitute for a licensed professional, the manufacturer's instructions or your local code. Disclaimer

    LED resistor on 5 V by color (20 mA, E12 values)

    LEDVf (typ.)Exact RE12 resistorCurrentResistor power
    Red2.0 V150 Ω150 Ω20.0 mA60 mW
    Orange2.0 V150 Ω150 Ω20.0 mA60 mW
    Yellow2.1 V145 Ω150 Ω19.3 mA56.1 mW
    Green (standard)2.2 V140 Ω150 Ω18.7 mA52.3 mW
    Green (bright/true green)3.2 V90 Ω100 Ω18.0 mA32.4 mW
    Blue3.2 V90 Ω100 Ω18.0 mA32.4 mW
    White3.2 V90 Ω100 Ω18.0 mA32.4 mW

    Typical forward voltages; check your LED's datasheet. Rounding up to the next standard value keeps the current at or just below 20 mA.

    Frequently asked questions

    What resistor for a white or blue LED on 5 V?

    About 90 Ω exact at 20 mA (Vf ≈ 3.2 V), so use 100 Ω.

    How many red LEDs can I put in series on 5 V?

    As a rule of thumb keep at least 1 V across the resistor: 2 red LEDs in series (4.0 V in total) with 56 Ω at 20 mA.

    Can I use a bigger resistor?

    Yes. A larger value just lowers the current and brightness; most modern LEDs are clearly visible at 5–10 mA.

    Open the full calculator: LED Resistor Calculator →