A diode lets current flow one way and blocks it the other way, like a non-return valve in a pipe. That one simple job turns up everywhere: turning AC into DC, protecting a circuit when a battery goes in backwards, and stopping a relay coil from destroying the transistor that drives it. This guide explains how diodes behave, how to read their ratings, and which one to pick.
Which way round: anode and cathode
A diode has two legs. Current flows from the anode to the cathode. On the part, the cathode end is marked with a band. In the circuit symbol, the triangle points the way current flows and the bar is the cathode, so the bar on the symbol matches the band on the part.
Forward voltage: the price of conducting
A conducting diode isn't a perfect wire. It drops a voltage, called the forward voltage (VF), and that voltage rises a little as the current goes up:
- Silicon diodes such as the 1N4148 and 1N4001 drop roughly 0.6 to 0.7 V at small currents. The 1N4001 datasheet gives a maximum of 1.1 V at its full 1 A.
- Schottky diodes drop less. The 1N5817 is rated at 0.45 V maximum at 1 A and the 1N5819 at 0.6 V, which matters when every tenth of a volt counts, such as on a 3.3 V battery circuit.
- LEDs are diodes too, with a much higher forward voltage, roughly 1.8 V for red up to about 3 V for blue and white. See how LEDs work.
The voltage drop costs power, which turns into heat: P = VF × I. A silicon diode dropping 0.7 V while passing 0.5 A dissipates 0.35 W.
Reverse ratings: how much it can block
Reverse-biased, a diode blocks current until the voltage reaches its breakdown point. The datasheet gives the peak repetitive reverse voltage (VRRM). Go past it and an ordinary diode can fail short-circuit. Pick a diode rated comfortably above the highest reverse voltage it will ever see, including spikes.
Schottky diodes have two catches: lower reverse voltage ratings (the 1N5817 is a 20 V part, the 1N5819 40 V), and a much higher reverse leakage current, which gets worse as they get hot.
Common diodes and what they're for
| Diode | Type | Key ratings (datasheet) | Typical use |
|---|---|---|---|
| 1N4148 | Small-signal silicon | 100 V reverse, 4 ns reverse recovery | Logic, signal clamping, low-current flyback |
| 1N4001 to 1N4007 | General-purpose rectifier | 1 A; 50 V (4001) up to 1,000 V (4007) | Mains-frequency rectifiers, reverse-polarity protection, relay flyback |
| 1N5817 / 1N5819 | Schottky | 1 A; 20 V / 40 V; low VF | Low-loss battery protection, switching regulators |
| Zener (e.g. BZX55 series) | Breakdown used on purpose | Rated by zener voltage and power | Simple voltage references and clamps |
The seven 1N400x parts differ only in their reverse rating, so a 1N4007 can stand in for any of the others.
Four jobs diodes do
1. Rectifying AC to DC
One diode passes only the positive half of an AC waveform (a half-wave rectifier). Four diodes in a bridge flip the negative half too, so both halves come out positive. Current always passes through two diodes in a bridge, so you lose two forward voltages, about 1.4 V with silicon. A smoothing capacitor then fills in the dips. Try it in our bridge rectifier lab.
2. Reverse-polarity protection
A diode in series with the supply stops a backwards battery from reaching your circuit. It's cheap and simple, but you lose the forward voltage all the time. A Schottky loses less. For low-voltage battery projects, a P-channel MOSFET wired as an "ideal diode" loses less still.
3. Flyback protection
Relay coils, solenoids and motors are inductors. Switch one off and it tries to keep the current flowing, producing a voltage spike that can be tens of times the supply voltage. A diode across the coil, cathode to the positive supply, gives that current a safe path to die away. See relays explained and transistors as switches.
4. Zener voltage references
A zener diode is designed to break down at a set voltage, and it's used reverse-biased so it holds that voltage across itself. With a series resistor it makes a simple reference or clamp. Our zener calculator and zener regulator lab show how to size the resistor.
Testing a diode with a multimeter
- Disconnect power and, ideally, lift one leg out of the circuit, as other parts in parallel can fool the reading.
- Set the meter to the diode test position (the diode symbol).
- Red lead on the anode, black on the cathode: a healthy silicon diode reads roughly 0.5 to 0.7 V, a Schottky lower.
- Swap the leads: the meter should show OL (open). A reading near zero both ways means the diode has failed short. OL both ways means it's open.
More on meter settings in how to use a multimeter.
Going deeper
The diode equation
An ideal junction follows the Shockley equation, I = IS(eV/(nVT) − 1), where IS is a tiny saturation current, n is between about 1 and 2, and VT = kT/q is about 25.9 mV at 27 °C. The useful consequence: each tenfold increase in current raises the forward voltage by only about 2.3 × n × VT, roughly 60 to 120 mV. That's why "0.6 to 0.7 V" works as a rule of thumb across a wide range of currents.
Temperature
At a fixed current, a silicon diode's forward voltage falls by roughly 2 mV for every 1 °C rise. That makes a diode a crude temperature sensor, but it also means diodes in parallel don't share current evenly: the hottest one drops the least voltage, takes more current, and gets hotter still. Don't parallel diodes to get a higher current rating unless each has its own small series resistor.
Reverse recovery
A conducting PN diode stores charge, and when the voltage reverses it conducts backwards briefly until that charge is cleared. The 1N4148 is specified at 4 ns; general-purpose rectifiers like the 1N4001 are much slower and aren't specified for fast switching, so they run hot in high-frequency switch-mode supplies. Schottky diodes have almost no stored charge, which is why they're the standard choice in buck and boost converters.
Heat
Dissipation is VF × the average current, plus switching losses at high frequency. A leaded 1N4001 carrying its full 1 A drops up to 1.1 V, so about 1 W, and its rating depends on lead length and ambient temperature: read the derating curve in the datasheet before running any diode near its limit.
Sources
The main references behind this guide. Numbers we worked out ourselves, such as the code outputs, come from running the code.