The fundamental equation for diode current is the Shockley diode equation, which models the exponential relationship between the voltage applied across a PN junction and the resulting current flow. Whether you are designing a precision logarithmic amplifier, sizing a rectifier for a power supply, or debugging a bias network on your workbench, understanding this formula is non-negotiable. The direct answer for the forward-biased current is:
I = IS (eVD / (n VT) - 1)
Below, we break down every variable, rearrange the formula for practical bench measurements, and walk through two fully tracked numerical examples to show what realistic magnitudes look like in silicon.
The Shockley Equation for Diode Current
Developed by William Shockley in 1949, this equation describes the idealized current-voltage (I-V) characteristic of a PN junction diode. It bridges semiconductor physics with macroscopic circuit behavior. To use it correctly, you must understand the physical meaning and standard units of every symbol involved.
| Symbol | Parameter | Standard Unit | Typical Silicon Value / Notes |
|---|---|---|---|
| I | Diode Current | Amperes (A) | The net current flowing through the diode. |
| IS | Reverse Saturation Current | Amperes (A) | 10-15 A to 10-9 A. Highly dependent on junction area and temperature. |
| VD | Voltage Across Diode | Volts (V) | Positive for forward bias, negative for reverse bias. |
| n | Ideality Factor (Emission Coefficient) | Dimensionless | 1.0 (ideal) to 2.0 (recombination-dominated). Typically 1.2 to 1.5 for real Si diodes. |
| VT | Thermal Voltage | Volts (V) | kT/q. Approximately 25.85 mV at 300 K (26.85°C). |
| k | Boltzmann Constant | Joules/Kelvin (J/K) | 1.380649 × 10-23 J/K (Exact SI definition). |
| T | Absolute Junction Temperature | Kelvin (K) | Must be in Kelvin. 300 K is standard room temp assumption. |
| q | Elementary Charge | Coulombs (C) | 1.602176634 × 10-19 C (Exact SI definition). |
For a deeper dive into the solid-state physics governing these parameters, the Georgia State University HyperPhysics database provides an excellent foundational overview of PN junction mechanics.
Rearranged Forms: Solving for Voltage, Temperature, and Ideality
On the bench, you rarely calculate current from voltage. More often, you know the current (e.g., a 10 mA LED bias) and need to find the exact forward voltage drop to size a current-limiting resistor, or you are characterizing an unknown diode and need to extract the ideality factor n. Here are the algebraically rearranged forms:
- Solving for Diode Voltage (VD):
VD = n × VT × ln(I / IS + 1) - Solving for Ideality Factor (n):
n = VD / [VT × ln(I / IS + 1)] - Solving for Reverse Saturation Current (IS):
IS = I / (eVD / (n VT) - 1)
Practical Note: In forward bias where VD is greater than ~0.1 V, the exponential term eVD / (n VT) becomes massively larger than 1. In these cases, the '+ 1' and '- 1' terms are mathematically negligible and are often dropped in hand calculations. We keep them in the exact forms above for completeness and for near-zero bias calculations.
Worked Examples with Unit Tracking
Abstract formulas are useless without numerical context. Let us run two real-world scenarios, tracking units at every step to ensure the math holds up.
Problem 1: Calculating Forward Current for a Signal Diode
Scenario: You are biasing a standard 1N4148 small-signal silicon diode. The datasheet and empirical testing suggest an IS of 1.0 × 10-12 A and an ideality factor n = 1.2. The junction is at room temperature (T = 300 K). You apply a forward voltage VD = 0.65 V. What is the diode current?
- 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) - Calculate the Exponent Term:
Exponent = VD / (n × VT)
Exponent = 0.65 V / (1.2 × 0.02584 V) = 0.65 V / 0.03101 V = 20.96 (Unitless) - Evaluate the Exponential:
e20.96 = 1.266 × 109 - Calculate Final Current (I):
I = IS × (e20.96 - 1)
I = 1.0 × 10-12 A × (1.266 × 109 - 1)
I ≈ 1.266 × 10-3 A = 1.27 mA
Reality Check: A current of 1.27 mA at a 0.65 V drop is a highly realistic magnitude for a small-signal 1N4148 diode operating in its normal forward-bias region.
Problem 2: Calculating Forward Voltage Drop for a Power Rectifier
Scenario: A 1N4007 rectifier diode is conducting I = 1.0 A in a power supply. Because it is dissipating heat, the junction temperature has risen to T = 350 K. For this large-geometry power diode, IS = 1.0 × 10-10 A and n = 1.5. What is the forward voltage drop VD?
- Calculate Thermal Voltage at 350 K:
VT = (1.38 × 10-23 × 350) / (1.602 × 10-19) = 0.03015 V (30.15 mV) - Calculate the Current Ratio:
I / IS = 1.0 A / 1.0 × 10-10 A = 1.0 × 1010 (Unitless) - Evaluate the Natural Logarithm:
ln(1.0 × 1010 + 1) ≈ ln(1010) = 23.026 - Calculate Final Voltage (VD):
VD = n × VT × ln(I / IS + 1)
VD = 1.5 × 0.03015 V × 23.026
VD = 1.041 V
Reality Check: While textbooks often simplify silicon diode drops to 0.7 V, a real 1N4007 pushing 1 Amp while hot will easily exhibit a 1.0 V to 1.1 V drop. This is why thermal management and exact modeling matter in power electronics.
When the Formula Applies (and When It Fails)
The Shockley equation is an elegant model, but it is not a perfect replica of physical reality. Understanding its boundaries prevents catastrophic design errors.
Core Assumptions
The formula assumes low-level injection (minority carrier concentration is much less than majority carriers), an abrupt PN junction, and that current is dominated by diffusion rather than generation-recombination in the depletion region (though the ideality factor n attempts to patch this). It also assumes the semiconductor material is uniform and ignores parasitic resistances.
Unit Mistakes That Break the Math
- Temperature in Celsius: If you plug 27°C into T instead of 300.15 K, your thermal voltage calculates to a nonsensical fraction of a millivolt. The exponent explodes, yielding a theoretical current larger than the universe's power supply. Always convert to Kelvin (K = °C + 273.15).
- Mismatched Current Units: The ratio (I / IS) must be strictly unitless. If you measure I in milliamps (mA) but use the datasheet IS in Amps (A) without converting, your ratio is off by a factor of 1,000, drastically skewing the calculated voltage.
- Voltage Scaling: Ensure VD and VT are in the same units (both Volts or both millivolts) before dividing them in the exponent.
Real-World Limitations
At high forward currents (typically above 100 mA for small signal diodes), the Shockley equation underestimates the voltage drop. This is because it ignores bulk series resistance (RS)—the physical resistance of the semiconductor bulk and the metal contacts. In a real diode, the total voltage is Vtotal = Vjunction + (I × RS). Furthermore, the equation completely fails to model reverse breakdown (Zener or Avalanche regions) and high-frequency transient recovery behavior. For comprehensive circuit simulation, SPICE engines use extended models that add RS, junction capacitance, and breakdown parameters to the base Shockley math, as detailed in the All About Circuits Semiconductor Textbook.
Frequently Asked Questions
What is the simplified equation for diode current at room temperature?
At standard room temperature (approx. 20°C to 27°C, or 293K to 300K), the thermal voltage VT is universally accepted as ~26 mV (0.026 V). If we assume an ideal diode where n = 1, the equation simplifies to I = IS (eVD / 0.026 - 1). This shortcut is heavily used in hand-calculations for analog circuit design, such as sizing biasing resistors for BJT transistors, where the base-emitter junction acts as a diode.
Why does my multimeter diode test reading differ from the Shockley equation calculation?
A digital multimeter's diode test function applies a very specific, low constant current (usually between 1 mA and 2 mA) and measures the resulting voltage drop. If your calculation assumes a different current, or if the multimeter's test current pushes the diode into a region where series resistance or a different recombination mechanism (altering n) dominates, the numbers will diverge. Furthermore, multimeters are calibrated for standard silicon (expecting ~0.6V) and often display inaccurate or saturated readings when testing Schottky diodes (which drop ~0.3V) or LEDs.
How does the ideality factor (n) change between silicon, germanium, and Schottky diodes?
The ideality factor represents how closely the diode follows the ideal theoretical model. For standard Silicon (Si) PN junctions, n typically ranges from 1.1 to 1.5. Germanium (Ge) diodes, having a narrower bandgap and different recombination dynamics, often exhibit an n closer to 1.0 but suffer from massive temperature-dependent leakage. Schottky diodes, which rely on a metal-semiconductor junction rather than a PN junction, generally have an n between 1.05 and 1.2, making them behave very close to the ideal Shockley model, albeit with a much higher IS (resulting in their characteristic low forward voltage drop).
What happens to the diode current equation when the diode is reverse-biased?
When reverse-biased, VD becomes a negative number. If VD is more negative than a few tenths of a volt (e.g., -0.5 V), the exponent VD / (n VT) becomes a large negative number. The term e(large negative number) approaches zero. The equation then collapses to I = IS (0 - 1), which yields I = -IS. This perfectly models the tiny, constant reverse leakage current that flows until the diode reaches its breakdown voltage, a phenomenon the base Shockley equation does not cover.






