LED Resistor for 3.3V Microcontroller and Blue LED
A 3.3V microcontroller GPIO pin driving a blue LED (3.0V Vf) at 10mA needs a 33-ohm series resistor.
How to use this tool
- Enter supply voltage (vs), led forward voltage (vf) and led current in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your series resistance and the full breakdown beneath it.
Calculate the correct series resistor to connect a blue LED directly to a 3.3V microcontroller GPIO pin.
Frequently asked questions
- What forward voltage should I use?
- Red and yellow LEDs are typically 1.8–2.2 V. Green, blue, and white LEDs are usually 3.0–3.5 V. Check your LED's datasheet for the exact value.
- What current should I use?
- Standard 5 mm through-hole LEDs are rated for 20 mA maximum. A common value for a bright but conservative drive is 10–15 mA.
- Should I round up or down to the nearest standard resistor value?
- Round up to the next E12/E24 standard value to keep current at or below the rated maximum. Rounding down would exceed the LED's current rating.