Shockley Diode Calculator

Diode Current · Forward Voltage · Thermal Voltage · Dynamic Resistance

Shockley Diode Calculator

Current · voltage · temperature · dynamic resistance
Start here
1Choose whether to solve for current or voltage.
2Enter the diode model and junction temperature.
3Read the result, slope resistance, and I–V curve.
Calculate
01

Operating point

Enter the known electrical quantity. The other quantity is calculated instantly.

02

Diode model

Use data-sheet or fitted values for the saturation current and ideality factor.

I = IS [ exp(VD / nVT) − 1 ]

Educational semiconductor model only. Validate device parameters and operating limits against the manufacturer data sheet and a full circuit simulation.

How the Shockley Diode Calculator Works

The Shockley diode equation describes the exponential relationship between the voltage across an ideal p–n junction and the current through it. This calculator solves the equation in either direction, adjusts thermal voltage for junction temperature, and reports the local dynamic resistance and diode power at the selected operating point.

Unlike a constant-voltage diode approximation, the Shockley model shows why a small increase in forward voltage can produce a large increase in current. It is useful for education, first-pass analysis, curve fitting, and checking a compact diode model before moving to a complete SPICE simulation.

I = IS[eVD/(nVT) − 1]

The forward-positive diode current is determined by saturation current, diode voltage, ideality factor, and temperature-dependent thermal voltage.

VD = nVT ln(I/IS + 1)

The inverse form calculates diode voltage from current. In the ideal model, the entered current must be greater than −IS.

VT = kT/q

At 25°C, thermal voltage is approximately 25.69 mV. Temperature must be expressed in kelvin in the equation.

IDiode current in amperes, positive for forward conduction.
ISReverse saturation-current model parameter in amperes.
VDVoltage from anode to cathode in volts.
nIdeality factor describing departure from an ideal junction.
VTThermal voltage calculated from junction temperature.
k, qBoltzmann constant and elementary charge.
Shockley diode equation with a diode symbol and exponential forward current-voltage curve.
Figure 1: The Shockley equation produces an exponential forward I–V curve whose slope depends on saturation current, ideality factor, and junction temperature.

How to Use the Shockley Diode Calculator

  1. Choose Current from voltage or Voltage from current.
  2. Enter the known operating value and select its unit.
  3. Enter saturation current and ideality factor from a data sheet, fitted model, or laboratory measurement.
  4. Enter junction temperature—not merely the surrounding ambient temperature.
  5. Review the operating point, thermal voltage, dynamic resistance, power, and plotted I–V curve.

The example buttons demonstrate different mathematical behaviors; they are not substitutes for a manufacturer-supplied model. Saturation current can vary greatly between devices and changes strongly with temperature.

Dynamic Resistance and Diode Power

The slope of the I–V curve matters in small-signal and feedback analysis. Differentiating the Shockley equation gives the exact local incremental resistance:

rd = nVT/(I + IS)

When forward current is much larger than saturation current, this reduces to the familiar approximation rd ≈ nVT/I.

The calculator also reports P = VDI. This is the electrical power at the chosen operating point, but it does not predict junction temperature. A thermal model, package thermal resistance, and operating waveform are needed for that assessment.

Worked Shockley Equation Example

Room-temperature silicon-junction example

Assume VD = 0.65 V, IS = 1 nA, n = 1.5, and T = 25°C.

  1. Convert temperature: T = 298.15 K
  2. Thermal voltage: VT = kT/q ≈ 25.693 mV
  3. Normalized voltage: VD/(nVT) ≈ 16.87
  4. Diode current: I ≈ 21.1 mA
  5. Dynamic resistance: rd ≈ 1.83 Ω

When the Shockley Model Is Accurate—and When It Is Not

Operating regionWhat the model capturesMain limitation
Moderate forward biasExponential p–n junction behaviorAccuracy depends on fitted IS and n
Very low currentFirst-order leakage and recombination trendSurface leakage and multiple mechanisms may dominate
High forward currentIdeal junction exponentialSeries resistance and self-heating flatten the real curve
Reverse bias before breakdownCurrent approaches −ISReal leakage can differ substantially
Avalanche or Zener breakdownNot modeledUse breakdown data or a Zener/SPICE model

Engineering caution: never use this ideal equation by itself to set a safe current for an LED, laser diode, power diode, or Zener diode. Include the external circuit, series resistance, thermal behavior, tolerances, and absolute maximum ratings.

Common Calculation Mistakes

  • Using ambient temperature: the equation requires junction temperature.
  • Mixing current units: a value in nA differs from a value in µA by a factor of one thousand.
  • Assuming n is always 1: practical fitted values depend on the device and operating region.
  • Ignoring series resistance: the ideal equation can predict unrealistically large current at high forward voltage.
  • Modeling breakdown: the basic Shockley equation does not describe Zener or avalanche conduction.
  • Treating IS as constant over temperature: this parameter itself changes strongly with temperature.

Frequently Asked Questions

What is the Shockley diode equation?

It is an idealized exponential model relating p–n junction current to diode voltage, saturation current, ideality factor, and thermal voltage.

What is the ideality factor of a diode?

The ideality factor n is a fitted model parameter that represents how the measured junction behavior differs from an ideal diffusion-dominated diode. It is not universally identical for all diodes or operating currents.

Why does diode current rise so quickly with voltage?

Voltage appears in the exponent VD/(nVT). Once forward bias becomes several multiples of nVT, even a small voltage increase produces a large current increase.

Does the calculator model reverse breakdown?

No. The ideal equation approaches −IS under reverse bias. Avalanche and Zener breakdown require additional device parameters.

Can this calculator replace SPICE?

No. It is valuable for learning and first-pass checks, while SPICE models can include series resistance, capacitance, breakdown, temperature dependencies, and device-specific behavior.

What temperature should I enter?

Enter the estimated junction temperature. If only ambient temperature is known, recognize that self-heating may make the junction warmer during operation.

Consult with an Expert

Get a formal quote

Get a formal quote