Diode Calculator

Size the current-limiting resistor, or find the forward current and power dissipation of any diode.
Series Resistor
Current & Power

Current-Limiting Resistor for a Diode

R = (Vsupply − VF) / I  •  Pdiode = VF × I  •  Presistor = (Vsupply − VF) × I
5V, Si 0.7V, 20mA
12V, Si 0.7V, 50mA
5V, Schottky 0.3V
5V, LED 2.0V
V
V
mA
Enter values and press Calculate.

Diode Forward Current & Power

IF = (Vsupply − VF) / R  •  Pdiode = VF × IF  •  Presistor = IF² × R
12V, 0.7V, 330Ω
5V, Schottky, 150Ω
9V, LED, 470Ω
V
V
Enter values and press Calculate.

Understanding Diode Calculations

A diode conducts in the forward direction after its forward voltage drop (VF) is reached — roughly 0.7 V for silicon, 0.3 V for Schottky, and 1.8–3.6 V for LEDs. To run a fixed current through it from a higher supply, a series resistor drops the remaining voltage.

QuantityFormula
Series resistorR = (Vsupply − VF) / IF
Forward currentIF = (Vsupply − VF) / R
Diode powerPdiode = VF × IF
Resistor powerPresistor = IF² × R

Typical forward voltages

Silicon signal/rectifier ≈ 0.7 V · Schottky ≈ 0.2–0.4 V · Germanium ≈ 0.3 V · Red LED ≈ 1.8–2.0 V · Blue/White LED ≈ 3.0–3.6 V.

Real-World Applications

Worked example

Driving a 20 mA indicator LED (VF = 2.0 V) from a 5 V rail:
R = (5 − 2.0) / 0.020 = 150 Ω. The LED dissipates 2.0 × 20 mA = 40 mW and the resistor 3.0 × 20 mA = 60 mW, so a standard ¼ W resistor is fine.

FAQ

Schottky or silicon — which should I use?

Schottky diodes have a lower forward drop (~0.3 V) and switch faster, so they waste less power — ideal for rectifiers and low-voltage circuits. Silicon (like the 1N4007) is cheaper and handles higher reverse voltage.

What is PIV / reverse voltage rating?

Peak Inverse Voltage is the maximum reverse voltage a diode can block without breaking down. Always pick a diode rated well above the highest reverse voltage in your circuit.

Why does my diode get hot?

It dissipates VF × IF as heat. At high current even a 0.7 V drop adds up — e.g. 3 A gives ~2 W. Use a Schottky or a heat-sinked diode for high-current rectification.

Can I put diodes in series or parallel?

In series their voltage drops add. In parallel they share current unevenly (the one with the lowest VF hogs it), so parallel diodes usually need small balancing resistors.

Why does a diode need a series resistor?

A forward-biased diode has very low resistance, so without a series resistor the current would rise until the diode overheats and fails. The resistor sets a safe, defined current.

What forward voltage should I use?

Check the datasheet at your operating current. As a rule of thumb: 0.7 V silicon, 0.3 V Schottky, ~2 V red LED, ~3.2 V blue/white LED.

How do I choose the resistor's wattage?

Use Presistor from the result and pick a resistor rated at least 2× that value for a safe margin.