PN Junction Current Calculator
Semiconductor Physics
- Find the thermal voltage at 300 K: Vt = kT/q = 25.85 mV, so the applied 0.6 V is 23.21 thermal units.
- Compute the saturation current of the diode equation: Is = A q ni^2 [Dp/(Lp Nd) + Dn/(Ln Na)] = 5.992 x 10^-15 A.
- Apply the diode equation I = Is (exp(V/Vt) - 1) with the exponential term exp(23.21).
- The pn junction current is 7.197 x 10^-5 A; the saturation current and thermal voltage are reported alongside.
Every diode, solar cell and bipolar transistor starts with the same question: how much current crosses a pn junction at a given voltage? This pn junction current calculator answers it with the Shockley diode equation, I = Is (exp(V/Vt) - 1), building the saturation current Is from first principles - junction area, the doping on both sides, the intrinsic carrier concentration and the diffusion constants and lengths of electrons and holes - instead of asking you for a datasheet value.
The saturation current is Is = A q ni^2 [Dp/(Lp Nd) + Dn/(Ln Na)]. Each term has a physical meaning: ni^2 sets how many minority carriers exist to be swept across the junction, the diffusion constant divided by the diffusion length gives the speed at which they arrive, and dividing by the majority doping reflects that a more heavily doped side supplies fewer minority carriers. The exponential then amplifies that tiny leakage into milliamps once the forward voltage reaches a few multiples of the thermal voltage Vt = kT/q.
Use it to build intuition for device design trade-offs: why a heavily doped junction leaks less but breaks down earlier, why germanium diodes leak orders of magnitude more than silicon ones (ni is far larger), and why diode current roughly doubles every 10 degrees Celsius even though Vt itself only grows linearly with temperature. The calculator reports the current, the saturation current and the voltage expressed in thermal units so you can see which factor dominates.
Worked examples
Silicon junction at 0.6 V
(0.0001 cm^2 · 10000000000000000 cm^-3 · 100000000000000000 cm^-3 · 10000000000 cm^-3 · 12 cm^2/s · 35 cm^2/s · 5 um · 10 um · 0.6 V · 300 K)
| Diode current I | 7.197 x 10^-5 A |
| Saturation current Is | 5.992 x 10^-15 A |
| Thermal voltage Vt | 25.85 mV |
| Voltage in thermal units V / Vt | 23.21 |
Lower bias, 0.5 V
(0.0001 cm^2 · 10000000000000000 cm^-3 · 100000000000000000 cm^-3 · 10000000000 cm^-3 · 12 cm^2/s · 35 cm^2/s · 5 um · 10 um · 0.5 V · 300 K)
| Diode current I | 1.504 x 10^-6 A |
| Saturation current Is | 5.992 x 10^-15 A |
| Thermal voltage Vt | 25.85 mV |
| Voltage in thermal units V / Vt | 19.34 |
Lightly doped junction at 0.7 V
(0.0001 cm^2 · 1000000000000000 cm^-3 · 10000000000000000 cm^-3 · 10000000000 cm^-3 · 12 cm^2/s · 35 cm^2/s · 5 um · 10 um · 0.7 V · 300 K)
| Diode current I | 3.444 x 10^-2 A |
| Saturation current Is | 5.992 x 10^-14 A |
| Thermal voltage Vt | 25.85 mV |
| Voltage in thermal units V / Vt | 27.08 |
The Shockley equation and the saturation current
The diode equation separates the problem into a materials part and a bias part. The materials part, Is, is the current that would flow in deep reverse bias, when the exponential term has died away and only thermally generated minority carriers drift across the depletion region. For the worked example - a 0.0001 cm^2 silicon junction doped 1 x 10^16 cm^-3 on the p-side and 1 x 10^17 cm^-3 on the n-side - Is comes out near 6 x 10^-15 A, a few femtoamperes, which is why silicon diodes appear to conduct nothing at all until the forward voltage approaches half a volt.
The bias part, exp(V/Vt) - 1, is where the drama happens. Because Vt is only 25.85 mV at 300 K, a forward bias of 0.6 V is already 23.21 thermal units, and the exponential of that is about 1.2 x 10^10. Multiplying a femtoampere-scale Is by that factor lands in the tens of microamperes. Every additional 59.6 mV of forward voltage multiplies the current by ten, which is why diode I-V curves look like a cliff on a linear plot and a straight line on a logarithmic one.
Worked example at 0.6 V forward bias
With the default inputs the calculator first finds Vt = 25.85 mV, then Is from the two diffusion terms. The hole term Dp/(Lp Nd) uses Dp = 12 cm^2/s, Lp = 5 um and Nd = 1 x 10^17 cm^-3; the electron term Dn/(Ln Na) uses Dn = 35 cm^2/s, Ln = 10 um and Na = 1 x 10^16 cm^-3. The electron term is larger even though electrons diffuse faster, because it is divided by the lighter p-side doping - a general lesson: the lightly doped side of a one-sided junction controls the saturation current.
Raising the bias to 0.5 V in the second example drops the exponent to about 19 thermal units and the current by a factor of roughly 50, while the third example, with both dopings reduced tenfold and 0.7 V applied, shows how a lightly doped junction passes far more current at the same voltage: Is grows by a factor of ten and the exponential grows too, compounding the effect. Trying these combinations is the fastest way to develop a feel for which parameters a process engineer can actually tune.
Temperature, doping and the limits of the ideal diode model
Temperature enters three times: through Vt in the exponent, through ni, which roughly doubles every 10 K in silicon and is squared in Is, and weakly through the diffusion constants. The ni^2 term wins, so real diode leakage climbs steeply with temperature - the reason power devices need thermal derating. This calculator holds Dp, Dn, Lp and Ln fixed, so treat its temperature trend as the dominant exponential effect rather than a full physical simulation.
The ideal equation also ignores series resistance, which bends the curve over at high currents; high-level injection, which changes the exponent toward exp(V/2Vt) once injected carriers rival the doping; and generation-recombination in the depletion region, which adds an exp(V/2Vt) component at low forward bias in silicon. Within its range - moderate bias, moderate injection, uniform doping - the Shockley equation with a first-principles Is is the standard first model taught in every device physics course, and the right starting point before reaching for a simulator.
- Current multiplies by about 10 for every extra 59.6 mV of forward bias at 300 K.
- The lightly doped side dominates Is because its term is divided by the smaller doping.
- Germanium leaks far more than silicon at the same geometry because ni is about 1000 times larger.
- Expect the ideal model to overestimate current at high bias, where series resistance takes over.
One-sided junctions and which side matters
Most real junctions are one-sided: one side is doped far more heavily than the other, like the 1 x 10^17 against 1 x 10^16 cm^-3 of the worked example. In that limit the depletion region extends almost entirely into the lightly doped side, the saturation current is set by that side's minority carriers, and the breakdown voltage is set by its doping too. The calculator's two diffusion terms make the asymmetry visible: swap Na and Nd in the inputs and Is changes, even though the pair of doping values is the same, because the diffusion constants and lengths of the two carrier types differ.
That asymmetry guides real design. A photodiode is built with a thick, lightly doped absorption region so the depletion zone - where carriers are collected by drift rather than slow diffusion - is wide. A Zener reference is doped heavily on both sides so breakdown happens by tunnelling at a sharp, stable voltage. A rectifier splits the difference. In each case the same Shockley backbone applies, and the doping pair you enter here is the first decision the designer made.
Reading the three outputs
The headline number is the current in amperes, printed in scientific notation because junction currents span femtoamperes to amperes depending on bias. The saturation current tells you the reverse leakage floor and is the quantity to compare when you change materials or doping. The ratio V/Vt tells you where you are on the exponential: below about 5 the junction barely conducts, between 15 and 25 it is in the familiar diode knee, and beyond 30 the ideal model is usually being limited by effects it does not include.
A useful exercise is to fix the voltage at 0.6 V and sweep ni from silicon's 1 x 10^10 cm^-3 toward germanium's 2.4 x 10^13 cm^-3: the current climbs by the square of the ratio, more than five orders of magnitude, which is the entire reason silicon displaced germanium in mainstream electronics despite germanium's higher mobilities.
One more boundary deserves marking: in reverse bias the ideal equation promises a constant -Is forever, but real junctions break down, softly by avalanche multiplication in lightly doped junctions and sharply by Zener tunnelling in heavily doped ones. The doping pair you enter here decides which mechanism a physical device would meet first - another reason the same two numbers, Na and Nd, are worth entering carefully.
FAQs
What is the thermal voltage at 300 K?
At 300 K the thermal voltage Vt is 25.85 mV. It is kT/q, the natural voltage scale of any semiconductor device at that temperature, and it grows linearly with absolute temperature.
How much current flows at 0.6 V in the worked example?
The worked example lands in the tens of microamperes: a saturation current of a few femtoamperes multiplied by exp(23.21), the exponential of 0.6 V expressed in thermal units.
What happens to the current if the voltage rises from 0.6 V to 0.7 V?
The exponent rises from 23.21 to 27.08 thermal units, so the current grows by exp(3.87), roughly a factor of 48 - the steepness that makes diode curves look like cliffs.
Why does heavier doping lower the saturation current?
Is divides each diffusion term by the doping of the opposite side, so doping of 1 x 10^17 cm^-3 gives a smaller Is than 1 x 10^16 cm^-3. Fewer minority carriers exist on a heavily doped side to sustain the leakage.
What area is used in the worked example?
The worked example uses a junction area of 0.0001 cm^2, a square 100 um on a side. Current scales linearly with area, so a 1 mm^2 power diode passes 100 times more at the same voltage.
Does the equation work in reverse bias?
Yes. For reverse bias the exponential term vanishes and the current settles at -Is, a few femtoamperes in the example. Real junctions eventually break down at large reverse voltage, which the ideal equation does not model.
Why is my calculated current different from a datasheet diode?
Datasheet currents include series resistance, depletion-region recombination and sometimes high-level injection, all of which bend the curve away from the ideal exponential. The calculator gives the ideal-junction value the datasheet started from.