The current in a diode grows exponentially with the voltage across it, and the Shockley equation describes this. The Shockley diode equation calculator takes the saturation current, the ideality factor, the junction temperature, the voltage and a target current and gives the diode current, the thermal voltage, the dynamic resistance, the voltage needed for the target current and the power dissipated.
How the calculation works
- Thermal voltage Vt = k × T ÷ q, which is 25.7 mV at 25 °C (298.15 K). It rises by about 0.085 mV for each degree.
- Shockley diode equation: I = Is × (e^(V ÷ (n × Vt)) − 1), where Is is the saturation current, n the ideality factor and V the voltage across the diode.
- Dynamic resistance rd = n × Vt ÷ I. It is the slope of the voltage-current curve and falls as the current grows.
- Voltage for a target current V = n × Vt × ln(I ÷ Is + 1). It gives the forward drop of the diode at that current.
Example
A silicon diode with Is = 1 pA and n = 1 at 25 °C has Vt = 25.69 mV. At 0.6 V the current is 1 pA × (e^(0.6 ÷ 0.02569) − 1) = 13.87 mA, and the dynamic resistance is 25.69 mV ÷ 13.87 mA = 1.85 Ω. The power dissipated is 0.6 V × 13.87 mA = 8.3 mW. To pass a target current of 10 mA the diode needs 0.592 V.
Why it matters
The equation underlies the design of rectifiers, clamps, temperature sensors, logarithmic amplifiers, solar cells and LEDs. Knowing how steeply the current rises with voltage explains why a diode cannot be driven from a plain voltage source without a resistor.
Good to know
The model is the ideal diode, valid for forward bias up to a moderate current. It does not include series resistance, high-level injection, breakdown or the capacitance of the junction. The saturation current varies with temperature and with the device, so it is best taken from a measured point of the real curve.
Related tools
The LED resistor calculator sizes the series resistor that sets the current of an LED and the Zener diode calculator covers reverse breakdown regulation.