Getting the diode's current-voltage behavior modeled correctly is what separates a circuit that works on your bench from something that fails when the weather or supply voltage shifts. This Shockley Diode Calculator lets you work out any variable from the equation—current, forward voltage, saturation current, temperature, or ideality factor—as long as you’ve measured or looked up the rest. It’s useful if you’re building rectifiers, working with solar cells, figuring out RF detectors, or troubleshooting unstable voltage references. Below you'll find the main Shockley equation, a hands-on example adjusting for temperature, some notes on where the math works (and where it doesn’t), and an FAQ based on problems you actually run into on real boards.
What is the Shockley Diode Equation?
This equation gives you the current through a diode at any given voltage and temperature. It shows the classic exponential response—add a little voltage, and current jumps up quickly—nothing like what you get with a resistor.
Simple Explanation
A diode is a lot like a one-way valve, but how “open” it gets is extremely sensitive to voltage—it’s not a gradual ramp. Push it a bit, and it stays mostly closed; push a little further, and it slams open with current. Temperature plays a big part: warmer diodes leak more current at the same voltage, so if you skip thermal issues, you will end up with surprises in power circuits.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
Diode I-V Characteristic Diagram
Interactive Shockley Diode Calculator
How to Use This Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
- Select your calculation mode from the dropdown — choose whether you want to solve for current, voltage, saturation current, temperature, or ideality factor.
- Enter the known values into the visible input fields: diode voltage (VD), saturation current (IS), ideality factor (n), and temperature (T) as required by your selected mode.
- If your mode requires diode current as an input, enter that value in the Diode Current field.
- Click Calculate to see your result.
Shockley Diode interactive visualizer
Move the sliders to see how just a small tweak in voltage makes current shoot up—especially at room temperature and above. This is why tiny differences in diode specs or temperature can make a big difference in your actual circuit.
DIODE CURRENT
11.5 mA
THERMAL VOLTAGE
25.9 mV
POWER DISSIPATION
6.9 mW
FIRGELLI Automations — Interactive Engineering Calculators
Shockley Equation & Variables
The formulas here let you calculate diode current from voltage, temperature, and diode parameters without needing a big physics background.
Primary Shockley Diode Equation:
I = IS ( eVD / nVT - 1 )
Thermal Voltage:
VT = kT / q
Variable Definitions:
- I — Diode current (A, amperes)
- IS — Reverse saturation current (A, typically 10-15 to 10-9 A for silicon)
- VD — Voltage across the diode (V, volts)
- n — Ideality factor (dimensionless, typically 1.0-2.0)
- VT — Thermal voltage (V, approximately 26 mV at 300 K)
- k — Boltzmann constant (1.380649×10-23 J/K)
- T — Absolute temperature (K, kelvin)
- q — Elementary charge (1.602176634×10-19 C)
Simple Example
Given: VD = 0.6 V, IS = 1×10-12 A, n = 1, T = 300 K
Thermal voltage: VT = 25.85 mV
nVT = 25.85 mV
I = 1×10-12 × (e0.6 / 0.02585 − 1) ≈ 11.5 mA
Theory & Practical Applications
Physical Foundation of the Shockley Equation
The Shockley diode equation comes from looking at charge carrier movement in a real p-n junction: under forward bias, the voltage lowers the barrier and most current is due to minority carrier diffusion. This creates the exponential I-V curve you see in practice. For most small-signal silicon diodes, you can assume low-level injection, neglect series resistance, and treat doping near the junction as pretty uniform—at least until you hit high currents or breakdown regions, where all bets are off.
The ideality factor n is really just an indicator of how close your diode is to the textbook ideal. At n = 1.0, everything lines up with the classic diffusion theory. Start seeing n = 1.3 or more, and you’re looking at contributions from recombination in the depletion region, crystal defects, impurities, or poor manufacturing. Schottky diodes stay closer to n = 1 because they work by majority carriers only; older or abused silicon diodes can get n heading for 2.
Temperature Dependence and Thermal Management
Temperature changes a diode’s behavior in several ways, and you need to consider all of them. The thermal voltage VT rises about 86 microvolts per Kelvin, but that’s nothing compared to how much the saturation current IS grows—doubling every 10°C is a good rule of thumb for silicon. This means your forward voltage at a set current drops about 2 mV per °C (so a 0.7 V drop at 25°C could become 0.6 V at 85°C with the same current).
If you’ve ever wondered why your voltage reference or current mirror drifts with temperature, this is a big reason. Zener and bandgap references work to compensate for it, but if you’re using a plain diode in power, automotive, or outdoor gear, you’ll see both drift and the risk of thermal runaway: as things get hotter, the voltage needed drops, current goes up, heating things even more. This leads to component failure fast if you haven’t added resistance, thermal coupling, or monitoring.
Practical Applications Across Industries
Most diodes end up in power rectifiers. For example, a phone charger may run four Si diodes as a bridge—each takes a hefty surge on every line cycle and may run at 1-2 A forward. Multiply by the forward drop (0.7–1.0 V) and you see where the lost watts go: as heat you have to dissipate. Schottky diodes help with power loss, especially in low-voltage, high-current situations, since their drop can be as low as 0.3–0.5 V. This is why server power supplies and battery circuits often pay more for Schottky parts.
Photovoltaic cells (solar panels) are just large p-n diodes running backwards—Shockley’s equation predicts their “dark current,” which sets the maximum voltage and power you can squeeze out under sunlight. Higher temperatures cause more leakage current, cutting both voltage and efficiency, which is why solar panels in hot climates generate less wattage even when the sun’s out. New cell structures try to reduce this temperature effect, but you can’t avoid the basic physics entirely.
RF and High-Speed Applications
RF detector diodes use the curved region of the I-V curve below 50 mV forward (the “square-law” region), where current is roughly proportional to voltage squared. At these bias levels, the equations still hold and the diode can rectify tiny RF amplitudes. For these kinds of detectors, keeping the ideality factor close to one is important—higher n makes power detection less linear and less efficient at low signal levels.
Varactor diodes work in reverse, exploiting the junction capacitance’s change with bias. Here, you care far more about the leakage current (which rises with temperature) than anything else, since leakage will add noise or shift frequency in sensitive VCO circuits. For practical oscillators, reverse current may be tiny at room temp but much higher in summer or with self-heating.
Worked Example: Temperature Compensation in Precision Current Source
Suppose you need a 1.000 mA constant current from a silicon diode (IS = 3.2×10-13 A, n = 1.08) and want to keep drift below 50 ppm/°C from 0°C to 70°C; you’ll find the raw diode voltage drifts about three times too much for that target, so you need to design in extra compensation—a matching resistor, another diode, or a more complex temperature feedback circuit. In practice, most designers use bandgap references or other compensation unless cost or space absolutely prevents it.
Frequently Asked Questions
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
- LED Resistor Calculator — Current Limiting
- Low-Pass RC Filter Calculator — Cutoff Frequency
- Capacitor Charge Discharge Calculator — RC Circuit
- I2C Pull-Up Resistor Calculator
- Spherical Capacitor Calculator
- Capacitor Energy Calculator
- Series Inductors Calculator
- Wire Gauge Calculator — Voltage Drop AWG
- Voltage Divider Calculator — Output Voltage from Two Resistors
- Transformer Turns Ratio Calculator
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Video Walkthrough - How to Use This Calculator
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
