Zener Diode Regulator Calculator

Electronics

Series resistor Rs230.00 ohm
Voltage across the resistor6.90 V
Resistor power dissipation0.21 W
Zener power at the design point51.00 mW
How this was calculated
  1. The series resistor drops the difference between input and zener voltage: 12 - 5.10 = 6.90 V.
  2. It must carry the load current plus the chosen zener current: 20 + 10 = 30 mA through the zener regulator branch.
  3. Size the resistor by Ohm's law: Rs = 6.90 / 0.030 = 230.00 ohm.
  4. Check the powers: the resistor dissipates 0.21 W and the zener diode 51.00 mW at the design point.

The zener shunt regulator is the simplest voltage regulator there is: a resistor in series with the input, a zener diode shunting the output, and the load connected across the diode. The diode clamps the output at its zener voltage, absorbing whatever current the load does not take. It is crude, inefficient and utterly reliable - still the right answer for low-current references, bias supplies, protection clamps and the odd rail in a hobby project.

Everything hinges on the series resistor. Too large, and at full load the zener starves and falls out of regulation; too small, and at no load the diode cooks. This calculator sizes the resistor properly: you give the input voltage, the zener voltage, the load current and the zener current you want flowing at full load (the design current that keeps the diode on the stiff part of its curve), and it returns the resistor value plus the two power dissipations you must check before building.

The examples cover the classic cases: a 12 V input regulated to 5.1 V for a small logic load, a 24 V industrial rail brought down to 12 V, and a 3.3 V reference from a 9 V battery.

Worked examples

12 V to 5.1 V at 20 mA

(12 V · 5.1 V · 20 mA · 10 mA)

Series resistor Rs230.00 ohm
Voltage across the resistor6.90 V
Resistor power dissipation0.21 W
Zener power at the design point51.00 mW

24 V to 12 V at 50 mA

(24 V · 12 V · 50 mA · 5 mA)

Series resistor Rs218.18 ohm
Voltage across the resistor12.00 V
Resistor power dissipation0.66 W
Zener power at the design point60.00 mW

9 V to 3.3 V reference

(9 V · 3.3 V · 10 mA · 5 mA)

Series resistor Rs380.00 ohm
Voltage across the resistor5.70 V
Resistor power dissipation0.09 W
Zener power at the design point16.50 mW

How a zener shunt regulator works

The resistor drops the difference between the input and the zener voltage, and it must carry the sum of two currents: the load current, which varies, and the zener current, which takes up the slack. When the load draws less, the zener draws more by exactly the same amount, so the total through the resistor - and therefore the drop across it - stays nearly constant, and the output stays at Vz. The regulation is only as stiff as the diode's knee: run the design zener current too close to zero and the output sags under load.

This is why the design current is a real design choice, not a detail. Five to ten milliamps suits small signal zeners; power zeners want more. Every extra milliamp is wasted heat at light load, so the art is to pick the smallest current that keeps the diode stiff across your load range and input tolerance.

  • Rs = (Vin - Vz) / (IL + Iz): the resistor carries load plus zener current
  • Resistor power = (Vin - Vz)^2 / Rs: check this first, it is usually the bigger heat source
  • Zener power at the design point = Vz x Iz - but the no-load case is the diode's real worst case
  • The output voltage is the diode's Vz at its test current; expect a few percent of tolerance and drift

Worked example: 12 V in, 5.1 V out at 20 mA

With Vin = 12 V and Vz = 5.1 V the resistor must drop 6.90 V. At a 20 mA load and a 10 mA design zener current it carries 30 mA, so Rs = 6.90 / 0.030 = 230.00 ohm. The resistor dissipates 0.21 W - use at least a half-watt part for margin - and the zener dissipates 5.1 x 10 mA = 51.00 mW at the design point, well within a small diode's rating.

The 24 V example shows the same arithmetic at industrial voltages: dropping 12.00 V at 50 mA load plus 5 mA zener current needs 218.18 ohm, and the resistor now dissipates 0.66 W, so a 2 W part is the sensible choice. The 9 V to 3.3 V example needs 380.00 ohm, dissipates 0.09 W in the resistor and just 16.50 mW in the diode - a battery-friendly reference.

ExampleVin -> VzLoad + zenerRsResistor power
Logic rail12 V -> 5.1 V20 + 10 mA230.00 ohm0.21 W
Industrial rail24 V -> 12 V50 + 5 mA218.18 ohm0.66 W
Battery reference9 V -> 3.3 V10 + 5 mA380.00 ohm0.09 W

Power checks: resistor and zener dissipation

Two worst cases, not one. The resistor's worst case is maximum input voltage: its dissipation grows with the square of the drop, so a supply that can rise 10 percent pushes resistor power up by roughly a fifth. The zener's worst case is maximum input voltage combined with zero load current, when every milliamp the resistor passes must go through the diode. Size the diode for that no-load power - Vz multiplied by the full resistor current - not for the comfortable design-point figure this calculator headlines.

Then derate both parts. A resistor run at half its rating stays touchable and drifts less; a zener run at half its rated power holds its voltage better and lives longer. In the 12 V example, a 0.5 W resistor and a 0.5 W diode both loaf along at the design point, which is exactly why zener regulators, properly derated, almost never fail.

Always check the load-disconnected case: with the load removed, the zener must absorb the entire resistor current at full input voltage.

Limits: when to use a real regulator IC

A zener regulator wastes its full resistor current around the clock, regulates to a few percent at best, and cannot supply more current than you budgeted for the diode's slack. Above a few tens of milliamps, or whenever efficiency matters, a three-terminal regulator or a small buck converter wins on every axis. Where the zener still earns its place is simplicity, noise (it has no switching or feedback loop), surge tolerance and cost measured in cents.

One more limit to respect: the input must stay high enough. If Vin sags toward Vz, the resistor current collapses, the diode leaves its knee and the output follows the input down. Keep at least a couple of volts of headroom across the resistor at the lowest expected input, or the regulation you calculated will not be there when the supply dips.

Choosing the diode and living with tolerance

Zener voltage is specified at a test current, and it is neither exact nor constant. A nominal 5.1 V diode may measure anywhere across a several-percent band, its voltage creeps up slightly as it warms, and below about 5 V the zener mechanism blends into avalanche breakdown with a temperature coefficient that changes sign around that point - which is why 5.1 V parts are famously temperature-stable and why precision references are built near that value. Enter the nominal Vz in this calculator, then treat the result as the centre of a small range rather than a promise.

Dynamic resistance is the other quiet specification: the diode's voltage moves a little as its current changes, typically by tens of ohms for small parts at low currents. That resistance is what limits load regulation - a load step of 10 mA across 15 ohms of dynamic resistance moves the output by 0.15 V no matter how well you sized the series resistor. Running a higher design current lowers the dynamic resistance, which is the real reason power zeners and generous design currents regulate better.

For anything that must be accurate - an ADC reference, a meter calibration, a threshold that trips a protection circuit - use the zener for what it is good at (cheap, rugged, quiet approximate rails and clamps) and reach for a bandgap reference or a regulator IC when the volts themselves are the product.

If the input itself is uncertain - a battery that sags, a wall adapter that floats high unloaded - design at both extremes: size the resistor at the lowest input so regulation survives, then re-check resistor and diode power at the highest input with the load disconnected. The two calculations take a minute, and between them they cover every way this simple circuit can be hurt.

Keep the layout boring: short leads on the diode, the resistor where its heat cannot cook the diode beside it, and a ground return that does not share a thin trace with the load current. Zener circuits fail in the field from heat and optimism, almost never from the arithmetic.

FAQs

What resistor regulates 12 V down to 5.1 V at 20 mA?

Rs is 230.00 ohm: the resistor drops 6.90 V while carrying the 20 mA load plus a 10 mA design zener current.

How much power does the series resistor need?

It dissipates 0.21 W in the 12 V example, so pick a resistor rated comfortably above that - a 0.5 W part is the usual choice.

What resistor does a 24 V to 12 V regulator need?

At 50 mA load and 5 mA zener current, Rs is 218.18 ohm and it dissipates 0.66 W.

Why keep current flowing in the zener at full load?

Below its knee the zener voltage sags; the design current of 10 mA in the first example keeps it on the stiff part of the curve where Vz is well defined.

How hot does the zener itself get?

At the design point it dissipates Vz x Iz: 51.00 mW in the 5.1 V example and 60.00 mW in the 12 V example - but check the no-load case, which is its true worst case.

What if the load disconnects?

The full resistor current diverts into the zener, so verify its power rating against the total current through the 380.00 ohm resistor in the 3.3 V example, not just the 16.50 mW design point.

Sources

Related calculators

Voltage Divider Calculator
Output voltage of a two-resistor voltage divider, the current through it, power in each resistor, and the output impedance your load will see.
LED Resistor Calculator
The series resistor an LED needs from supply voltage, forward voltage and target current — the exact value, the nearest E12 part, real current and wattage.
Ohm's Law Calculator
Solve for voltage, current, resistance or power from any two known values — V = IR and P = VI, with all four quantities shown.