Flyback Converter Calculator

Design flyback converters by computing turns ratio, duty cycle, magnetizing inductance, peak currents, and component stress for isolated DC-DC power supplies.

Output Power
10.00 W
Load power = Vout ร— Iout
Input Power
11.76 W
Pin = Pout / efficiency
Turns Ratio (N)
2.105
Primary-to-secondary turns ratio Np/Ns
Duty Cycle
18.41%
Fraction of switching period the primary is on
Magnetizing Inductance
2.07 ยตH
Minimum primary inductance for chosen mode
Peak Primary Current
10.65 A
Peak current through the primary winding
Peak Secondary Current
22.42 A
Peak current through the secondary winding
MOSFET Voltage Stress
24.0 V
Maximum drain-source voltage on the switch
Output Diode Stress
10.7 V
Maximum reverse voltage across the output diode
Power Loss
1.76 W
Total converter loss = Pin โˆ’ Pout
Min Output Capacitor
80.0 ยตF
Capacitance for < 5% output ripple
Efficiency Breakdown
85.0% useful
ParameterPrimarySecondary
Peak Current10.65 A22.42 A
RMS Current (est.)2.64 A11.69 A
Voltage Stress24.0 V10.7 V
Avg Current0.980 A2.000 A
Planning notes, formulas, and examples

About the Flyback Converter Calculator

The flyback converter is one of the most widely used isolated switch-mode power supply topologies, found in phone chargers, LED drivers, telecom power modules, and countless other applications below about 150 W. It stores energy in a coupled inductor (often called a flyback transformer) during the on-time and releases it to the secondary during the off-time.

Designing a flyback converter requires balancing many interdependent parameters: turns ratio, duty cycle, magnetizing inductance, peak currents, and voltage stresses on the MOSFET and output diode. Getting any of these wrong can lead to excessive losses, component failure, or audible noise from the transformer.

This Flyback Converter Calculator automates the core design equations. Enter your input voltage, desired output, load current, switching frequency, and efficiency target, and the tool computes the minimum inductance, ideal turns ratio, peak currents on both windings, voltage stresses, and a recommended output capacitor value. Use the operating mode selector to switch between continuous (CCM) and discontinuous (DCM) designs. Preset buttons provide common application profiles so you can explore trade-offs quickly.

When This Page Helps

Flyback converters are deceptively simple on paper but tricky to optimize. This calculator shortens the first-pass design work by solving the key equations together and highlighting potential stress issues before you order components.

How to Use the Inputs

  1. Enter the DC input voltage (e.g., 12 V from a battery or 48 V from a bus).
  2. Enter the desired regulated output voltage.
  3. Enter the maximum output current your load requires.
  4. Set the switching frequency โ€” typically 100โ€“300 kHz for flyback designs.
  5. Adjust the expected efficiency (85% is a good starting point for most designs).
  6. Set the diode forward voltage (0.3โ€“0.7 V depending on Schottky or Si diode).
  7. Review outputs: turns ratio, inductance, peak currents, and voltage stresses.
  8. Use the table to compare primary vs secondary winding parameters.
Formula used
Turns Ratio: N = (Vin ร— Dmax) / ((Vout + Vf) ร— (1 โˆ’ Dmax)) Duty Cycle: D = (Vout + Vf) / (Vin ร— N + Vout + Vf) Magnetizing Inductance: Lm = (Vin ร— D)ยฒ / (2 ร— Pin ร— fsw) Peak Primary Current: Ipk = 2 ร— Pin / (Vin ร— D) MOSFET Stress: Vds = Vin + (Vout + Vf) ร— N

Example Calculation

Result: N = 1.412, Lm = 30.6 ยตH, Ipk = 1.96 A, Vds = 20.1 V

A 12 V to 5 V / 2 A flyback at 100 kHz needs a turns ratio of ~1.4, about 31 ยตH magnetizing inductance, and has a manageable 20 V MOSFET stress.

Tips & Best Practices

  • Keep the duty cycle below 50% to simplify the RCD clamp design.
  • Choose a Schottky diode for the output when Vout < 40 V for lower losses.
  • Always derate components โ€” choose a MOSFET rated at least 1.5ร— the calculated Vds.
  • Use the magnetizing inductance as a minimum; going higher reduces peak current but may require a larger core.
  • Check that your chosen switching frequency is above the audible range (> 20 kHz) to avoid transformer noise.

Flyback Topology Overview

A flyback converter uses a coupled inductor to store energy when the primary switch is on and deliver it to the output when the switch turns off. Unlike a forward converter, the flyback does not need a separate output inductor, which keeps the circuit compact for low- to mid-power supplies.

Selecting the Transformer Core

The core must handle the peak flux density without saturating. Ferrite cores are common because they perform well at switching frequencies in the hundreds of kilohertz. Use the magnetizing inductance and peak current from this calculator to choose a core and gap that can tolerate the intended load.

Snubber and Clamp Design

Leakage inductance creates a voltage spike when the switch turns off, so a clamp network is still required in most real designs. The MOSFET stress shown here is a design estimate, not a complete worst-case value, so leave margin for spikes and component tolerances.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • In CCM the magnetizing current never reaches zero, giving lower peak currents. In DCM it drops to zero each cycle, simplifying control but increasing peak stresses.