Skip to content

Calculadora de Resistor para LED

Calculadora de Resistor para LED gratuita - calcule e compare opções instantaneamente. Sem cadastro.

Carregando calculadora

Preparando Calculadora de Resistor para LED...

Revisão e Metodologia

Cada calculadora utiliza fórmulas padrão da indústria, validadas por fontes oficiais e revisadas por um profissional financeiro certificado. Todos os cálculos são executados de forma privada no seu navegador.

Última revisão:

Revisado por:

Escrito por:

Como Usar a Calculadora de Resistor para LED

  1. 1. Insira seus valores - preencha os campos de entrada com seus números.
  2. 2. Ajuste as configurações - use os controles deslizantes e seletores para personalizar seu cálculo.
  3. 3. Veja os resultados instantaneamente - os cálculos são atualizados em tempo real conforme você altera os valores.
  4. 4. Compare cenários - ajuste os valores para ver como as mudanças afetam seus resultados.
  5. 5. Compartilhe ou imprima - copie o link, compartilhe os resultados ou imprima-os para seus registros.

LED Resistor Calculator

This calculator determines the correct current-limiting resistor value and power rating for any LED circuit. Enter your supply voltage, LED forward voltage, and desired operating current to find the exact resistance needed, the nearest standard E24 resistor value, and the minimum wattage rating required for safe long-term operation. It works for single LEDs, series strings, and any supply voltage from 3.3V to 24V.

How LED Resistor Calculation Works

The formula is derived from Ohm’s Law applied to the series resistor:

R = (Vsupply - Vf) / I

Where Vsupply is the supply voltage in volts, Vf is the LED forward voltage in volts, and I is the desired forward current in amps. The resistor absorbs the excess voltage and holds current to the target value. The power dissipated as heat in the resistor is:

P = (Vsupply - Vf) x I

Always select a resistor rated at least 2x the calculated power — so a 174 mW result requires a minimum 1/2W (500 mW) resistor, not a standard 1/4W (250 mW) part.

Worked Examples

Example 1 — Red LED on 5V USB supply: Vf = 2.0V, target current = 20 mA. R = (5.0 - 2.0) / 0.020 = 150 ohms exactly — a standard E24 value. P = 3.0 x 0.020 = 60 mW. A 1/4W resistor handles this with plenty of margin.

Example 2 — Blue LED on 9V battery: Vf = 3.2V, target current = 20 mA. R = (9.0 - 3.2) / 0.020 = 290 ohms. The nearest standard E24 value is 300 ohms (yields 19.3 mA — slightly under, which is fine). P = 5.8 x 0.020 = 116 mW. Use a 1/4W resistor.

Example 3 — White LED on 12V automotive supply: Vf = 3.3V, target current = 20 mA. R = (12.0 - 3.3) / 0.020 = 435 ohms. Nearest standard E24 value is 470 ohms (yields 18.5 mA). P = 8.7 x 0.020 = 174 mW. A 1/4W (250 mW) resistor is marginal — use 1/2W for reliable long-term operation.

LED Forward Voltage Reference Table

LED ColorTypical Vf at 20 mAVf RangeNotes
Infrared (IR)1.2V1.0-1.6VRemote controls, sensors
Red2.0V1.8-2.2VMost common general-purpose
Orange2.1V2.0-2.2VIndicators, displays
Yellow2.1V2.0-2.4VIndicators, signal lights
Green (standard)2.1V2.0-2.4VOlder green LEDs
Green (high-brightness)3.3V3.0-3.5VModern bright green LEDs
Blue3.2V3.0-3.5VUses InGaN die
White3.3V3.0-3.5VBlue die + phosphor coating
UV (365-405 nm)3.5V3.2-4.0VCuring, detection

When to Use This Calculator

  • Wiring a status LED to an Arduino, Raspberry Pi GPIO pin (3.3V or 5V logic), or microcontroller
  • Sizing the current-limiting resistor for a 12V or 24V indicator light panel on a vehicle or machine
  • Adding LEDs to a breadboard prototype before moving to a PCB design
  • Calculating the resistor for a series string of two or three LEDs on a higher supply voltage
  • Verifying that an existing circuit uses the correct resistor before a production run

Common Mistakes

  1. Connecting an LED directly to a voltage source with no resistor. An LED has almost no internal resistance once conducting — without a series resistor, current rises until the LED fails. Even a 5-second direct connection to a 5V supply typically destroys the LED. Always place the resistor in series.
  2. Using LED current in mA in the formula without converting to amps. The formula R = (Vsupply - Vf) / I requires I in amps. Dividing (5.0 - 2.0) by 20 gives 0.15 ohms, not 150 ohms. Convert: 20 mA = 0.020 A.
  3. Picking a standard resistor value below the calculated result. A resistor slightly lower than calculated delivers slightly more current, which runs the LED hotter and reduces its lifespan. When the exact calculated value is unavailable, always go up to the next standard E24 value, not down.
  4. Ignoring the resistor power rating on high-voltage supplies. The 1/4W resistors in most hobbyist kits are fine for 5V and 9V supplies, but a 24V supply with a 2.0V red LED dissipates (24 - 2.0) x 0.020 = 440 mW in the resistor — well above 1/4W. Use a 1W resistor or consider a constant-current LED driver.

Real-World Applications

LED resistor calculations appear in every layer of electronics — from the indicator lights on consumer appliance PCBs to the custom lighting drivers in automotive dashboards. PCB designers running LEDs at reduced brightness for long-life applications — status lights meant to last 50,000+ hours — deliberately target 5-10 mA instead of 20 mA; the same resistor formula applies, just with lower current. Industrial machine builders sizing 24V panel indicator lamps use the calculation daily, since 24V driving a 2.0V red LED at 20 mA dissipates 440 mW in the resistor, requiring a larger component than most designers initially anticipate.

Tips

  1. Always use a current-limiting resistor — connecting an LED directly to any voltage source, even briefly, will destroy it immediately.
  2. For multiple LEDs from one supply, wire them in series with a single resistor when supply voltage allows — this ensures equal current and eliminates per-LED resistors.
  3. When wiring LEDs in parallel, give each its own resistor — small differences in Vf between LEDs cause current imbalance, and the LED with the lowest Vf draws all the current and fails first.
  4. Choose the next higher standard E24 resistor value when the exact calculated resistance is unavailable — slightly less current is always safer than slightly more for LED longevity.
  5. For supply voltages that vary (like an automotive 12V system that swings 11-14.4V), calculate the resistor for the maximum voltage to prevent overcurrent at peak supply.
  6. For power LEDs rated 1W and above, use a dedicated constant-current LED driver IC instead of a resistor — resistors waste significant power and cannot regulate current as supply voltage fluctuates.

Perguntas Frequentes

O que e tensao direta e como encontro para meu LED?
A tensao direta (Vf) e a queda de tensao atraves de um LED quando esta conduzindo. Ela varia por cor do LED: LEDs vermelhos sao tipicamente 1,8-2,2V, amarelos/verdes sao 2,0-2,4V, LEDs azuis e brancos sao 3,0-3,4V. Consulte a folha de dados (datasheet) do LED para o Vf exato na corrente desejada. Se nao houver datasheet disponivel, use esses valores tipicos como ponto de partida.
Como calculo o resistor limitador de corrente para um LED?
Use a Lei de Ohm: R = (Vfonte - Vf) / I, onde Vfonte e a tensao da sua fonte de alimentacao, Vf e a tensao direta do LED e I e a corrente desejada. Para um LED vermelho (Vf = 2,0V) a 20 mA em uma fonte de 5V: R = (5 - 2) / 0,020 = 150 ohms. Sempre escolha o proximo valor padrao acima (neste caso, 150 ohms e um valor padrao E24). A potencia do resistor e P = (Vfonte - Vf) x I = 0,06W, entao um resistor de 1/4W funciona perfeitamente.
Devo conectar LEDs em serie ou em paralelo?
Serie e preferivel quando sua tensao de alimentacao e alta o suficiente para acomodar todas as quedas de tensao dos LEDs. Tres LEDs vermelhos (Vf = 2V cada) em serie precisam de 6V mais a queda do resistor -- perfeito para uma fonte de 9V ou 12V. Serie garante corrente igual em todos os LEDs. LEDs em paralelo precisam cada um do seu proprio resistor para evitar que um LED monopolize a corrente, ja que pequenas diferencas de Vf fazem com que um LED puxe mais corrente que os outros.
Como leio as especificacoes de LED em um datasheet?
As especificacoes principais do LED incluem: tensao direta Vf (queda de tensao na corrente nominal), corrente maxima continua If (geralmente 20 mA para LEDs padrao), corrente de pico (apenas para pulsos breves), angulo de visao (quao largo e o feixe de luz) e intensidade luminosa em milicandelas (mcd). Verifique tambem as classificacoes maximas absolutas -- exceder Vf ou If destruira o LED. LEDs de potencia (1W+) tambem listam resistencia termica e necessitam de dissipador de calor.
Como selecionar a potencia correta do resistor?
Calcule a potencia do resistor como P = (Vfonte - Vf) x I. Para uma fonte de 12V com LED branco (Vf = 3,2V) a 20 mA: P = (12 - 3,2) x 0,020 = 0,176W. Sempre selecione um resistor com classificacao de pelo menos 2x a potencia calculada para confiabilidade, entao use um resistor de 1/2W. Resistores padrao through-hole vem em classificacoes de 1/8W, 1/4W, 1/2W, 1W e 2W. Para circuitos de LED de alta potencia, voce pode precisar de resistores de 1W ou 2W ou CIs dedicados para driver de LED.
Calculadoras