DevToolsHub Free ¡ Fast ¡ 100% in your browser

Zener Diode & Voltage Regulator Calculator

Calculate the series resistor and power ratings for a Zener diode shunt regulator, and the resistors for an LM317 adjustable voltage regulator with its power dissipation.

Zener shunt regulator

Input voltage min / max (V) /
Zener voltage Vz (V)
Load current min / max (mA) /
Minimum Zener current Iz(min) (mA)
Maximum series resistor236 Ω
Chosen resistor (E24, rounded down)220 Ω
Resistor power (worst case)360 mW → use ≥ 1 W
Maximum Zener current40.5 mA
Zener power (worst case)206.3 mW → use ≥ 500 mW Zener

Rs = (Vin(min) − Vz) / (IL(max) + Iz(min)). Worst-case Zener current occurs at Vin(max) with the minimum load. Power ratings include a 2× margin.

LM317 adjustable regulator

Target output voltage (V)
R1 (Ί, between OUT and ADJ)
Input voltage (V)
Load current (A)
R2 (exact)713.2 Ω
R2 (nearest E24)680 Ω â†’ Vout = 4.826 V
Regulator dissipation3.587 W – heatsink required
Headroom7.17 V ✓

Vout = 1.25 V × (1 + R2 / R1) + IADJ × R2 (IADJ ≈ 50 µA). Dissipation = (Vin − Vout) × I.

About this Zener diode calculator

Design a Zener diode shunt regulator: calculate the series resistor for your input voltage range and load current, and the worst-case power in the resistor and the Zener. Also calculate R2 for an LM317 adjustable regulator and its power dissipation.

How to use the Zener Diode & Voltage Regulator Calculator

  1. Enter the input voltage range, Zener voltage and load currents.
  2. Read the series resistor and power ratings.
  3. For an LM317, enter Vout and R1 to get R2.

Example

11–14 V in, 5.1 V Zener, 20 mA load  →  Rs ≈ 220 Ω

Frequently asked questions

Why does the Zener need a minimum current?

Below a few milliamps the Zener leaves its breakdown region and the voltage is no longer regulated.

What is the LM317 output formula?

Vout = 1.25 V × (1 + R2 / R1) + Iadj × R2.

Is my data safe?

Yes. The tool runs entirely in your browser using WebAssembly. Nothing you type or upload is sent to a server, logged or stored.

Is it free?

Yes, completely free with no sign-up, no limits and no watermarks. It also works offline once the page has loaded.

An unhandled error has occurred. Reload ✕