The Shockley diode equation is the foundational mathematical model for semiconductor p-n junction behavior. It defines the exact non-linear relationship between the voltage applied across a diode and the resulting current flowing through it. If you are designing biasing networks, analyzing clipping circuits, or debugging a voltage drop issue on the bench, the standard '0.7V rule of thumb' will eventually fail you. You need the exact math.
The Shockley Diode Equation: Symbols, Units, and Assumptions
The core diode formula calculates the forward current (ID) based on the applied forward voltage (VD). Here is the standard form:
ID = IS (eVD / (n · VT) - 1)
| Symbol | Parameter | Standard Unit | Typical Silicon Value |
|---|---|---|---|
| ID | Diode forward current | Amperes (A) | 1 mA to 1 A |
| IS | Reverse saturation (scale) current | Amperes (A) | 10-15 to 10-9 A |
| VD | Voltage across the diode | Volts (V) | 0.5 V to 0.9 V |
| n | Ideality factor (emission coefficient) | Dimensionless | 1.0 to 2.0 |
| VT | Thermal voltage (kT/q) | Volts (V) | ~0.02585 V at 300K |
When the Formula Applies (and When It Breaks)
The Shockley equation assumes low-level injection, an ideal step junction, and that current is dominated by diffusion rather than generation-recombination in the depletion region. It accurately models the exponential 'knee' of the forward bias curve.
Where it fails: At very high forward currents (typically >100 mA for small-signal diodes), the bulk semiconductor resistance and contact resistance dominate. The actual voltage drop becomes linear (V = I · Rbulk), and the Shockley equation underestimates VD. It also completely ignores reverse breakdown (Zener/Avalanche regions).
Rearranged Forms for Bench and Design Work
On the bench, you rarely solve for ID directly because you usually set the current via a series resistor and need to find the resulting voltage drop, or you are characterizing an unknown diode. Here are the algebraically rearranged forms:
- Solving for Forward Voltage (VD):
VD = n · VT · ln( (ID / IS) + 1 ) - Solving for Saturation Current (IS):
IS = ID / ( eVD / (n · VT) - 1 ) - Solving for Ideality Factor (n):
n = VD / ( VT · ln( (ID / IS) + 1 ) )
For forward bias conditions where ID >> IS, the '+ 1' in the logarithm and the '- 1' in the exponential can be safely dropped to simplify mental math, though you should retain them for SPICE-accurate calculations.
Worked Examples with Strict Unit Tracking
Let's run two concrete scenarios. We will assume a standard room temperature of 300K (26.85°C), making the thermal voltage VT = kT/q = (1.3806 × 10-23 · 300) / (1.602 × 10-19) = 0.02585 V. According to HyperPhysics, tracking these fundamental constants is critical for temperature-dependent circuit analysis.
Problem 1: Calculating Forward Current from a Known Voltage
Given: A generic small-signal silicon diode with IS = 1.0 × 10-14 A and n = 1.0. You apply exactly VD = 0.65 V across it. Find ID.
- Verify Units: VD is in Volts (0.65). VT must be in Volts (0.02585). IS is in Amperes.
- Calculate the Exponent: VD / (n · VT) = 0.65 / (1.0 · 0.02585) = 25.145
- Evaluate the Exponential: e25.145 = 8.323 × 1010
- Subtract 1: (8.323 × 1010 - 1) ≈ 8.323 × 1010 (the -1 is negligible here).
- Multiply by IS: ID = (1.0 × 10-14 A) · (8.323 × 1010) = 8.323 × 10-4 A
- Convert to standard units: ID = 0.832 mA
Problem 2: Calculating Forward Voltage Drop for a Target Current
Given: A power rectifier diode with a higher saturation current IS = 5.0 × 10-9 A and an ideality factor n = 1.5 (typical for recombination-heavy power junctions). You force ID = 150 mA through it. Find VD.
- Verify Units: Convert ID to Amperes: 150 mA = 0.15 A.
- Calculate the Current Ratio: ID / IS = 0.15 / (5.0 × 10-9) = 3.0 × 107
- Add 1 and take the Natural Log: ln(3.0 × 107 + 1) ≈ ln(3.0 × 107) = 17.216
- Multiply by n and VT: VD = 1.5 · 0.02585 V · 17.216
- Final Calculation: VD = 0.038775 · 17.216 = 0.667 V
Notice how a massive increase in physical junction area (reflected in a much larger IS) and a higher ideality factor still results in a forward drop hovering right around the 0.65V - 0.7V mark. This mathematical reality is why the 0.7V rule of thumb survives in quick napkin math.
Realistic Magnitudes and the Logarithmic Squeeze
The most vital takeaway from the Shockley diode equation is the logarithmic relationship between current and voltage when rearranged to solve for VD. Because VD is proportional to the natural log of ID, you must increase the current by a factor of roughly 10 to increase the voltage drop by just n · VT · ln(10), which is about 60 mV at room temperature.
Furthermore, IS is highly temperature-dependent, doubling approximately every 5°C to 10°C depending on the semiconductor material. This means a diode that drops 0.70V at 25°C will drop roughly 0.58V at 100°C for the exact same forward current. This negative temperature coefficient (~ -2 mV/°C) is the physical basis for using diode junctions as temperature sensors in analog thermal management circuits.
Decision Path: From Calculated Parameters to a Concrete Part Number
Calculating VD and ID is only half the job. You must map those theoretical requirements to a physical component that won't melt or fail under reverse bias. Use the decision matrix below to select your diode based on your calculated forward current and required peak inverse voltage (PIV).
| Calculated ID Requirement | Reverse Voltage (VR) Requirement | Special Condition | Concrete Part Pick |
|---|---|---|---|
| < 200 mA continuous | < 100 V | Fast switching / logic level | 1N4148 |
| < 1 A continuous | < 1000 V | General rectification / flyback | 1N4007 |
| < 1 A continuous | < 40 V | Low VD drop critical (<0.4V) | 1N5819 (Schottky) |
| < 30 mA continuous | < 30 V | Ultra-low capacitance / RF | BAT54 (Schottky) |
The Final Default Recommendation
If you are prototyping a standard 5V or 12V DC hobbyist circuit, designing a relay flyback snubber, or building a basic signal clipping network, and your calculated ID is under 200 mA: buy and use the 1N4148.
It is available in both through-hole (DO-35) and SMD (SOD-323) packages, costs fractions of a cent in bulk, has a well-documented SPICE model (IS ≈ 2.52 nA, n ≈ 1.75 in standard LTspice libraries), and its 4ns reverse recovery time prevents the high-frequency ringing that plagues the slower 1N400x family. Keep a 500-pack of 1N4148s on your bench; it is the universal default for signal-level diode formula implementations.






