Calculateur de resistance LED
Calculateur de resistance LED gratuit - calculez et comparez les options instantanement. Aucune inscription requise.
Chargement de la calculatrice
Préparation de Calculateur de resistance LED...
Révision et méthodologie
Chaque calculatrice utilise des formules standard de l'industrie, validées par des sources officielles et révisées par un professionnel financier certifié. Tous les calculs s'exécutent en privé dans votre navigateur.
Comment utiliser le calculateur de resistance LED
- 1. Entrez vos valeurs - remplissez les champs de saisie avec vos chiffres.
- 2. Ajustez les parametres - utilisez les curseurs et selecteurs pour personnaliser votre calcul.
- 3. Consultez les resultats instantanement - les calculs se mettent a jour en temps reel lorsque vous modifiez les donnees.
- 4. Comparez les scenarios - ajustez les valeurs pour voir comment les changements affectent vos resultats.
- 5. Partagez ou imprimez - copiez le lien, partagez les resultats ou imprimez pour vos dossiers.
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 Color | Typical Vf at 20 mA | Vf Range | Notes |
|---|---|---|---|
| Infrared (IR) | 1.2V | 1.0-1.6V | Remote controls, sensors |
| Red | 2.0V | 1.8-2.2V | Most common general-purpose |
| Orange | 2.1V | 2.0-2.2V | Indicators, displays |
| Yellow | 2.1V | 2.0-2.4V | Indicators, signal lights |
| Green (standard) | 2.1V | 2.0-2.4V | Older green LEDs |
| Green (high-brightness) | 3.3V | 3.0-3.5V | Modern bright green LEDs |
| Blue | 3.2V | 3.0-3.5V | Uses InGaN die |
| White | 3.3V | 3.0-3.5V | Blue die + phosphor coating |
| UV (365-405 nm) | 3.5V | 3.2-4.0V | Curing, 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
- 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.
- 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.
- 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.
- 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
- Always use a current-limiting resistor — connecting an LED directly to any voltage source, even briefly, will destroy it immediately.
- 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.
- 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.
- 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.
- 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.
- 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.
Questions fréquentes
Qu'est-ce que la tension directe et comment la trouver pour ma LED ?
Comment calculer la resistance de limitation de courant pour une LED ?
Dois-je cabler les LED en serie ou en parallele ?
Comment lire les specifications d'une LED sur une fiche technique ?
Comment choisir la bonne puissance nominale de resistance ?
Decouvrez plus d'outils d'ingenierie
Calculatrices Ingénierie associées
Calculatrice d'ingénierie aérospatiale
Calculatrice d'ingénierie aérospatiale gratuite - calculez instantanément avec notre outil en ligne. Aucune inscription requise. Calculs d'ingénierie précis avec des résultats en temps réel.
IngénierieCalculatrice d'autonomie de batterie
Calculatrice d'autonomie de batterie gratuite - calculez et comparez les options instantanément. Aucune inscription requise.
IngénierieCalculatrice de charge de poutre
Calculatrice de charge de poutre gratuite - calculez et comparez les options instantanément. Aucune inscription requise.
IngénierieCalculateur de genie chimique
Calculateur de genie chimique gratuit - calculez instantanement avec notre outil en ligne. Aucune inscription requise. Calculs d'ingenierie precis avec resultats en temps reel.