LED Guide
How to Choose the Right LED
Choose LEDs from real design requirements: electrical limits, optical output, viewing angle, package, thermal behavior, reliability, and datasheet verification.
- Reading Time
- 15 min
- Difficulty
- Intermediate
- Last Updated
- July 23, 2026
Introduction
Choosing the right LED is not just choosing a color and a package. The same red indicator requirement can lead to different parts depending on supply voltage, target current, viewing distance, PCB space, enclosure light pipe, battery life, assembly method, and product lifetime.
LED selection crosses four design areas at once. Electrical choices define forward voltage, forward current, resistor value, driver topology, and power. Optical choices define color, wavelength, CCT, candela, lumens, and viewing angle. Mechanical choices define package, footprint, lens alignment, and assembly. Thermal choices define junction temperature and long-term reliability.
If you need a refresher on what LED parameters mean, start with Understanding LEDs. This guide focuses on the next question: which LED should you choose for a real circuit, and why?
Start with the Application
The application determines what matters most. A board status LED may be optimized for low current and easy visibility. A lighting LED may be optimized for lumens, color temperature, thermal resistance, and driver efficiency. An infrared LED may be selected by wavelength, radiant intensity, pulse current, and receiver compatibility.
| Application | Typical LED Type | Key Parameters | Design Considerations |
|---|---|---|---|
| Status Indicator | Through-hole or SMD indicator LED | VF, IF, brightness, viewing angle, package | Choose visible brightness at low current and verify polarity marking. |
| Display | SMD, RGB, matrix, or addressable LED | Color consistency, viewing angle, current, package | Check multiplexing current and optical uniformity. |
| Backlight | SMD or side-view LED | Flux, CCT, viewing angle, efficiency | Match diffuser, spacing, and thermal limits. |
| General Lighting | High-power LED, COB, or module | Lumens, efficacy, CCT, thermal resistance | Use thermal design and usually a constant-current driver. |
| Automotive Lighting | High-reliability LED package | Temperature, current, lifetime, qualification | Allow margin for transients, heat, and harsh environments. |
| Infrared | IR LED | Wavelength, radiant intensity, pulse current | Match receiver wavelength and check pulse conditions. |
| UV | UV LED | Wavelength, optical power, package, safety | Check thermal design and material compatibility. |
| Optical Sensor | IR or visible emitter | Wavelength, beam angle, stability | Match photodiode or sensor response. |
| Communication | IR or visible emitter | Rise time, wavelength, drive current | Check modulation speed and optical alignment. |
Choose the LED Type
LED type is usually chosen from the combination of optical need, assembly method, and power level. A through-hole LED can be a good panel indicator. An SMD LED is better for compact production boards. A high-power LED or COB module belongs in a thermal and optical design, not a casual indicator circuit.
| LED Type | Advantages | Limitations | Typical Applications |
|---|---|---|---|
| Through-hole LED | Simple mounting, visible polarity, easy prototyping | Large board area and less suited to automated dense assembly | Panels, indicators, lab builds |
| SMD LED | Small, low cost, production-friendly | Polarity marks and optical orientation vary by package | Consumer products, indicators, backlights |
| High-power LED | High optical output | Requires thermal path, current driver, and junction-temperature checks | Lighting, flashlights, machine vision |
| RGB LED | Color mixing from red, green, and blue emitters | Each channel needs separate current control | User interfaces, effects, displays |
| Addressable LED | Integrated driver and digital control | Timing, supply current, and protocol constraints | LED strips, signs, pixel lighting |
| COB LED | Dense light source and high flux | Thermal and optical design are critical | Lighting modules and luminaires |
| Infrared LED | Invisible output for sensors and links | Needs receiver wavelength and optical alignment match | Remote controls, barriers, optical sensors |
| UV LED | Short wavelength for specialized applications | Safety, optics, and thermal constraints are stricter | Curing, inspection, fluorescence |
Forward Voltage (VF)
Forward voltage tells you how much voltage the LED drops at a given current. It affects resistor value, supply-voltage headroom, power dissipation, and whether a simple resistor circuit is practical. Typical VF is useful, but maximum VF matters when you need guaranteed current across production and temperature.
Do not design from rules such as “all red LEDs are 2 V.” Color gives a rough trend, not a final value. Forward voltage depends on the exact LED, current, temperature, and bin. For a 3.3 V product, the difference between a red LED and a blue or white LED can determine whether there is enough headroom for a resistor.
For LED and diode voltage estimates, the Diode Forward Voltage Calculator can help compare typical diode and LED voltage behavior, but final design values should come from the LED datasheet.
Forward Current (IF)
Forward current sets brightness, electrical power, heat, and lifetime. Indicator LEDs are often bright enough at currents below the old 20 mA habit, especially in modern high-efficiency packages. Battery products often benefit from testing visibility at 1 mA to 5 mA.
Datasheets may list recommended current, test current, maximum continuous current, and pulse current. Pulse-current ratings are valid only under the specified pulse width, duty cycle, and thermal conditions. Use derating when ambient temperature rises or airflow is poor.
Use a series resistor for simple low-current indicators when supply voltage is stable and there is enough voltage headroom. Use a constant-current driver for high-power LEDs, strings, dimming, wide input-voltage variation, or efficiency-sensitive designs.
Choosing the Correct Current-Limiting Resistor
Formula reference
LED resistor equation
R = (VS - VF) / IFPresistor = IF² × RVariable definitions
- R
- series resistor value in ohms
- VS
- supply voltage
- VF
- LED forward voltage at the design current
- IF
- desired LED forward current
- Presistor
- resistor power dissipation
Example 1: a 5 V supply, red LED at 2.0 V, and 20 mA target current gives R = (5 - 2) / 0.02 = 150 ohms. Resistor power is 0.02² × 150 = 60 mW, so a common 0.125 W or 0.25 W resistor has reasonable margin.
Example 2: a 3.3 V MCU indicator with a red LED at 2.0 V and 5 mA gives R = (3.3 - 2.0) / 0.005 = 260 ohms. A nearby practical value such as 270 ohms reduces current slightly and is often acceptable after brightness testing.
Example 3: a 12 V panel indicator with a 2.1 V LED and 10 mA gives R = (12 - 2.1) / 0.01 = 990 ohms. Resistor power is about 99 mW, so power rating is no longer trivial. Use the LED Resistor Calculator to calculate practical resistor values and power margin.
Color and Wavelength
For colored LEDs, wavelength is more precise than color names. Dominant wavelength describes perceived color better than peak wavelength for many visible LEDs, while peak wavelength matters in optical systems and sensor matching. Color consistency may require binning if several LEDs must visually match.
Infrared and UV LEDs should be selected by wavelength and optical power, not by visible appearance. For IR remotes, the LED wavelength should match the receiver sensitivity. For UV designs, package, optics, material compatibility, and safety become more important.
| Color | Typical Wavelength Range | Typical Applications |
|---|---|---|
| Red | about 620 nm to 750 nm | Indicators, alarms, displays |
| Amber | about 585 nm to 620 nm | Automotive, warning indicators, panels |
| Yellow | about 570 nm to 590 nm | Status indicators and attention signals |
| Green | about 495 nm to 570 nm | Dashboards, status lights, displays |
| Blue | about 450 nm to 495 nm | Displays, effects, white LED phosphor sources |
| Violet | about 400 nm to 450 nm | Special optical designs |
| Infrared | about 850 nm to 940 nm | Remote controls, optical sensors |
| UV | below about 400 nm | Curing, inspection, special sensing |
White LED Color Temperature
White LEDs are commonly selected by correlated color temperature, or CCT, measured in kelvin. Warm white, neutral white, and cool white describe the appearance of broad-spectrum white light. CCT is not wavelength; it is a white-point description. For CIE coordinates and Duv checks, use the LED CCT & Chromaticity Calculator.
| CCT Range | Appearance | Typical Applications |
|---|---|---|
| 2700 K to 3500 K | Warm White | Residential lighting, comfort lighting, decorative products |
| 3500 K to 4500 K | Neutral White | Work areas, appliances, balanced white indicators |
| 5000 K to 6500 K | Cool White | Task lighting, displays, high-perceived-brightness applications |
Brightness: Candela vs Lumens
Candela and millicandela describe intensity in a direction. Lumens describe total visible flux. Two LEDs can have the same mcd rating but different total light output if their viewing angles differ. A narrow LED concentrates light and may look brighter straight on. A wide LED spreads light and may be better for visibility from different angles.
Use the LED Lumen, Candela & Lux Calculator when comparing beam angle, luminous intensity, luminous flux, and illuminance requirements.
Viewing Angle
Viewing angle affects perceived brightness and optical coverage. A narrow-beam LED is useful when a user looks nearly straight at the indicator or when optical energy must be concentrated. A wide-beam LED is better for panels, diffusers, backlights, and products viewed from many positions. Always evaluate the LED in the actual enclosure, because lenses, light pipes, overlays, and diffusers change the result.
Package Selection
Package choice controls PCB area, assembly process, mechanical alignment, optical output, thermal path, and cost. Through-hole LEDs are convenient for panels and prototypes. Small SMD LEDs are good for dense PCBs. High-power packages and COB LEDs need thermal pads, copper, substrates, and sometimes heatsinks. Specific dimensions and thermal values must be checked in the manufacturer datasheet.
| Package | Strengths | Limitations | Typical Use |
|---|---|---|---|
| 3 mm / 5 mm through-hole | Easy hand assembly and visible lens | Larger PCB space, manual or mixed assembly | Indicators, panels, prototypes |
| 0402 / 0603 SMD | Very compact | Lower optical area and harder manual handling | Dense boards, small indicators |
| 0805 / 1206 SMD | Good balance of size and visibility | Package polarity must be verified | Board indicators, consumer electronics |
| PLCC | Larger optical area and often better heat spreading | More board space than small chip LEDs | Displays, backlights, signage |
| High-power package | Thermal pad and high optical output | Needs PCB thermal path or heat sink | Lighting, lamps, high-current systems |
| COB | High flux density | Requires optical and thermal module design | Light engines, fixtures, floodlights |
Power and Thermal Management
LED electrical power is approximately VF × IF. The LED converts some of that power to light and the rest to heat. Junction temperature determines brightness shift, color shift, lifetime, and failure risk. Indicator LEDs and high-power LEDs are very different thermal cases.
For high-power LEDs, do not rely on a simple series resistor design alone. Check thermal resistance, PCB copper area, thermal pad design, enclosure temperature, airflow, and heatsink requirements. The LED Power Calculator and High Power LED Thermal Calculator help estimate electrical power and thermal margin.
Efficiency and Luminous Efficacy
Luminous efficacy, measured in lumens per watt, compares visible light output with electrical input power. Higher brightness does not always mean higher efficiency. A high-current LED may look bright while wasting power as heat, and optical design can waste light before it reaches the target surface. For lighting, compare flux, efficacy, driver efficiency, thermal behavior, and optical losses together.
LED Lifetime and Reliability
LEDs often fail gradually through lumen depreciation before they fail open or short. High junction temperature, overdrive current, poor heat dissipation, thermal cycling, humidity, and poor power supply quality can reduce useful lifetime. Select current and thermal margin for the expected environment, not only for a room-temperature bench test.
How to Read an LED Datasheet
Practical Selection Examples
| Example | Requirements | Parameters to Check | Recommended LED Type | Design Considerations |
|---|---|---|---|---|
| MCU Status Indicator | Visible indication at low current from 3.3 V or 5 V logic | VF, IF, package, viewing angle, resistor power | Low-current SMD or through-hole indicator LED | Use a resistor, design for visible brightness at 1 mA to 5 mA when battery life matters. |
| 12 V Control Panel Indicator | Robust panel indication from a 12 V rail | VF, current, resistor voltage drop, resistor power, package | Through-hole or panel-mount style LED | Resistor power can dominate; verify wattage and thermal rise. |
| Battery-Powered Device | Low power and acceptable visibility | Forward current, luminous intensity, efficiency, sleep current | Efficient SMD indicator LED | Choose brightness at reduced current and avoid wasting power in the resistor. |
| High-Power Lighting | High luminous flux and controlled color | Lumens, CCT, CRI if needed, thermal resistance, current | High-power LED or COB module | Use a constant-current driver and full thermal path analysis. |
| Infrared Remote Control | Pulsed IR output matched to receiver | Wavelength, radiant intensity, pulse current, viewing angle | IR LED | Check duty cycle and receiver wavelength, not visible brightness. |
LED Selection Checklist
Common Selection Mistakes
- Choosing only by color without checking current, voltage, and optical data.
- Assuming all red, blue, or white LEDs have the same forward voltage.
- Ignoring maximum current and using absolute maximum ratings as normal operation.
- Comparing mcd values without checking viewing angle.
- Ignoring thermal requirements for high-power LEDs or dense arrays.
- Choosing a package that does not fit assembly, optical, or thermal needs.
- Forgetting resistor power dissipation in high supply-voltage indicator circuits.
- Replacing one LED with another without checking datasheet bins and ratings.
Practical Design Tips
- Start with the application requirements before looking at color or package.
- Check the actual datasheet forward-voltage range at your design current.
- Design for forward-voltage variation across temperature and production bins.
- Never exceed maximum forward current in continuous operation.
- Use current limiting with a resistor or a constant-current driver.
- Compare brightness together with viewing angle and test current.
- Check wavelength for colored LEDs and CCT for white LEDs.
- Consider PCB space, assembly method, and mechanical visibility early.
- Plan thermal management for high-power LEDs before final layout.
- Test under actual enclosure, diffuser, ambient light, and temperature conditions.
Support reference
FAQ
How do I choose the right LED?
Start with the application, then choose the LED type, color or wavelength, brightness, viewing angle, package, forward current, forward voltage, and thermal limits. Confirm every final choice against the exact datasheet.
How do I choose LED forward current?
Use the datasheet recommended operating current as a starting point, then reduce or adjust it for brightness, power, thermal margin, lifetime, and battery life. Do not use absolute maximum current as a normal design target.
How do I determine the correct LED resistor?
Use R = (VS - VF) / IF, where VS is supply voltage, VF is LED forward voltage, and IF is desired LED current. Then check resistor power dissipation and choose a practical resistor value with margin.
What LED color should I use?
Choose color from the application. Red, amber, and green are common for status indication; white is used for illumination; infrared is used for remotes and sensors; UV is used for specialized optical applications. Check wavelength or CCT in the datasheet.
What is the difference between lumens and candela?
Lumens describe total visible light output, while candela describes luminous intensity in a direction. Viewing angle matters because a narrow LED can show high candela without producing high total lumens.
What viewing angle should I choose?
Use a narrow viewing angle when you need concentrated brightness in one direction. Use a wider viewing angle for diffuse indicators, backlighting, and applications where visibility from multiple positions matters.
When do I need a constant-current LED driver?
Use a constant-current driver when current accuracy, efficiency, dimming quality, high power, supply variation, or thermal behavior matters. Simple resistors are best for low-cost, low-current indicators with enough voltage headroom.
How do I choose an LED for a 3.3 V or 5 V circuit?
Check that the supply has enough headroom above LED forward voltage for current limiting. A red LED is often easier to drive from 3.3 V than a blue or white LED. Use the actual datasheet VF range and calculate the resistor at the target current.
Related Calculators
Related Engineering Guides
Related Engineering Blog
Check the common mistakes that often appear after LED selection, during schematic review, layout, and prototype bring-up.
10 Common LED Design Mistakes