Simple LED Circuit Diagram: Series Resistor, Polarity, and Voltage Calculation

Simple Led Circuit Diagram — circuit diagram showing component connections+-5V330ΩLEDLED Circuit
Simple LED Circuit Diagram: Series Resistor, Polarity, and Voltage Calculation — interactive diagram. Open it in the editor to customise components and wiring.

This is a free printable simple led circuit diagram: download the diagram as SVG or open it and print to paper or PDF.

An LED requires a series resistor to limit current — without it, the LED will burn out in seconds. This guide explains the calculation, polarity identification, and correct wiring for simple LED circuits at common voltages.

A Light-Emitting Diode (LED) is a semiconductor device that emits light when current flows through it in the forward direction. Unlike an incandescent bulb, an LED does not have an inherent resistance that increases with temperature — it is a current-controlled device with a relatively fixed forward voltage drop (Vf). This means that if you connect an LED directly to a voltage source higher than its forward voltage, the junction offers very little resistance, current rises uncontrollably, and the LED overheats and fails within seconds.

The solution is a series current-limiting resistor. The resistor takes up the difference between the supply voltage and the LED's forward voltage drop, and limits the current to the LED's rated operating current.

The calculation is derived from Ohm's Law:

R = (Vs – Vf) / If

Where: - Vs = supply voltage (e.g. 5V, 12V) - Vf = LED forward voltage (typically 1.8–2.2V for red/yellow/orange; 3.0–3.5V for blue, white, green) - If = desired forward current (typically 10–20mA for standard 5mm LEDs)

Example: Red LED on a 12V supply: R = (12 – 2.0) / 0.020 = 10 / 0.020 = 500 ohms Nearest standard E24 value: 510 ohms Power dissipated: P = If² × R = (0.020)² × 510 = 0.204W — use a 0.25W or 0.5W resistor

Example: White LED on a 5V supply: R = (5 – 3.3) / 0.020 = 1.7 / 0.020 = 85 ohms Nearest standard: 82 ohms or 100 ohms

Polarity is essential. LEDs are diodes — they only conduct in one direction. The anode (+) is connected toward the positive supply; the cathode (–) is connected toward the ground. On a standard 5mm through-hole LED, the longer lead is the anode and the shorter lead is the cathode. The cathode side of the LED body also has a flat cut on the rim of the plastic lens.

For multiple LEDs from a single supply, the preferred topology is individual series resistors for each LED rather than a single shared resistor. Shared resistors cause unequal current distribution because LEDs have manufacturing variation in their Vf — one LED with a slightly lower Vf will hog current at the expense of others.

Power dissipation of the resistor must be verified. Most standard resistors are 0.25W. A resistor carrying 20mA in a 12V circuit dissipates up to 0.2W — marginal for a 0.25W part. Using a 0.5W resistor provides adequate margin and improved reliability.

How to wire simple led circuit diagram

  1. Determine supply voltage and LED specifications Note your supply voltage (Vs). From the LED datasheet or product listing, obtain the forward voltage (Vf) and maximum forward current (If_max). If no datasheet is available, use typical values: red/yellow/orange Vf ≈ 2.0V, green Vf ≈ 2.1V, blue/white Vf ≈ 3.3V. Target If = 10–20mA for standard 5mm LEDs; most operate efficiently at 10mA with less heat.
  2. Calculate the series resistor value Apply the formula: R = (Vs – Vf) / If. Example: 5V supply, red LED (Vf = 2.0V), If = 15mA: R = (5 – 2.0) / 0.015 = 200 ohms. Select the nearest higher standard E24 or E12 resistor value. If your calculation lands exactly on a standard value, still consider rounding up slightly to ensure the LED is not over-driven due to supply voltage tolerance.
  3. Calculate and verify resistor power rating Calculate power dissipation: P = (Vs – Vf) × If. Using the example above: P = (5 – 2.0) × 0.015 = 0.045W. A standard 0.25W resistor is more than adequate. For 12V circuits with 20mA, dissipation can approach 0.2W — use a 0.5W resistor. Always select a resistor with a power rating at least 50% above the calculated dissipation for long-term reliability.
  4. Identify LED anode and cathode For a 5mm through-hole LED: the longer lead is the anode (+), the shorter lead is the cathode (–). There is also a flat cut on the cathode side of the lens rim. Confirm with a multimeter in diode mode if there is any doubt. Never connect an LED without knowing which terminal is which — reversed connection simply prevents the LED from illuminating, but repeated reverse voltage above the LED's reverse breakdown voltage can damage it.
  5. Assemble the circuit on a breadboard or PCB Connect the series resistor between the positive supply and the LED anode. Connect the LED cathode to the supply negative (ground). The resistor position (before or after the LED in the series path) does not matter electrically — current is the same throughout a series circuit — but convention places the resistor between supply and LED anode. Verify correct orientation before applying power.
  6. Power on and verify operation Apply the supply voltage. The LED should illuminate at a steady, appropriate brightness. If the LED does not illuminate, check polarity (swap leads if necessary), check that the resistor is correctly valued and fully inserted into the circuit, and verify supply voltage with a multimeter. If the LED appears very dim, check that the resistor value is not too high for the desired brightness and current.

Specifications

Forward voltage (Vf) — red, orange, yellow1.8V to 2.2V typical
Forward voltage (Vf) — green (standard)2.0V to 2.4V typical
Forward voltage (Vf) — blue, white, green (high-efficiency)3.0V to 3.5V typical
Typical forward current (standard 5mm LED)10–20mA; maximum 20mA — operate at 10–15mA for longer life
Resistor formulaR = (Vs – Vf) / If (ohms); power P = (Vs – Vf) × If (watts)
Maximum reverse voltage (typical)5V — do not apply reverse voltage above this value
Standard resistor wattage ratings0.125W (1/8W), 0.25W (1/4W), 0.5W (1/2W), 1W — select above calculated dissipation
LED indicator wavelength bandsRed: ~620–750nm; Yellow: ~570–590nm; Green: ~495–570nm; Blue: ~450–495nm; White: broadband

Safety warnings

Tools needed

Common mistakes

Troubleshooting

LED does not illuminate when power is applied
Cause: Reversed polarity, incorrect resistor value (too high), open circuit, or no supply voltage Fix: Verify supply voltage with a multimeter. Check LED orientation (longer lead to positive). Test resistor value with multimeter resistance function. Test LED directly with a 3V supply and no resistor for 1-2 seconds to confirm the LED itself is functional (if it lights briefly, LED is fine; fault is in the circuit).
LED illuminates briefly then stops working
Cause: No series resistor installed, or resistor value is too low — LED driven into thermal destruction by excess current Fix: The LED is permanently destroyed and must be replaced. Install a correctly calculated series resistor before powering the replacement LED. If a resistor was already in circuit, verify its value with a multimeter — resistors can be mis-read by colour code.
LED is much dimmer than expected
Cause: Series resistor value is too high, supply voltage is lower than expected, or LED forward current is much lower than intended Fix: Measure actual supply voltage. Recalculate the correct resistor value. Replace the resistor with the correctly calculated value. Also verify the LED itself is not partially failed — a degraded junction can produce reduced light output at normal current.

Frequently asked questions

What happens if I connect an LED without a series resistor?

Without a series resistor, only the LED's junction resistance limits current — which is very low. Current rises extremely rapidly as the junction heats, causing a thermal runaway condition. The LED will overheat and its junction will be destroyed, typically within one to a few seconds. The LED will cease to illuminate and cannot be repaired. Always use a series resistor.

How do I identify the anode and cathode of an LED?

On standard 5mm through-hole LEDs: the longer lead is the anode (+) and the shorter lead is the cathode (–). The LED body also has a flat cut on the rim of the lens on the cathode side. On SMD LEDs, the cathode is usually marked with a line, a triangle, or a dot on the package. When in doubt, test with a multimeter in diode mode — the LED will forward bias (and may emit faint light) when the red probe is on the anode.

Can I use the same series resistor for different coloured LEDs?

Only if their forward voltages (Vf) are similar. Red, yellow, and orange LEDs typically have Vf around 1.8–2.2V. Blue, white, and green LEDs typically have Vf around 3.0–3.5V. Using a resistor calculated for a red LED with a blue LED will under-drive the blue LED (less than intended brightness). Recalculate the resistor value for each LED colour or type.

How many LEDs can I run from a 5V supply?

In series: the forward voltages add up — for white LEDs at 3.3V each, only one fits in a 5V supply with a usable resistor voltage (5 – 3.3 = 1.7V for the resistor). Two would require 6.6V minimum. In parallel (each with its own resistor): you can run as many as the supply current capacity allows. At 20mA per LED, ten LEDs draw 200mA total — a common USB supply can handle this.

What resistor wattage should I use for a 12V LED circuit?

Calculate power dissipation: P = (Vs – Vf) × If. For a red LED at 20mA on 12V: P = (12 – 2.0) × 0.020 = 0.2W. A standard 0.25W resistor is at its limit — use a 0.5W resistor for adequate thermal margin. For higher current LEDs or higher voltage supplies, calculate carefully and select the next standard wattage rating above your calculated dissipation.

Related diagrams

Free electrical calculators

Edit this diagram free in the online editor