Advanced

Flyback Converter Calculator — Duty Cycle & Inductance

Compute the ideal duty cycle, peak currents, critical primary inductance, and switch voltage stress for a flyback DC-DC converter from Vin, Vout, turns ratio, switching frequency, and efficiency.

V

V

A

Secondary-to-primary turns ratio of the transformer

kHz

%

Typical flyback: 80–90 %
CCM duty cycle
50%

Ideal on-time fraction: D = Vout / (n·Vin + Vout)

Output power
12 W
Input power
14.12 W
Mean input current
0.588 A
Peak primary current
2.353 A
Peak secondary current
4.706 A
Critical primary inductance (Lp)
51 µH
Reflected output voltage
24 V
MOSFET voltage stress (ideal, no spike)
48 V
24V40.8ΩI = 0.59APrimary side: Vin drives mean input current through transformer primary
Step by step
  1. 1

    Reflected primary voltage (n × Vin)

    0.5 × 24 V = 12
  2. 2

    Denominator (n·Vin + Vout)

    12 + 12 = 24
  3. 3

    CCM duty cycle

    12 ÷ 24 × 100 = 50
    D = Vout / (n·Vin + Vout), on-time fraction as a percentage.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Ideal CCM duty cycle D = Vout / (n·Vin + Vout). Critical primary inductance Lp_crit = Vin²·D² / (2·Pin·fs). Peak primary current ≈ 2·Pin/(Vin·D). MOSFET stress = Vin + Vout/n (add 20–50 % for leakage spike). Enter Vin, Vout, Iout, turns ratio, frequency, and efficiency to get all key first-pass design parameters.

Formula
D = Vout / (n·Vin + Vout) • Lp_crit = Vin²·D² / (2·Pin·fs) • Vds = Vin + Vout/n
How this is calculated

A flyback converter is an isolated buck-boost topology built around a coupled inductor (the flyback transformer). The primary switch stores energy in the core during the on-time; during the off-time that energy transfers to the secondary and the load. The turns ratio n = Ns/Np sets the voltage transformation together with the duty cycle D.

In continuous conduction mode (CCM) the steady-state voltage ratio is Vout = n × Vin × D / (1 − D). Rearranged, the ideal CCM duty cycle is D = Vout / (n × Vin + Vout). From pin = Pout / η and Iin = Pin / Vin the calculator derives average input current. Peak primary current is estimated at the DCM/CCM boundary as 2 × Pin / (Vin × D) — a triangular waveform assumption. Critical primary inductance Lp_crit = Vin² × D² / (2 × Pin × fs) is the minimum value that keeps the converter in CCM at this operating point; choosing L < Lp_crit forces DCM operation.

The MOSFET voltage stress at turn-off equals Vin plus the reflected voltage Vout/n in an ideal, leakage-free transformer. In real designs, leakage inductance causes an additional spike of 20–50 % or more above this value — a snubber circuit or active clamp is essential. Efficiency is an editable estimate (typically 80–90 % for well-designed flybacks at medium power); always verify all results with SPICE simulation and bench measurement before committing to a design.

Frequently asked questions

Flyback converters provide galvanic isolation while stepping voltage up or down. They are common in consumer chargers, offline SMPS (television, computer PSUs), and industrial isolated supplies in the 1–150 W range — where a single-switch isolated topology is simpler and cheaper than a full-bridge or two-switch forward converter.

In continuous conduction mode (CCM) the magnetising current never falls to zero between cycles; in discontinuous mode (DCM) it resets to zero every cycle. DCM eliminates the right-half-plane zero in the control loop and is often easier to stabilise, at the cost of higher peak currents. Many small-power flybacks intentionally operate in DCM.

During the off-state the MOSFET must block Vin plus the reflected output voltage Vout/n, plus the leakage-inductance spike. Even a 24 V→5 V flyback with n = 0.3 sees an ideal stress of 24 + 16.7 = 40.7 V before the spike. A derating factor of at least 80 % is standard; so a 60 V or 80 V MOSFET would typically be chosen.

Also known as

flyback converter calculator
flyback duty cycle calculator
flyback transformer design tool
SMPS flyback converter calculator
flyback inductance calculator
isolated dc dc converter design
flyback power supply calculator
flyback converter mosfet stress

APA

TG we-Calculate Editorial Team. (2026). Flyback Converter Calculator — Duty Cycle & Inductance [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/flyback-converter

Chicago

TG we-Calculate Editorial Team. "Flyback Converter Calculator — Duty Cycle & Inductance." TG we-Calculate. 2026. https://we-calculate.com/calculator/flyback-converter.

IEEE

TG we-Calculate Editorial Team, "Flyback Converter Calculator — Duty Cycle & Inductance," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/flyback-converter

BibTeX

@misc{wecalculate_flyback_converter, title = {Flyback Converter Calculator — Duty Cycle & Inductance}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/flyback-converter}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?