What this Zener diode calculator does
A Zener diode held in reverse breakdown keeps a fairly steady voltage across itself. Placed across a load and fed through a series resistor, it makes a simple shunt regulator. This Zener diode calculator picks that series resistor. It also tells you how much power the resistor and the diode will turn into heat.
The design rule from the Wikipedia article is that the resistor must be small enough to keep the diode in reverse breakdown, yet large enough that the current does not destroy the device. [1] It also says the external load current must be allowed for when calculating the resistor. [1]
How to use it
- Type the input voltage, the unregulated supply feeding the circuit.
- Type the Zener voltage printed on the part, such as 5.6 V.
- Type the Zener current you want to keep flowing. Use the recommended test current from the datasheet or a little above the minimum.
- Type the load current if a load is connected, otherwise leave it blank.
- Press Calculate.
The formulas
The resistor sees the difference between the input voltage and the Zener voltage. Ohm's law then gives the current. The article describes the diode current as the voltage difference across the resistor divided by R. [1] Rearranged, and with the load current added, our own working is:
- Total current: I = Iz + IL.
- Series resistor: R = (Vin − Vz) / (Iz + IL).
- Resistor power: PR = (Vin − Vz) × I.
- Zener power with the load removed: Pz = Vz × (Vin − Vz) / R.
The last line matters because if the load is disconnected, all of the current goes through the Zener. The article states that the diode current times its breakdown voltage must stay below the maximum power rating. [1] The calculator shows that worst case so you can compare it with the datasheet.
Worked example
A 12 V supply feeds a 5.6 V Zener. We want 5 mA through the Zener and the load takes 20 mA. The Wikipedia article mentions a common 5.6 V, 0.5 W part with a recommended reverse current of 5 mA, which is where the 5 mA comes from. [1]
| Step | Working | Result |
|---|---|---|
| Voltage across R | 12 − 5.6 | 6.4 V |
| Total current | 5 mA + 20 mA | 25 mA |
| Series resistor | 6.4 / 0.025 | 256 Ω |
| Resistor power | 6.4 × 0.025 | 160 mW |
| Zener power, no load | 5.6 × 0.025 | 140 mW |
A real resistor must be chosen from standard values. The nearest value at or below 256 Ω keeps at least the current you asked for, so a 240 Ω resistor would be a sensible choice. Use a resistor rated well above 160 mW, such as a quarter watt part or better. A 0.5 W Zener handles the 140 mW worst case comfortably.
Choosing the Zener current
If the Zener current is too low, the diode may drop out of breakdown and the output voltage will sag. If it is too high, the diode runs hot and the resistor wastes power. The datasheet gives a minimum and a test current. Pick a value comfortably above the minimum so that changes in input voltage or load do not push the diode out of regulation.
Limits of a Zener regulator
- It wastes power. Even when the load needs little, the resistor and diode keep burning the same total current.
- The output moves a little with temperature and with load current, because the Zener is not perfectly flat.
- If the input voltage can rise, the worst case is the highest input with the lowest load. Check both ends.
- For heavy loads, use a linear or switching regulator instead.
Common mistakes
- Forgetting the load current, which makes the resistor too large and the output collapse under load.
- Using the nominal voltage when the supply varies. Run the calculation for the minimum and maximum input.
- Ignoring the Zener power with no load.
- Entering the Zener current in amps. The boxes use milliamps.
This tool is a design aid, not a certified design. Confirm every value against the manufacturer datasheet before building or selling a circuit.
Picking real parts
After you have the calculated resistor, round to a standard value and rerun the numbers with it. A slightly lower resistor gives more current and keeps the Zener safely in breakdown. A slightly higher one saves power but reduces the margin. Check that the Zener power with no load stays below the rating of the diode at your working temperature, since the allowed power falls as the part warms up.
A typical hobby example is a 9 V battery or a 12 V adapter feeding a 5.1 V or 5.6 V Zener to power a small sensor or to give a reference level for a comparator. In these cases the load is only a few milliamps, so the Zener current is the larger share of the total. Use a small Zener current to keep the standby drain low, but keep it above the datasheet minimum.
A quick design checklist
- Find the lowest and highest input voltage the circuit will see.
- Find the lowest and highest load current.
- Choose the resistor so the Zener still gets its minimum current at the lowest input and the highest load.
- Check the Zener and resistor power at the highest input and the lowest load.
- Confirm both fit within the datasheet ratings with a margin.
What next
Use this often? Add Zener Diode to your Home screen.
Frequently asked questions
How do I choose a series resistor for a Zener diode?
Subtract the Zener voltage from the input voltage and divide by the total current, which is the Zener current plus the load current. A 12 V supply, 5.6 V Zener, 5 mA Zener current and 20 mA load give 256 ohms.
Why does the Zener diode calculator ask for the load current?
The resistor feeds both the Zener and the load. If you leave the load out, the resistor is too large and the output voltage drops when the load connects.
How much power does the Zener dissipate?
With the load removed, the whole current passes through the diode, so its worst case power is the Zener voltage times that current. In the example it is 140 mW.
What resistor wattage should I use?
The calculator shows the power in the resistor. Choose a rating of at least twice that figure to keep it cool.
Can I use this for any Zener voltage?
Yes, for any Zener whose voltage is lower than the input. If the input is not higher than the Zener voltage, the calculator reports an error.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.