The ideal diode equation (often called the Shockley diode equation) is the foundational mathematical model for the current-voltage (I-V) characteristic of a PN junction. If you are designing a precision rectifier, modeling a solar cell, or just trying to understand why your 1N4148 drops 0.65V at 5mA but a 1N4007 drops 0.9V at 1A, this formula is your source of truth. The direct answer for the forward current is:
I = IS × (e(V / (n × VT)) - 1)
Below, we break down every variable, rearrange the formula for bench debugging, and walk through two fully tracked worked examples to show you what realistic magnitudes actually look like.
The Core Formula and Symbol Definitions
To use the ideal diode equation accurately, you must understand the physical meaning and strict unit requirements of every symbol. A single unit mismatch here will result in current calculations that are off by orders of magnitude.
| Symbol | Parameter | Standard Unit | Typical Real-World Value / Notes |
|---|---|---|---|
| I | Diode Forward Current | Amperes (A) | The net current flowing through the junction. |
| IS | Reverse Saturation Current | Amperes (A) | Highly temperature-dependent. ~2.5 nA for a 1N4148 (Si), ~1 μA for a 1N5819 (Schottky). |
| V | Voltage Across the Junction | Volts (V) | The actual potential difference across the PN depletion region, excluding bulk lead resistance. |
| n | Ideality Factor (Emission Coefficient) | Dimensionless | Typically 1.0 (ideal) to 2.0 (high recombination). ~1.75 for small-signal Si, ~1.05 for Schottky. |
| VT | Thermal Voltage | Volts (V) | ~25.85 mV at 300 K (26.85 °C). Calculated as (k × T) / q. |
| k | Boltzmann Constant | Joules/Kelvin (J/K) | 1.380649 × 10-23 J/K (exact). |
| T | Absolute Junction Temperature | Kelvin (K) | Must be in Kelvin. 25 °C = 298.15 K. |
| q | Elementary Charge | Coulombs (C) | 1.602176634 × 10-19 C (exact). |
Rearranged Forms for Circuit Debugging
On the bench, you rarely need to find I from scratch. Usually, you are measuring a voltage drop and trying to back-calculate the junction temperature, or you have a known current and need to predict the exact forward voltage to calculate power dissipation. Here are the algebraically rearranged forms of the ideal diode equation:
- Solve for Junction Voltage (V):
V = n × VT × ln((I / IS) + 1) - Solve for Reverse Saturation Current (IS):
IS = I / (e(V / (n × VT)) - 1) - Solve for Ideality Factor (n):
n = V / (VT × ln((I / IS) + 1)) - Solve for Junction Temperature (T):
T = (q × V) / (n × k × ln((I / IS) + 1))
Worked Examples with Unit Tracking
Abstract formulas are useless without unit tracking. Let's run two real-world scenarios using common discrete components. Notice how we strictly convert everything to base SI units (Amperes, Volts, Kelvin) before calculating.
Problem 1: Finding Forward Current for a 1N4148 Signal Diode
Given: A 1N4148 diode at a junction temperature of 26.85 °C (300 K). The applied junction voltage is 0.65 V. From the manufacturer's SPICE model, we know IS = 2.52 nA and n = 1.75.
Find: The forward current (I).
Step 1: Convert to base SI units.
- IS = 2.52 nA = 2.52 × 10-9 A
- V = 0.65 V
- VT at 300 K = (1.38e-23 × 300) / 1.602e-19 = 0.02585 V
Step 2: Calculate the exponent term.
- Exponent = V / (n × VT)
- Exponent = 0.65 V / (1.75 × 0.02585 V) = 0.65 / 0.0452375 = 14.3686 (dimensionless)
Step 3: Solve the full equation.
- I = 2.52 × 10-9 A × (e14.3686 - 1)
- I = 2.52 × 10-9 A × (1,738,845 - 1)
- I = 0.00438 A = 4.38 mA
Reality Check: A 1N4148 passing ~4.4 mA at 0.65 V is exactly what you will measure on a curve tracer. The magnitude is correct.
Problem 2: Finding Forward Voltage for a 1N4007 Rectifier
Given: A 1N4007 rectifier diode passing 1.0 A of continuous current at 300 K. SPICE parameters: IS = 1.5 × 10-8 A, n = 2.0.
Find: The junction voltage drop (V).
Step 1: Identify base SI units.
- I = 1.0 A
- IS = 1.5 × 10-8 A
- VT = 0.02585 V
Step 2: Use the rearranged formula for V.
- V = n × VT × ln((I / IS) + 1)
- Ratio (I / IS) = 1.0 / (1.5 × 10-8) = 66,666,666.67
- ln(66,666,667.67) = 18.015
Step 3: Final multiplication.
- V = 2.0 × 0.02585 V × 18.015
- V = 0.0517 V × 18.015 = 0.931 V
Reality Check: A 1N4007 dropping ~0.93 V at 1 A is highly realistic. Note that a multimeter might read slightly higher (e.g., 1.05 V) because the multimeter measures the junction voltage plus the voltage dropped across the diode's internal bulk lead resistance, which the ideal equation ignores.
Assumptions, Limits, and Unit Traps
The ideal diode equation is a model, not a law of physics. It applies strictly under low-level injection conditions in an abrupt PN junction. Here is where it breaks down and where engineers make critical unit mistakes.
When the Formula Fails
- High Forward Currents (Bulk Resistance): At high currents (e.g., >1A in a TO-220 package), the semiconductor bulk material and wire bonds introduce series resistance (RS). The true voltage becomes V = Vjunction + (I × RS). The ideal equation will under-predict the total voltage drop.
- Reverse Breakdown: The equation predicts a constant reverse current of -IS. It completely fails to model avalanche or Zener breakdown, where current spikes exponentially in reverse bias.
- High-Level Injection: When the injected minority carrier concentration approaches the majority carrier concentration, the ideality factor n shifts dynamically, and the exponential slope changes.
Unit Mistakes That Break the Math
- The Celsius Trap: Plugging T = 25 into the thermal voltage formula instead of T = 298.15 K. This will shrink VT to near zero, causing the exponent to approach infinity and crashing your calculator.
- The Milliamp Mismatch: Using I = 5 (meaning 5 mA) but leaving IS in nanoamps (e.g., 2.5). You must convert both to base Amperes before dividing them in the natural log function.
- Ignoring the "-1": In forward bias, ex is so large that subtracting 1 doesn't matter. But if you are calculating reverse leakage at V = -0.1 V, the exponential term becomes ~0.98. If you forget the "-1", you will calculate a positive forward current instead of a tiny reverse leakage current.
Frequently Asked Questions
Why does the ideal diode equation fail at high forward currents?
The equation assumes all applied voltage drops across the PN depletion region. In reality, the silicon wafer and the metal lead frame have physical resistance (typically 0.1Ω to 1.0Ω for power diodes). At 5A, a 0.5Ω series resistance drops 2.5V. The ideal equation only models the junction, so to fix this at high currents, engineers use the modified equation: Vtotal = Vjunction + (I × RS).
How do I extract the ideality factor (n) from a datasheet?
Datasheets rarely list n directly. To find it, plot the datasheet's I-V curve on a semi-logarithmic scale (current on the log Y-axis, voltage on the linear X-axis). In the straight-line region of the forward bias curve, calculate the slope (ΔV / Δlog10I). The ideality factor is derived from this slope using the relation: n = Slope / (2.303 × VT). For a standard silicon diode, this usually yields a value between 1.5 and 2.0.
What is a realistic magnitude for reverse saturation current (IS)?
For standard silicon PN junctions (like the 1N4148 or 1N400x series), IS is incredibly small, typically ranging from 10-12 A (1 pA) to 10-8 A (10 nA). For Germanium diodes (like the 1N34A), it is much higher, around 1 μA to 100 μA. For Schottky diodes (like the BAT54 or 1N5819), IS is significantly higher than silicon, often in the 10-6 A (1 μA) to 10-4 A range, which is why Schottkys have higher reverse leakage but lower forward voltage drops.
Does the ideal diode equation apply to Schottky diodes?
Yes, the mathematical form is identical, but the physical parameters change. Because a Schottky diode uses a metal-semiconductor junction rather than a PN junction, majority carriers dominate conduction. This means the ideality factor n is very close to 1.0 (typically 1.05), and the reverse saturation current IS is orders of magnitude larger than a comparable silicon diode, resulting in a forward voltage drop of ~0.3V instead of ~0.7V.






