Saved

Press the star next to a tool's name to save it.

All my tools

Shockley Diode Calculator

Use this Shockley diode calculator to find the current through a diode from its voltage, or the voltage from its current, with the thermal voltage and the dynamic resistance.

Restored your last values ·

pA
V
mA

Choose whether to find the current from a voltage or the voltage from a current. Enter the saturation current, the ideality factor and the temperature, and the known voltage or current. The temperature sets the thermal voltage.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose what to find, enter the diode values and press Calculate.

See full result

A Shockley diode calculator solves the Shockley diode equation, which relates the current through a diode to the voltage across it. Enter the saturation current, the ideality factor and the temperature, and choose to find the current from a voltage or the voltage from a current. It also gives the thermal voltage, the dynamic resistance and the power.

How to use the Shockley diode calculator

  1. Choose the units and what to find.
  2. Enter the saturation current, the ideality factor and the temperature.
  3. Enter the voltage or the current.
  4. Press Calculate.

The Shockley equation

The Shockley diode equation is I = Iₛ (e^(V ÷ (n Vₜ)) − 1), where I is the diode current, Iₛ is the reverse-bias saturation current, V is the voltage across the diode, Vₜ is the thermal voltage and n is the ideality factor [1]. It applies to a diode that is forward or reverse biased, and it is the starting point of most diode circuit work.

The thermal voltage

The thermal voltage is Vₜ = k T ÷ q, where k is the Boltzmann constant, T is the absolute temperature and q is the elementary charge [1]. Wikipedia gives k as exactly 1.380649 × 10⁻²³ joules per kelvin and q as 1.602176634 × 10⁻¹⁹ coulombs [2]. At 300 kelvin, Vₜ is about 25.85 millivolts, and at 25 degrees Celsius, 298.15 kelvin, it is about 25.69 millivolts [2].

The ideality factor

The ideality factor n is typically between 1 and 2, with 1 for an ideal diode [1], and the calculator uses 1 as its example. Wikipedia says that its value depends on the fabrication and the material [1]. The actual value for a diode comes from the manufacturer's data. A larger n makes the exponent smaller, so a bigger voltage is needed for the same current. The product n Vₜ sets the steepness of the curve.

Saturation current

Wikipedia says that Iₛ also depends on the temperature, usually more strongly than the thermal voltage does [1]. It gives no typical numbers, so the value is an input that you take from a data sheet. The calculator asks for it in picoamperes, a unit that suits small silicon diodes. Our example uses 10 picoamperes, which is our own figure for illustration, and not a quoted value.

Current from voltage

In the first mode, you give the voltage, and the calculator returns the current. With Iₛ = 10 pA, n = 1, 25 °C and 0.6 volts, Vₜ is 25.693 millivolts, and the current is about 138.71 milliamperes. This is our own example, worked with the equation. A small change in the voltage changes the current a great deal, since the current grows exponentially with the voltage.

Voltage from current

In the second mode, you give the current and get the voltage. The inverse is V = n Vₜ ln(I ÷ Iₛ + 1). Wikipedia gives this inverse for n = 1, and the form with n is our own algebra [1]. It is valid only when the current is above −Iₛ, because the logarithm needs a positive argument. For 10 milliamperes with the same diode, the voltage is 0.5324 volts. It changes only slowly with the current, which is why a diode drop is nearly constant.

Dynamic resistance

The slope of the curve at the operating point gives the small-signal resistance, rd = n Vₜ ÷ (I + Iₛ). This follows from the derivative of the equation and is our own working. At 10 milliamperes it is 2.57 ohms, and at 138.7 milliamperes only 0.185 ohm. The calculator also gives the power, V × I, in milliwatts. The resistance of a diode is not constant, because the curve is exponential [3].

Temperature

Choose °F or °C. The calculator converts the temperature to kelvin and finds Vₜ from it. The temperature must be above absolute zero. A real diode's saturation current rises quickly with the temperature, so a fixed Iₛ is valid only near the temperature at which it was measured. For hot circuits, enter the saturation current at the working temperature.

What the model leaves out

The ideal equation does not include the series resistance of the semiconductor and the leads, which limits the current at high forward voltage. It also ignores breakdown in reverse bias and capacitance [1]. In the forward direction, a voltage of more than about 700 times n Vₜ would overflow the exponential, and the tool says the value is out of range. Use a simulator for real design work.

Using the calculator

Pick the mode, enter Iₛ, n and the temperature, and then the voltage or the current. Compare the results for n = 1 and n = 2, and for 25 and 75 degrees, to see how the curve moves. To draw an I–V curve, run the calculator at a series of voltages and plot the currents. Use the dynamic resistance to see how a diode behaves for small signals.

How a diode curve looks

Because of the exponential, the current is almost zero below a certain voltage, and then rises steeply. With the example values, 0.5 volt gives about 3 milliamperes, 0.55 volt gives about 20 milliamperes and 0.6 volt gives about 139 milliamperes. These are our own results from the equation with Iₛ = 10 picoamperes and n = 1 at 25 degrees Celsius. A rise of 50 millivolts multiplies the current by about 7. This is why a silicon diode seems to have a nearly fixed forward drop, and why Wikipedia lists a threshold of 0.6 V to 0.7 V for silicon p–n diodes [3]. Run it at several voltages to get the points.

Common mistakes

  • Using Iₛ in amperes. The box takes picoamperes.
  • Using the Celsius value in Fahrenheit mode. Check the unit.
  • Taking n as 0. It must be above zero.
  • Using the ideal model above its limits. Real diodes have series resistance.

What next

Use this often? Add Shockley Dio to your Home screen.

Frequently asked questions

What is a Shockley diode calculator?

A tool that solves the Shockley equation for the diode current or the voltage.

What is the Shockley diode equation?

I = Iₛ (e^(V ÷ (n Vₜ)) − 1), with Iₛ the saturation current, n the ideality factor and Vₜ the thermal voltage.

What is the thermal voltage?

Vₜ = k T ÷ q, about 25.85 mV at 300 K.

What is a typical ideality factor?

Between 1 and 2, with 1 for an ideal diode.

Where do I get the saturation current?

From the diode's data sheet; it depends mainly on temperature.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools