This calculator will help you to design a basic SMPS circuit by calculating the primary turns, secondary turns, and core selection based on the input voltage, the output voltage, the switching frequency and the power requirements.
Which Core Type Must be Used
We must always use ferrite core for this calculator. Prefer EE, ETD, or RM shapes. Use ferrite material like N87, 3C90, PC40 depending on your frequency. Then take Ae, Bmax, Lcore, Mur values from the core datasheet and put in the calculator.
If we use powdered iron cores or silicon steel cores here then calculation will go wrong because they are not suitable for high frequency flyback circuits.
You can use this calculator confidently only when we use correct high frequency ferrite core as per standard SMPS design practice.

Flyback Transformer 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 the Calculator
Alright, here we are learning how to use this tool for designing an SMPS transformer.
This tool helps us calculate how many turns to wind on the transformer and other important things.
But we need to put the correct values inside it first.
Now let us see what each thing means and why we put specific values like 30 mm, 2000, 200 mT, and 100 mm².
Enter the Input Voltage (Example: 100V for AC mains rectified DC)
This is the DC voltage that goes into the transformer primary winding.
If we are using 100V AC mains then after rectifying, the DC voltage will be around 140V DC (because AC voltage after rectifying becomes AC × 1.414 minus diode losses).
This voltage is very important because it tells us how many turns we need on the primary winding of the transformer.
Enter the Output Voltage (Example 12V for low-voltage SMPS)
This is the voltage we want to get from the SMPS transformer after rectification.
If we are making a 12V SMPS then we put 12V here.
This number helps the calculator find out how many turns we need on the secondary winding.
Enter Switching Frequency (Example: 50 kHz for common flybacks)
This is how fast the SMPS is switching on and off in one second.
Example 50 kHz means it switches 50000 times per second.
Higher frequency (above 100 kHz) makes the transformer smaller but also creates more switching losses (more heat in MOSFET).
Lower frequency (below 20 kHz) means we need a bigger transformer which is also not good.
So 50 kHz is a good middle choice—not too big, not too much heating.
Enter Core Area (Example: 100 mm² for small ferrite cores)
This is the cross-sectional area of the core (the flat part inside the transformer where the magnetic field forms).
Measured in square millimeters (mm²).
Why 100 mm²?
Because it is a good size for small power supplies like 50W - 100W SMPS.
The core area decides how many turns we need for a given voltage.
V per turn = 4.
44 × f × Bmax × Acore
If we increase core area then we need fewer turns.
If we reduce core area then we need more turns which increases wire losses.
Common sizes:
50 mm² → Tiny transformers (small LED drivers).
100 mm² → Good for medium power SMPS (like battery chargers, adapters).
200+ mm² → Big transformers for high power (like 500W SMPS).
If the core area is too small then transformer will overheat and may not work well.
Enter Maximum Flux Density (Example: 200 mT for ferrite materials)
Flux density (Bmax) means how much magnetism the core can handle before it gets full (saturates).
Measured in milliteslas (mT).
Why 200 mT?
Ferrite cores used in SMPS can work well between 150 - 300 mT.
So, 200 mT is safe because:
It avoids saturation (which makes the transformer useless and causes high current draw).
It still allows good energy transfer.
If Bmax is too high like 400 mT then core saturates → Transformer stops working properly.
If Bmax is too low like 100 mT then we need more turns which means more wire resistance and losses.
Common Bmax values for different cores:
Ferrite cores (used in SMPS) → 150 - 300 mT.
Iron powder cores → 700 - 1000 mT (not used in high-frequency SMPS).
Silicon steel cores → 1000 - 1600 mT (used in normal 50Hz transformers).
So 200 mT is a good and safe choice for SMPS ferrite cores.
Enter Core Path Length (Example 30 mm for common cores)
This is the length of the magnetic path inside the core measured in millimeters (mm).
It is the total distance that the magnetism must travel inside the core.
Why 30 mm?
A common size for small and medium transformers.
If the path length is too long then magnetism gets weak and we need more turns which is bad.
If the path length is too short then flux gets too concentrated, causing saturation.
Typical values:
Small cores → 20 - 30 mm.
Larger cores → 40 - 60 mm.
So 30 mm is a balanced choice—not too big, not too small.
Core Permeability (default 2000 for ferrite cores)
Permeability (µ) tells how easily a material allows magnetism to pass through it.
Ferrite cores have permeability between 1000 and 5000.
Why 2000?
2000 is a good middle value—not too high, not too low.
If permeability is too high (5000 or more) then core stores less energy which is not good for SMPS transformers.
If permeability is too low (below 1000) then we need more turns which increases wire resistance and losses.
So 2000 is chosen because it gives good performance for SMPS transformers.
Conclusion:
So now you see, we put these values carefully.
If we choose the wrong values then transformer can overheat, stop working, or become inefficient.
By using the right values we get an efficient, compact and reliable SMPS transformer.
Comments
we need to build smps with 220vac and output 220 Dc wattage 2000
please suggest core size and transformer winding ratios and wire guage and turns ratio
Can you please use the following calculator to get the results, if you have problems please let me know:
https://www.homemade-circuits.com/advanced-smps-flyback-transformer-calculator-for-high-power-converters/
Why do you say that a more permeable core stores less energy? That is backward: a more permeable core accepts more energy.
The answer is that 2000 is not very high and not very low, so it is like one balanced middle value. If we choose very high permeability like 5000 or more, then the core becomes very sensitive and saturates early. That means it will not be able to store much energy before reaching bmax level, so that is not good for smps which need energy storage like flyback or boost converter. And if we choose very low permeability like 800 or 600 then inductance becomes too low, so we have to use more turns to reach proper value and that will increase wire length, copper loss and winding size. So we select 2000 because it gives us decent energy handling, not too early saturation, and not too many turns also. And for high energy smps applications we always put one air gap in the core, so that total effective permeability becomes lower, and more energy can be stored in the magnetic field of the gap.
Are there new transistors and/or drivers that lower switching losses even at the high frequencies that allow small numbers of turns to convert high power efficiently?
We have many real part numbers for gan and sic transistors that we can test in smps circuit. If we want high speed and low loss then gan fet like lmg3410 or epc2034 are best. For higher voltage and robust smps we can use sic mosfet like c3m0065100k or sct3060. We must use proper gate driver like ucc27611 or lmg1205 to switch them correctly. These parts can help us make very efficient and compact converters with less turns and high switching speed. So now we can test them in lab and compare with old silicon mosfets.
When will you have results for a good gan choice? Are they rated for more than 24V? When can you draw a circuit and/or update your calculators?
I will update the circuit diagram soon…