LED Rocker Switch Resistor Values for 12 V, 24 V and 48 V

dp_admin 4 min read

Short answer: R = (supply − LED forward voltage) ÷ LED current. For a red LED (2.0 V, 20 mA): about 510 Ω at 12 V, 1.1 kΩ at 24 V and 2.3 kΩ at 48 V. Many 12/24 V illuminated rockers already have the resistor moulded in — check before adding another.

Resistor values by supply and LED colour

LED colour Forward voltage 12 V 24 V 48 V
Red 2.0 V 510 Ω, 0.25 W 1.1 kΩ, 0.5 W 2.3 kΩ, 1 W
Green / blue / white 3.2 V 470 Ω, 0.25 W 1.1 kΩ, 0.5 W 2.2 kΩ, 1 W
Amber 2.1 V 510 Ω, 0.25 W 1.1 kΩ, 0.5 W 2.3 kΩ, 1 W

Values assume 20 mA. For 10 mA, double the resistance and halve the power. Round up to the next standard value rather than down, so the LED runs slightly dimmer instead of over current.

Check the power rating, not just the ohms

Power in the resistor is P = I² × R. At 24 V and 1.1 kΩ with 20 mA, that is 0.44 W, so a 1/4 W part will cook. Use 1/2 W or 1 W, or move to a 10 mA design where a 1/4 W resistor is enough. Heat is the main reason illuminated switches fade or discolour over a year.

Does the switch already have a resistor?

Three quick checks, in order of reliability:

  1. Read the part number and datasheet. A switch sold as “12/24 V LED” with a wide voltage range almost always has a built-in resistor or a constant-current element; a “12 V” part may not.
  2. Measure the two lamp terminals on the diode-test range of a meter. A bare LED shows a forward drop around 1.8–3.2 V. A switch with an internal resistor may not conduct at all on a 2 V test range, or reads much higher.
  3. Look at the rating label. If the lamp circuit is marked with a voltage range rather than a single voltage, assume internal limiting and do not add a resistor.

How the lamp should be wired

  • Dependent illumination: the lamp shares the switched output, so it lights only when the load is on. Usually the simplest option.
  • Independent illumination: the lamp has its own terminal pair and can be fed from a live supply, so it works as a panel illuminator even when the switch is off.
  • Polarity matters on every LED version. Reversed, it simply will not light; it will not be damaged if a resistor is in series.

Vehicle and 48 V systems need the higher number

A “12 V” truck system sits at 13.8–14.4 V charging and can spike higher. Recalculate at 14.4 V: (14.4 − 2.0) ÷ 0.02 = 620 Ω, so use 620 Ω or 680 Ω rather than 510 Ω. A 24 V truck system charges at 28.8 V, which gives (28.8 − 2.0) ÷ 0.02 = 1.34 kΩ. A 48 V battery system runs 52–57 V, so 2.7 kΩ is the safer value.

The faint-glow complaint

If the LED glows weakly when the switch is off, current is leaking through the load or through a parallel indicator. The LED is doing its job; the circuit is not. Fit the lamp on the supply side of the switch, or use an isolated lamp terminal pair.

FAQ

Can I run a 12 V LED switch on 24 V?

Only if the datasheet states a 12/24 V range or you add a resistor sized for 28.8 V. A 12 V-only switch will overheat its internal resistor or the LED.

What resistor for a 3 mm red LED at 5 V?

About 150 Ω at 20 mA. Same formula, lower supply.

Do I need a resistor on both the anode and cathode?

No. One resistor anywhere in the series loop is enough.

Why does my switch LED burn out after a few months?

Almost always undervalued resistance or an undersized power rating, so the resistor runs hot and drifts. Recalculate at the highest system voltage and at least double the wattage margin.

All twenty answers, with cutout sizes, temperature codes and contact limits side by side, are on our switch and connector answers page.

Get a quote for this part

Tell us the quantity and the target price. We reply with price, drawing and lead time.

Or email [email protected]