• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / SMPS and Converters / SMPS Flyback Boost Converter Calculator

DIY Circuits | Learn Basics | Arduino Coding




SMPS Flyback Boost Converter Calculator

Last Updated on September 15, 2025 by Swagatam 4 Comments

This calculator tool supports a Boost Converter Flyback setup which means now the code considers:

Corrected turns ratio and primary voltage logic since the flyback works by storing energy during "ON" time and transferring to secondary during "OFF" time.

Flyback boost topology where output voltage is higher than input.

An accurate duty cycle formula for isolated flyback (especially in DCM).

Flyback Boost Converter Calculator

Flyback Boost Converter Calculator

Results:

Duty Cycle: 0 %

Turns Ratio (Np/Ns): 0

Primary Turns: 0 turns

Secondary Turns: 0 turns

Primary Inductance: 0 µH

How to Use This Boost Flyback Calculator

So this tool is for helping us design a flyback transformer for a boost type flyback converter, that means we are converting low DC voltage to high DC voltage, like maybe 12V to 300V, or 5V to 150V, etc. Ok?

Now follow these simple steps:

Input Voltage (Vin): Here we put the voltage from our battery or DC source. Like if we are using 12V battery, then put 12.

Output Voltage (Vout): This is the voltage we want at output after boosting. Like if we want to charge 300V capacitor or power 310V load, then write 300.

Switching Frequency (kHz): This is the frequency at which your transistor is switching ON/OFF. Mostly 50 kHz to 100 kHz is OK. You can try 65 for standard.

Core Cross Section Area (mm²): You check your ferrite core datasheet or measure it manually. Like EE25 or EE35 type core may have Ae = 60mm² to 100mm².

Max Flux Density (mT): It is the max safe limit of magnetic field inside core. You can use 200 to 300 mT, or write 220 as default.

Core Path Length (mm): This is the magnetic path length of the ferrite core. Like 50 mm is typical for medium core. Check datasheet or measure.

Core Relative Permeability (μr): This is the permeability of core material. Ferrite usually has 1500 to 3000. Use 2000 as safe value.

Then just hit the "Calculate" button.

It will give you:

  • Duty Cycle in percent
  • Turns ratio (Np / Ns)
  • Primary winding turns (Np)
  • Secondary winding turns (Ns)
  • Primary Inductance in µH

Now you can wind your flyback transformer easily using those values.

Working Concept of Boost Flyback Converter

So this boost flyback converter works like this:

1. What Actually Happens:

We got a transistor (like MOSFET or BJT) and one flyback transformer. The input DC voltage is connected to primary winding. When the transistor is ON, then current flows through the primary coil and stores energy inside the core in the form of magnetic field, OK?

2. Why Flyback Is Cool:

Flyback works in a very special way. The primary and secondary never conduct together. When transistor is ON, then only primary works. When transistor turns OFF, then all that stored magnetic energy is released into the secondary and that charges the output capacitor through a diode.

3. Boosting Happens Like This:

Because we let energy build up slowly at low voltage (like 12V) in the core and dump it quickly into a high voltage winding, the output voltage becomes much higher, like 300V or more.

This boost depends on:

  • How much time we keep transistor ON (that’s called duty cycle).
  • How many turns we have on primary and secondary.
  • How good is our core material and size.

4. Turns Ratio:

This is how we control output voltage. More secondary turns = more voltage. But we must also match it with duty cycle and frequency. So we calculate proper turns to keep flux inside safe limit (Bmax).

5. Inductance:

Primary inductance decides how much energy we can store per cycle. If L is too low, then we get too much peak current and may blow transistor. If L is too high then core saturates slowly and response becomes poor.

Example:

Let us say we want to convert 12V to 300V:

  • Vin = 12
  • Vout = 300
  • freq = 65 kHz
  • Ae = 80 mm²
  • Bmax = 220 mT
  • Lcore = 50 mm
  • μr = 2000

Hit calculate.

You might get:

  • Duty = 96%
  • Turns ratio = 25
  • Np = 18 turns
  • Ns = 450 turns
  • Lp = 120 µH

Then just wind 18 turns on primary and 450 on secondary. Use fast diode on secondary (like UF4007 or FR207) and your converter is ready.

You'll also like:

  • variable switching power supply using LM317 2LM317 Variable Switch Mode Power Supply (SMPS)
  • SG3524 boost converter compressedDC to DC Converter Circuits using SG3524 [Buck, Boost Designs]
  • 5V, 12V Buck Converter Circuit SMPS 220V
  • 555 voltage doubler7 Easy Voltage Doubler Circuits Discussed

Filed Under: SMPS and Converters Tagged With: Boost, Calculator, Converter, Flyback, SMPS

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Smart Bathroom Exhaust Fan Controller Circuit with Sensors
Next Post: Smart Buck-Boost MPPT Solar Charger Circuit for 12V 24V Battery »

Reader Interactions

Comments

David says:
July 10, 2025 at 1:58 am

It’d be better if core path length and cross sectional area were computed from geometry, especially for toroids with rectangular cross sections and linear inductors (open/antenna-type and the 3 common shielded types (round-shield, 4-corner-shield and 2-corner-shield) in open-top and round-covered). Other types include I-shape, Bobbin, Drum, and shielded-toroid.

Reply
Swagatam says:
July 10, 2025 at 8:51 am

The calculator gives a good reasonable calculation for all the average users, I did not want to over complicate the calculations unnecessarily. If you are interested for extreme accuracy you can use formulas and calculate it manually.

Reply
Jozef Bubez says:
July 6, 2025 at 2:30 am

Interesting as is your program, I think in the real world, we need to take account of winding self-capacitance. Entry-level as efforts have been, the most I have got is around 100V from a 12V input. Where migh tI be going wrong? Thanks! Cheers!

Reply
Swagatam says:
July 6, 2025 at 7:48 am

Hi, Thanks for your feedback. I think the output voltage mainly depends on the turns ratio. If you do the turns ratio correctly as per the calculations, then you can achieve any desired high voltage you are looking for.
Yes self-capacitance must be considered and can be minimized by using good quality Litz type wire…

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (87)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Swagatam on BLDC Ceiling Fan Circuit for Power Saving
  • DANIYA on BLDC Ceiling Fan Circuit for Power Saving
  • Johnny on IC 723 Voltage Regulator – Working, Application Circuit
  • Swagatam on 9 Simple Solar Battery Charger Circuits

© 2026 · Swagatam Innovations