The Shockley diode current equation is the foundational mathematical model describing the non-linear relationship between the voltage across a PN junction and the current flowing through it. Whether you are biasing a transistor, designing a precision rectifier, or debugging a SPICE simulation that refuses to converge, understanding this equation bridges the gap between abstract semiconductor physics and practical bench work.

At its core, the ideal diode equation is expressed as:

I = IS (eVD / (n VT) - 1)

The Shockley Diode Current Equation and Symbol Definitions

To use the formula correctly on the bench or in code, you must understand the physical meaning and standard units of every variable. A mismatch in units here is the number one reason SPICE models and hand calculations disagree.

Symbol Parameter Unit Typical Value / Range (Silicon)
I Diode forward current Amperes (A) 1 mA to 1 A (signal to power)
IS Reverse saturation (scale) current Amperes (A) 10-15 A to 10-9 A
VD Voltage across the diode terminals Volts (V) 0.5 V to 0.8 V (forward biased)
n Ideality (emission) factor Dimensionless 1.0 (ideal) to 2.0 (recombination)
VT Thermal voltage (kT/q) Volts (V) ~0.02585 V at 300 K (26.85 mV)
k Boltzmann constant J/K 1.380649 × 10-23
T Absolute junction temperature Kelvin (K) 298 K to 373 K (25°C to 100°C)
q Elementary charge Coulombs (C) 1.602176 × 10-19

Assumptions, Limits, and Realistic Magnitudes

The Shockley diode current equation is an idealized model. It applies strictly under specific physical assumptions. When you push a diode to its limits, the equation breaks down unless you add parasitic terms.

When the Formula Applies (and Its Assumptions)

  • Low-level injection: The injected minority carrier concentration must be much smaller than the majority carrier concentration. At very high currents, high-level injection causes the current to rise linearly with voltage rather than exponentially.
  • Abrupt depletion region: The model assumes an abrupt PN junction. Real diodes have graded profiles that slightly alter the depletion capacitance and saturation current.
  • No generation/recombination in the depletion region: The ideal equation assumes all current is due to diffusion in the neutral regions. In reality, recombination in the space-charge layer dominates at low forward voltages (which is why n approaches 2 at low currents).
  • Steady-state DC: The equation does not account for junction capacitance (Cj) or diffusion capacitance (Cd), meaning it is invalid for high-frequency AC transient analysis without a parallel RC model.

Realistic Answer Magnitudes

A common point of confusion for students is the magnitude of IS. In textbook physics problems, IS is often given as 1 × 10-14 A. However, if you extract SPICE parameters for a real-world 1N4148 switching diode, the manufacturer's SPICE model (like the Nexperia or Vishay models) typically sets IS = 2.52nA (2.52 × 10-9 A) and N = 1.75. This discrepancy exists because SPICE models lump several non-ideal physical effects into the IS and n parameters to make the macro-model fit the measured datasheet curve. Always check whether you are solving a theoretical physics problem or modeling a specific commercial part.

Unit Mistakes That Break the Calculation

  1. Temperature in Celsius: VT = kT/q requires T in Kelvin. Plugging in 25 instead of 298.15 will yield a thermal voltage that is 12 times too small, causing the exponential term to blow up to infinity.
  2. Mixing mV and V in the exponent: The exponent VD / (n VT) must be dimensionless. If VD is 0.65 V and VT is 25.85 mV, you must convert VT to 0.02585 V. Dividing 0.65 by 25.85 yields an exponent of 0.025, resulting in a calculated current in the picoamp range instead of milliamps.
  3. Forgetting the "- 1": In forward bias, e... is massive, so the "- 1" is negligible. In reverse bias (VD is negative), the exponential term goes to zero, and the "- 1" is the only thing left, correctly yielding I = -IS. Dropping it breaks reverse-bias calculations.

Rearranged Forms of the Diode Equation

On the bench, you rarely know all variables. Here are the algebraically rearranged forms for solving the most common unknowns.

Solving for Forward Voltage (VD):
Used when you know the target bias current and need to find the resulting voltage drop.
V_D = n * V_T * ln( (I / I_S) + 1 )

Solving for Ideality Factor (n):
Used when characterizing an unknown diode on a curve tracer.
n = V_D / ( V_T * ln( (I / I_S) + 1 ) )

Solving for Reverse Saturation Current (IS):
Used to extract SPICE parameters from a single datasheet operating point.
I_S = I / ( e^(V_D / (n * V_T)) - 1 )

Worked Examples with Unit Tracking

Let us apply the formula to two distinct scenarios, carefully tracking units to ensure the math holds up to real-world expectations.

Problem 1: Calculating Forward Current from a Known Voltage

Given: A generic small-signal silicon diode with IS = 1 × 10-12 A and n = 1.2. The ambient and junction temperature is 300 K. The applied forward voltage VD is 0.65 V.
Find: The forward current I.

Step 1: Calculate Thermal Voltage (VT)
VT = kT / q = (1.38 × 10-23 J/K * 300 K) / (1.602 × 10-19 C)
VT = 0.02584 V (or 25.84 mV)

Step 2: Calculate the Exponent
Exponent = VD / (n * VT)
Exponent = 0.65 V / (1.2 * 0.02584 V) = 0.65 / 0.031008 = 20.962

Step 3: Evaluate the Exponential Term
e20.962 ≈ 1,269,096,272

Step 4: Calculate Final Current (I)
I = 1 × 10-12 A * (1,269,096,272 - 1)
I ≈ 1 × 10-12 * 1.269 × 109 = 0.001269 A (or 1.27 mA)
Magnitude check: 1.27 mA at 0.65 V is highly realistic for a small-signal diode like the 1N914.

Problem 2: Calculating Forward Voltage Drop for a 1N4148 SPICE Model

Given: A 1N4148 diode modeled with SPICE parameters IS = 2.52 × 10-9 A and n = 1.75. Temperature is 25°C (298.15 K). The circuit forces a forward current I = 15 mA.
Find: The forward voltage drop VD.

Step 1: Calculate Thermal Voltage at 25°C
VT = (1.3806 × 10-23 * 298.15) / 1.602 × 10-19 = 0.02569 V

Step 2: Rearrange to Solve for VD
VD = n * VT * ln( (I / IS) + 1 )

Step 3: Calculate the Current Ratio
I / IS = 0.015 A / 2.52 × 10-9 A = 5,952,380
Add 1 (negligible, but mathematically required): 5,952,381

Step 4: Evaluate the Natural Log and Multiply
ln(5,952,381) ≈ 15.60
VD = 1.75 * 0.02569 V * 15.60
VD = 0.04495 * 15.60 = 0.701 V
Magnitude check: A 1N4148 dropping ~0.70 V at 15 mA perfectly aligns with the standard datasheet I-V curve.

Frequently Asked Questions

How does temperature affect the diode current equation in practice?

Temperature impacts the equation through two competing mechanisms. First, the thermal voltage (VT) increases linearly with absolute temperature. Second, and much more drastically, the reverse saturation current (IS) is highly temperature-dependent, roughly doubling for every 10°C rise in silicon. Because IS increases so rapidly, the net effect is that for a constant forward current, the forward voltage drop (VD) decreases by approximately 2.0 mV to 2.2 mV per °C. This negative temperature coefficient is why diodes are susceptible to thermal runaway when placed in parallel without ballast resistors.

What is the ideality factor (n) and why does it vary between 1 and 2?

The ideality factor n (also called the emission coefficient) accounts for deviations from the ideal diffusion current model. An n of 1.0 represents an ideal diode where current is dominated purely by minority carrier diffusion in the neutral regions. An n approaching 2.0 indicates that recombination-generation currents within the depletion region are dominating the charge transport. Most real silicon diodes operate with an n between 1.2 and 1.8 at normal operating currents. Schottky diodes, which are majority-carrier devices, typically have an n closer to 1.05 to 1.1.

Why does the Shockley diode current equation fail at high forward currents?

The standard equation assumes the semiconductor bulk regions have zero resistance. In reality, the silicon die, the bond wires, and the lead frame possess a parasitic series resistance (RS), typically ranging from 0.5 Ω to 5 Ω for small-signal diodes. At high currents (e.g., >100 mA), the voltage dropped across this bulk resistance (I * RS) becomes larger than the junction voltage. To model this accurately, the equation must be modified to I = IS (e(VD - IRS) / (n VT) - 1), which requires iterative or numerical methods to solve since I appears on both sides of the equation.

How do I calculate the thermal voltage (V_T) at different ambient temperatures?

You can use the simplified constant: VTT / 11,586 (where T is in Kelvin). At standard room temperature (300 K / 27°C), VT is exactly 25.85 mV. If your circuit operates in a hot enclosure at 60°C (333.15 K), VT rises to 28.71 mV. While a 3 mV shift seems trivial, because it sits in the denominator of an exponential function, it significantly alters the calculated current for a fixed voltage bias.

For further reading on semiconductor physics and diode modeling, consult the Georgia State University HyperPhysics semiconductor module and the All About Circuits diode theory chapter.