ECParts Toolkit LogoECParts Toolkit

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?

LED selection flow diagramA simplified selection flow from application requirements to optical, electrical, package, thermal, and datasheet verification steps.ApplicationOptical NeedElectrical FitPackageThermal CheckVerify final LED choice against the exact datasheet and test under real operating conditions.
A reliable LED choice starts from the application and ends with datasheet verification. Color alone is never enough.

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.

LED application selection table
ApplicationTypical LED TypeKey ParametersDesign Considerations
Status IndicatorThrough-hole or SMD indicator LEDVF, IF, brightness, viewing angle, packageChoose visible brightness at low current and verify polarity marking.
DisplaySMD, RGB, matrix, or addressable LEDColor consistency, viewing angle, current, packageCheck multiplexing current and optical uniformity.
BacklightSMD or side-view LEDFlux, CCT, viewing angle, efficiencyMatch diffuser, spacing, and thermal limits.
General LightingHigh-power LED, COB, or moduleLumens, efficacy, CCT, thermal resistanceUse thermal design and usually a constant-current driver.
Automotive LightingHigh-reliability LED packageTemperature, current, lifetime, qualificationAllow margin for transients, heat, and harsh environments.
InfraredIR LEDWavelength, radiant intensity, pulse currentMatch receiver wavelength and check pulse conditions.
UVUV LEDWavelength, optical power, package, safetyCheck thermal design and material compatibility.
Optical SensorIR or visible emitterWavelength, beam angle, stabilityMatch photodiode or sensor response.
CommunicationIR or visible emitterRise time, wavelength, drive currentCheck 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 comparison
LED TypeAdvantagesLimitationsTypical Applications
Through-hole LEDSimple mounting, visible polarity, easy prototypingLarge board area and less suited to automated dense assemblyPanels, indicators, lab builds
SMD LEDSmall, low cost, production-friendlyPolarity marks and optical orientation vary by packageConsumer products, indicators, backlights
High-power LEDHigh optical outputRequires thermal path, current driver, and junction-temperature checksLighting, flashlights, machine vision
RGB LEDColor mixing from red, green, and blue emittersEach channel needs separate current controlUser interfaces, effects, displays
Addressable LEDIntegrated driver and digital controlTiming, supply current, and protocol constraintsLED strips, signs, pixel lighting
COB LEDDense light source and high fluxThermal and optical design are criticalLighting modules and luminaires
Infrared LEDInvisible output for sensors and linksNeeds receiver wavelength and optical alignment matchRemote controls, barriers, optical sensors
UV LEDShort wavelength for specialized applicationsSafety, optics, and thermal constraints are stricterCuring, 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² × R

Variable 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.

Calculate with LED Resistor Calculator when choosing a series resistor, then verify actual current and resistor heating in the assembled circuit.

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.

Typical LED wavelength reference ranges
ColorTypical Wavelength RangeTypical Applications
Redabout 620 nm to 750 nmIndicators, alarms, displays
Amberabout 585 nm to 620 nmAutomotive, warning indicators, panels
Yellowabout 570 nm to 590 nmStatus indicators and attention signals
Greenabout 495 nm to 570 nmDashboards, status lights, displays
Blueabout 450 nm to 495 nmDisplays, effects, white LED phosphor sources
Violetabout 400 nm to 450 nmSpecial optical designs
Infraredabout 850 nm to 940 nmRemote controls, optical sensors
UVbelow about 400 nmCuring, 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.

White LED CCT selection table
CCT RangeAppearanceTypical Applications
2700 K to 3500 KWarm WhiteResidential lighting, comfort lighting, decorative products
3500 K to 4500 KNeutral WhiteWork areas, appliances, balanced white indicators
5000 K to 6500 KCool WhiteTask 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.

LED package selection table
PackageStrengthsLimitationsTypical Use
3 mm / 5 mm through-holeEasy hand assembly and visible lensLarger PCB space, manual or mixed assemblyIndicators, panels, prototypes
0402 / 0603 SMDVery compactLower optical area and harder manual handlingDense boards, small indicators
0805 / 1206 SMDGood balance of size and visibilityPackage polarity must be verifiedBoard indicators, consumer electronics
PLCCLarger optical area and often better heat spreadingMore board space than small chip LEDsDisplays, backlights, signage
High-power packageThermal pad and high optical outputNeeds PCB thermal path or heat sinkLighting, lamps, high-current systems
COBHigh flux densityRequires optical and thermal module designLight 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

Electrical: VF, IF, maximum ratings, reverse voltage, and power dissipation.
Optical: wavelength, CCT, luminous intensity, luminous flux, and viewing angle.
Thermal: junction temperature, thermal resistance, and derating curves.
Mechanical: package, footprint, polarity, lens style, and soldering conditions.
Typical values describe expected behavior. Maximum ratings describe stress limits. A reliable LED selection uses recommended operating conditions and derating, not absolute maximum ratings as design targets.

Practical Selection Examples

LED practical selection examples
ExampleRequirementsParameters to CheckRecommended LED TypeDesign Considerations
MCU Status IndicatorVisible indication at low current from 3.3 V or 5 V logicVF, IF, package, viewing angle, resistor powerLow-current SMD or through-hole indicator LEDUse a resistor, design for visible brightness at 1 mA to 5 mA when battery life matters.
12 V Control Panel IndicatorRobust panel indication from a 12 V railVF, current, resistor voltage drop, resistor power, packageThrough-hole or panel-mount style LEDResistor power can dominate; verify wattage and thermal rise.
Battery-Powered DeviceLow power and acceptable visibilityForward current, luminous intensity, efficiency, sleep currentEfficient SMD indicator LEDChoose brightness at reduced current and avoid wasting power in the resistor.
High-Power LightingHigh luminous flux and controlled colorLumens, CCT, CRI if needed, thermal resistance, currentHigh-power LED or COB moduleUse a constant-current driver and full thermal path analysis.
Infrared Remote ControlPulsed IR output matched to receiverWavelength, radiant intensity, pulse current, viewing angleIR LEDCheck duty cycle and receiver wavelength, not visible brightness.

LED Selection Checklist

Application
LED Type
Forward Voltage
Forward Current
Wavelength / CCT
Brightness
Viewing Angle
Package
Power
Thermal Requirements
Lifetime
Datasheet Verification

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 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