LED Guide
Understanding LEDs
Learn how LEDs work, how to interpret important LED parameters, and how to connect optical, electrical, and thermal specifications to real circuit design decisions.
- Reading Time
- 14 min
- Difficulty
- Beginner
- Last Updated
- July 23, 2026
Introduction
A light-emitting diode, or LED, is a semiconductor diode that emits light when forward current flows through it. It shares the one-way conduction behavior of an ordinary diode, but its practical design questions are broader: current, voltage, color, brightness, optical angle, package, and heat all matter.
LEDs are used as simple status indicators, display elements, panel lights, backlights, optical links, sensors, LED strips, automotive lamps, and high-power lighting sources. In each case, the LED is not just a lamp symbol on a schematic. It is an electrical load, an optical source, and sometimes a thermal design problem.
The most important beginner rule is also a professional rule: an LED normally needs current control. That control may be a resistor in a small indicator circuit or a constant-current driver in a lighting system. Without current limiting, a small change in voltage can push the LED beyond its safe operating range.
How Does an LED Work?
An LED is built around a PN junction. When the junction is forward biased, electrons and holes recombine in the semiconductor material. In an LED, some of that recombination energy is released as photons. The photon energy, and therefore the emitted color, depends on the semiconductor material and bandgap.
This is why LED color is not produced by paint on the package. A red LED and a blue LED use different material systems. A white LED usually starts with a blue or violet emitter and uses phosphor to create a broader white spectrum. The package lens can shape or tint the output, but the semiconductor and phosphor system determine the main optical behavior.
Like other diodes, LEDs block current in reverse bias only up to their rating. Many LEDs have low reverse-voltage tolerance compared with rectifier diodes, so reverse connection should not be treated casually in production designs.
LED Symbol and Polarity
The LED schematic symbol is a diode symbol with arrows pointing outward. The anode is the positive side for forward current, and the cathode is the negative side. Conventional current flows from anode to cathode when the LED is on.
Through-hole LEDs often use the longer lead for the anode, a flat edge on the package near the cathode, and a larger internal electrode on one side. SMD LEDs may use a printed mark, chamfer, notch, dot, or package-specific convention. None of these visual rules should replace the datasheet and PCB footprint drawing.
Understanding Forward Voltage (VF)
Forward voltage is the voltage drop across an LED at a specified forward current. It is one of the first numbers engineers use when sizing a resistor, checking voltage headroom, or estimating LED power. However, VF is not a fixed universal property of all LEDs.
Forward voltage changes with LED material, color, current, temperature, and manufacturing bin. A red indicator LED may have a much lower VF than a blue or white LED, but two LEDs with the same color can still differ by part number and operating point.
| Color | Typical VF Reference Range | Common Applications |
|---|---|---|
| Infrared | about 1.1 V to 1.6 V | IR remotes, optical sensors, light barriers |
| Red | about 1.8 V to 2.2 V | Indicators, displays, low-power signaling |
| Orange / Yellow | about 1.9 V to 2.3 V | Status indicators, panels, warning lights |
| Green | about 2.0 V to 3.4 V | Indicators, displays, user interfaces |
| Blue | about 2.8 V to 3.6 V | Displays, indicators, white LED pump sources |
| White | about 2.8 V to 3.6 V | Lighting, backlighting, indicators |
These ranges are engineering references, not guaranteed values. Use the device datasheet and the actual design current for final resistor, driver, and thermal calculations.
Understanding Forward Current (IF)
Forward current is the current that flows through the LED while it is forward biased. The datasheet may specify a recommended test current, a continuous rated current, an absolute maximum current, and sometimes a pulse current under very specific duty-cycle limits.
Excessive current raises junction temperature, shifts color and brightness, reduces lifetime, and can destroy the LED. Small indicator LEDs are often designed around low milliamp currents, while high-power LEDs may require hundreds of milliamps or more with serious thermal design.
For resistor-based circuits, use the LED Resistor Calculator or LED Current Calculator to connect supply voltage, forward voltage, resistance, and target current. For higher power or tighter regulation, consider a constant-current LED driver instead of a simple resistor.
LED Color and Wavelength
Colored LEDs are commonly specified by wavelength in nanometers. Dominant wavelength relates to perceived color, while peak wavelength describes where the spectral output reaches its maximum. Those two values are not always identical, so color-critical designs should read the optical section of the datasheet carefully.
Human color perception is broad and application-dependent. Ambient light, lens material, viewing angle, diffuser design, and brightness can all affect how the LED appears in the final product.
| Color | Typical Wavelength Range | Common Applications |
|---|---|---|
| Infrared | about 850 nm to 940 nm | Remote controls, optical links, sensors |
| Red | about 620 nm to 750 nm | Indicators, displays, warning signals |
| Amber | about 585 nm to 620 nm | Automotive signals, controls, panels |
| Yellow | about 570 nm to 590 nm | Indicators and attention signals |
| Green | about 495 nm to 570 nm | Status indicators, displays, dashboards |
| Blue | about 450 nm to 495 nm | Displays, lighting, white LED phosphor excitation |
| Violet | about 400 nm to 450 nm | Special indicators, optical and curing applications |
White LEDs and Color Temperature
Most white LEDs are phosphor-converted LEDs. A blue or violet LED excites phosphor, and the phosphor emits a wider spectrum that the eye perceives as white. White LED color is commonly described by correlated color temperature, or CCT, measured in kelvin.
Warm white LEDs have lower CCT values and appear more yellow or amber. Neutral white sits near the middle of common lighting ranges. Cool white LEDs have higher CCT values and appear bluer. CCT is not the same as wavelength; it describes the appearance of white light compared with a reference radiator, not a single spectral line.
For white LED coordinate work, use the LED CCT & Chromaticity Calculator to compare CIE coordinates, CCT, Duv, and approximate white-point behavior.
Luminous Intensity and Luminous Flux
LED brightness specifications can be confusing because different applications use different optical units. Candela and millicandela describe intensity in a direction. Lumens describe total visible light output. Lux describes light arriving on a surface.
A narrow-angle indicator LED can have a high mcd rating but not a large total lumen output. A wide-angle LED may have lower candela but distribute light over a larger area. Viewing angle is therefore essential when comparing optical brightness.
| Parameter | Unit | Meaning | Typical Use |
|---|---|---|---|
| Luminous intensity | cd or mcd | Light output in a specific direction | Indicator brightness and viewing-angle comparison |
| Luminous flux | lm | Total visible light output | Lighting and total LED output estimation |
| Illuminance | lx | Lumens per square meter on a surface | Task lighting and target surface brightness |
| Viewing angle | degree | Angular spread of useful light | Converting between candela and lumens |
The LED Lumen, Candela & Lux Calculator helps relate these optical units when beam angle, distance, and target illuminance are known.
Common LED Types
LED type selection depends on assembly method, optical output, color control, thermal path, and drive electronics. A board indicator, an RGB status light, a high-power lamp, and an infrared remote emitter are all LEDs, but they are not interchangeable engineering choices.
| LED Type | Characteristics | Advantages | Typical Applications |
|---|---|---|---|
| Through-hole LED | Leaded package, often 3 mm or 5 mm | Easy hand assembly and visual polarity | Indicators, panels, prototypes |
| SMD LED | Surface-mount package such as 0603, 0805, 1206, or PLCC | Compact and assembly-friendly | Consumer electronics, keyboards, displays |
| High-power LED | Higher current and thermal requirements | High optical output | Lighting, flashlights, machine vision |
| RGB LED | Separate red, green, and blue emitters | Color mixing | User interfaces, effects, displays |
| Addressable LED | LED package or module with integrated driver | Digital control per pixel | Signs, strips, lighting effects |
| Infrared LED | Emits outside visible spectrum | Invisible optical output | Remote controls, sensors, optical links |
| UV LED | Short-wavelength emitter | Special optical behavior | Curing, inspection, sterilization designs |
| COB LED | Multiple dies on a substrate | Dense light source | Lighting modules and high-output lamps |
LED Packages
LED packages affect PCB footprint, soldering method, optical output, viewing angle, thermal performance, and mechanical placement. A 3 mm through-hole indicator is easy to identify and hand solder, while compact SMD LEDs fit dense electronics and automated assembly.
High-power LEDs and COB modules require more attention to thermal paths, copper area, substrate material, and heat sinking. Package names and dimensions can vary by manufacturer, so treat package examples as practical categories rather than universal standards.
| Package | Engineering Notes | Typical Use |
|---|---|---|
| 3 mm / 5 mm through-hole | Large visual indicator packages | Hand assembly, panels, prototypes |
| 0603 / 0805 / 1206 SMD | Compact board-level indicators | Consumer electronics and dense PCBs |
| PLCC | Larger SMD package with better optical and thermal area | Displays, backlighting, indicator arrays |
| High-power packages | Thermal pad or metal substrate connection | Lighting and high-current LED systems |
| COB | Multiple LED dies on one substrate | High-density light engines |
Why LEDs Need a Current-Limiting Resistor
A basic LED indicator circuit places a resistor in series with the LED. The resistor drops the unused supply voltage and sets the approximate current. Without this resistor or another current-control element, LED current can rise quickly once the junction conducts.
Formula reference
Basic LED resistor equation
R = (VS - VF) / IFVariable definitions
- R
- series resistor value in ohms
- VS
- supply voltage
- VF
- LED forward voltage at the design current
- IF
- desired LED forward current
In this equation, VS is the supply voltage, VF is LED forward voltage at the design current, and IF is the desired LED current. For example, a 5 V supply, a 2 V red LED, and a 20 mA target current gives R = (5 V - 2 V) / 0.02 A = 150 ohms.
You can calculate resistor value, current, and resistor power with the LED Resistor Calculator, then check actual circuit current with the LED Current Calculator.
LED Power and Thermal Considerations
LED electrical power is approximately forward voltage multiplied by forward current. That power becomes light and heat, with heat being the main reliability concern. Junction temperature affects lifetime, color, brightness, and safe operating area.
Small indicator LEDs usually dissipate modest power, but dense LED arrays and high-power LEDs need thermal paths through pads, copper, substrates, housings, and sometimes heat sinks. For these designs, do not stop at resistor sizing. Check LED power, driver losses, ambient temperature, and thermal resistance.
Use the LED Power Calculator for circuit power estimates and the High Power LED Thermal Calculator when junction temperature and heatsink margin matter.
How to Read an LED Datasheet
LED datasheets mix electrical, optical, mechanical, and thermal data. Separate typical values from maximum ratings. A typical value helps estimate behavior; an absolute maximum value defines a stress limit that should not be used as the normal design target.
| Parameter | What to Look For | Design Note |
|---|---|---|
| Forward Voltage | Typical and sometimes maximum | Use the datasheet range, not only a nominal color-based estimate. |
| Forward Current | Recommended, rated, and maximum values | Design normal operation below absolute maximum ratings. |
| Absolute Maximum Ratings | Stress limits | These are not recommended operating conditions. |
| Reverse Voltage | Maximum reverse bias | Many LEDs tolerate little reverse voltage. |
| Luminous Intensity / Flux | Optical output | Check test current, viewing angle, and binning conditions. |
| Wavelength / CCT | Color information | Use dominant wavelength for colored LEDs and CCT for white LEDs. |
| Viewing Angle | Beam spread | Needed when comparing mcd and lumen values. |
| Thermal Resistance | Heat path from junction | Important for high-power LEDs and dense arrays. |
Common LED Applications
Common LED Design Mistakes
- Connecting an LED directly to a voltage source without current limiting.
- Choosing a resistor from a single nominal forward-voltage value without margin.
- Ignoring forward-voltage variation between LED colors, bins, and manufacturers.
- Exceeding maximum current in continuous operation.
- Reversing anode and cathode in the PCB footprint or wiring harness.
- Ignoring thermal design for high-power LEDs or dense arrays.
- Assuming all LEDs of the same color have identical forward voltage.
- Comparing millicandela ratings without checking viewing angle.
These are intentionally summarized here. A future LED design mistakes article can explore each one in more depth without duplicating this fundamentals guide.
Practical Design Tips
- Always limit LED current with a resistor or a constant-current driver.
- Use datasheet forward-voltage data rather than assuming one fixed value for a color.
- Design for forward-voltage tolerance across production, temperature, and bins.
- Check maximum forward current and keep continuous operation below absolute maximum ratings.
- Consider temperature effects, especially in enclosed products or lighting fixtures.
- Check viewing angle before comparing brightness values between LEDs.
- Plan thermal management for high-power LEDs before choosing the final package.
- Verify polarity before assembly and confirm SMD markings against the datasheet.
- Use pulse-current ratings only when the datasheet duty cycle and pulse width match your design.
- Prototype with the actual LED family when color, brightness, or optical appearance matters.
Support reference
FAQ
What is an LED?
An LED is a light-emitting diode. It is a semiconductor diode that emits photons when forward current flows through its PN junction. In circuits, it behaves like a diode with optical output and must be driven within current, voltage, and thermal limits.
How does an LED produce light?
An LED produces light when electrons and holes recombine in the semiconductor junction during forward bias. The emitted photon energy depends on the semiconductor material, which is why different LED materials produce different colors and wavelengths.
What is LED forward voltage?
LED forward voltage is the voltage drop across the LED at a specified forward current. It depends on LED color, semiconductor material, current, temperature, and the exact part number, so it should be taken from the datasheet rather than treated as a universal fixed value.
How much current does an LED need?
Small indicator LEDs are commonly used around a few milliamps to 20 mA, while high-power LEDs may operate at hundreds of milliamps or more. The correct current depends on the LED rating, brightness target, thermal design, and lifetime requirements.
Why does an LED need a resistor?
An LED needs current limiting because a small voltage change can cause a large current change. A series resistor drops the extra supply voltage and sets current approximately by R = (VS - VF) / IF. Constant-current drivers are used when current accuracy, efficiency, or high power matters.
What determines LED color?
Colored LED output is mainly determined by semiconductor material and emitted wavelength. White LEDs are usually phosphor-converted devices where a blue or violet LED excites phosphor to produce a broad white spectrum described by correlated color temperature.
What is the difference between lumens and candela?
Lumens describe total visible light output, while candela describes luminous intensity in a direction. A narrow-beam LED can have high candela but modest total lumens, so viewing angle is needed when comparing or converting optical ratings.
Can I connect an LED directly to a power supply?
Usually no. A bare LED should not be connected directly to a fixed-voltage supply unless the supply or LED module includes current limiting. Direct connection can overcurrent the LED and damage it quickly.
Related Calculators
Related Engineering Guides
Related Engineering Blog
Review common LED circuit errors after the fundamentals are clear.
10 Common LED Design Mistakes