Flyback Converter Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the input voltage, the duty cycle and the transformer turns ratio (secondary ÷ primary).
Result
Output voltageV
Duty cycle for the target output (%)
- Switch voltage when off, without spikes (V)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Input voltage, in V: enter 0 or more.
- Duty cycle, in percent: enter a number from 0 to 99.
- Turns ratio Ns ÷ Np: enter 0 or more.
- Target output voltage, in V: enter 0 or more.
- Read the result: Output voltage; the panel also shows Duty cycle for the target output (%) and Switch voltage when off, without spikes (V).
How this calculator works
Ideal flyback in continuous conduction: V_out = V_in × (Ns ÷ Np) × D ÷ (1 − D), so D = V_out ÷ (V_out + V_in × Ns/Np). While the switch is off it sees V_in plus the reflected output V_out × Np/Ns.
The formulas ignore diode and switch drops, winding resistance and leakage-inductance spikes, which add to the real switch voltage; discontinuous mode follows a different relation.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Input voltage | V | |
| Duty cycle | % | |
| Turns ratio Ns ÷ Np | ||
| Output voltage | V |
Worked example
| Input voltage | 48 V |
|---|---|
| Duty cycle | 40% |
| Turns ratio Ns ÷ Np | 0.25 |
| Target output voltage | 12 V |
| Duty cycle for the target output (%) | 50% |
|---|---|
| Switch voltage when off, without spikes (V) | 80.00 |
Output voltage 8.00 V
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What does a 48 V flyback with D = 40% and Ns/Np = 0.25 give?
About 8.00 V; for 12 V the duty cycle must be 50%.
Why can the duty cycle not reach 100%?
The transformer stores energy while the switch is on and delivers it while it is off; with no off-time no energy reaches the output.