Transformer Design Calculator

Size mains and ferrite bridge transformers with turns per volt, peak flux, window fill, copper and core losses, and temperature rise. Includes traceable loss models and winding checks.

#area-product #excitation-current #ferrite #iGSE #mains #Steinmetz #thermal-design #transformer

This transformer design calculator sizes a two-winding transformer and checks how a proposed winding uses its core and window. It is intended for engineers selecting an initial core, students learning magnetic design, and makers comparing practical winding choices. It supports sinusoidal mains excitation at 50 or 60 Hz and balanced bipolar bridge excitation for ferrite SMPS transformers.

Start with the operating point: output power, primary voltage, secondary voltage and frequency. Mains voltages are RMS values and the load is assumed to have unity power factor. In bridge mode, enter the voltage actually applied across the primary during an active pulse. A full bridge normally applies the bus voltage; a half bridge applies approximately half the bus voltage. The frequency is that of a complete positive-and-negative cycle. The active fraction includes both polarities.

Enter the effective core area, effective volume, winding window and mean turn length from your core and bobbin information. The magnetic area must already include any lamination stacking allowance. For an E core, use the window occupied by one side of each turn rather than adding both windows. Choose a peak flux ceiling, current density and allowed bare-copper fill appropriate to the material, insulation and cooling.

Automatic sizing rounds primary turns upward to respect the selected flux ceiling. Secondary turns include the voltage allowance and are also rounded upward. In bridge mode the operating active fraction is reduced after rounding. You can instead enter an existing primary turn count. Check the resulting peak flux and estimated loaded voltage before accepting the winding.

The conductor results give bare copper areas, strand counts and diameters. Automatic diameters are calculated minima with an area allowance, not stocked wire gauges. For ferrite designs, the automatic strand count limits diameter to the fundamental skin depth. Select a real wire or litz construction, then enter its strand diameter and parallel count to check current density and window use again. The assumed AC resistance factor still needs engineering justification.

Enter the measured or conservatively estimated no-load primary RMS current, including core-loss and magnetizing current. The tool adds it conservatively to the load component when sizing primary copper and estimating losses. It rejects current estimates that cannot supply the predicted core loss or rated output plus losses.

The loss calculation combines a local material fit with copper resistance and a thermal resistance supplied by you. This ferrite transformer calculator applies iGSE to a balanced waveform with no minor loops. The charts show the flux cycle and losses as load changes with the selected winding held fixed.

These results support sizing and comparison. They do not establish insulation compliance, leakage inductance, the excitation-current waveform, inrush, EMI or converter stability. Flyback and single-ended forward transformers need different treatment. Capacitor-input rectifiers also need their actual winding RMS currents. Confirm losses and hot-spot temperature on a prototype. Mains wiring and installation belong to a qualified person, using the applicable rules and the standard in force.

How it is calculated

The electromagnetic sizing equations are derived here from Faraday's law and a bare-copper window budget. The textbook framework is McLyman, Transformer and Inductor Design Handbook, 4th edition (2011), particularly the chapters on window utilization, transformer trade-offs, efficiency and power-transformer design. No proprietary tables or empirical sizing constants are copied.

For a sinusoid, Vp,rms=2πfNpAeBpkV_{p,\mathrm{rms}}=\sqrt{2}\pi f N_p A_e B_{pk}. For balanced bridge pulses, ΔB=Vpq/(2fNpAe)\Delta B=V_p q/(2fN_pA_e) and Bpk=ΔB/2B_{pk}=\Delta B/2. Here qq includes both active pulses. The primary is sized at the maximum allowed active fraction; secondary turns are rounded up, then operating duty is set to qop=hVsNp/(VpNs)q_{op}=hV_sN_p/(V_pN_s). This preserves the chosen no-load voltage allowance hh.

At unity power factor Io=Po/VsI_o=P_o/V_s. Bridge load-component currents are Is=IoqopI_s=I_o\sqrt{q_{op}} and Ip,L=IsNs/NpI_{p,L}=I_sN_s/N_p, assuming secondary rectifier freewheeling during zero-voltage intervals. Mains uses q=1q=1. Enter the measured or conservatively estimated open-secondary primary RMS current I0I_0, including core-loss and magnetizing current, at the operating voltage, frequency and duty. The RMS triangle inequality gives the conservative sizing bound Ip,size=Ip,L+I0I_{p,size}=I_{p,L}+I_0. This bound sizes the primary conductor and its Joule loss without assuming a phase relationship or sinusoidal excitation current.

Neglecting excitation, rounding, voltage allowance and losses, the two winding copper areas give

AeAw≥2PokwfBlimJkuq,A_e A_w\ge\frac{2P_o}{k_w f B_{lim}J k_u\sqrt{q}},

where kw=2πk_w=\sqrt2\pi for sine and 4/q4/q for the bridge. The actual fill is (NpAcu,p+NsAcu,s)/Aw(N_pA_{cu,p}+N_sA_{cu,s})/A_w, so it includes the selected wire and integer turns.

The preset sine-loss laws use pv=pv0(f/f0)α(Bpk/B0)βp_v=p_{v0}(f/f_0)^\alpha(B_{pk}/B_0)^\beta. Steel uses SIJ Acroni SIWATT M400-50A, 1/1-2023-EN (attached s6): typical mass-loss points on p.1 and density on p.2; its frequency exponent 1.5 is an assumption. N87 uses a local fit to the first three loss points on attached TDK datasheet s4, p.2, at 100 °C. Its fourth point is outside this fit.

For bridge excitation, Venkatachalam et al. (2002), equations 9, 10 and 15, give the no-minor-loop iGSE. Analytic integration for this waveform multiplies sine loss by Ktriqop1−αK_{tri}q_{op}^{1-\alpha}, with Ktri=22α/[(2π)α−1Cα]K_{tri}=2^{2\alpha}/[(2\pi)^{\alpha-1}C_\alpha] and Cα=2π Γ((α+1)/2)/Γ((α+2)/2)C_\alpha=2\sqrt\pi\,\Gamma((\alpha+1)/2)/\Gamma((\alpha+2)/2). Peak and peak-to-peak flux are reported separately.

Copper uses the IACS resistivity 1/581/58 ohm·mm²/m and resistance coefficient 0.00393/K at 20 °C (NBS Circular 31, 4th edition). Multiply DC resistance by the entered AC/DC factor. With fixed core loss and one hot-spot temperature, the thermal equation is solved algebraically:

ΔT=Rθ[Pcore+Pcu,20(1+αcu(Ta−T20))]1−RθPcu,20αcu.\Delta T=\frac{R_\theta[P_{core}+P_{cu,20}(1+\alpha_{cu}(T_a-T_{20}))]}{1-R_\theta P_{cu,20}\alpha_{cu}}.

Nonpositive feedback denominator is rejected. With Ip,sizeI_{p,size}, the conservative winding-drop estimate is ΔV=q(IsRs,hot+nIp,sizeRp,hot)\Delta V=\sqrt q(I_sR_{s,hot}+nI_{p,size}R_{p,hot}), where n=Ns/Npn=N_s/N_p. Primary drop is also flagged when it exceeds 10% of the primary RMS voltage, because flux sizing neglects that drop. Efficiency is a nominal-power loss-budget estimate using conservative winding loss.

Two necessary energy checks reject an inconsistent excitation estimate: VpqI0≥PcoreV_p\sqrt q I_0\ge P_{core} and VpqIp,size≥Po+PlossV_p\sqrt q I_{p,size}\ge P_o+P_{loss}. These are apparent-power lower bounds, not a prediction of no-load power factor. Low-power properties include the 1 W case.

Assumptions

  • Two windings, uniform effective flux, no DC bias and balanced volt-seconds. The steel geometry defaults are a custom sizing example, not a named core.
  • Mains load current is sinusoidal and in phase with voltage. The ideal load component is reported separately. Primary conductor and loss calculations add the entered no-load RMS current as a conservative bound; they do not predict its waveform or power factor. Inrush remains excluded.
  • Bridge mode supports balanced full or half bridges using the actual winding pulse voltage, a bridge secondary rectifier, and continuous output-inductor current. Each winding carries no load current during freewheel intervals. Phase-shift bridges with circulating current require different RMS-current estimates.
  • Automatic wire sizing is continuous, not an AWG selection. Bare strand diameters exclude enamel; a fill allowance reserves the remaining window. Equal-length strands share current equally. Parallel strands only act as litz when suitably transposed.
  • The skin-depth sizing rule, 10% copper-area allowance, current densities, flux ceilings, AC resistance factors and thermal resistances are design choices. AC factors are not derived by a Dowell or field model.
  • Core loss is held at its calibration temperature. Ferrite N87 data refer to 100 °C; this is flagged when the predicted hot spot differs substantially. The steel datasheet does not specify a loss-test temperature.
  • Both windings use one mean turn length and one estimated temperature. Thermal resistance is an input, not a guaranteed property of the example geometry.
  • No-load RMS defaults of 0.05 A for mains and 0.10 A for the bridge are illustrative design assumptions, not core predictions. Replace them with measured or conservatively estimated values at the operating excitation; an estimate below the core-loss energy minimum is rejected.
  • The fixed-winding load sweep changes the load component only; excitation current and its winding loss remain at zero output. Automatic conductor sizing is not repeated along that chart.

Where it applies

Use this as a transparent sizing and winding check, followed by prototype measurements. The mains range is 45–65 Hz; the steel flux fit is most useful around 0.8–1.5 T. The local N87 fit is intended for 25–300 kHz and approximately 0.05–0.2 T; errors can be appreciable away from its calibration points. Custom Steinmetz data must cover the actual frequency, flux and temperature. A local power-law fit is not a material guarantee.

iGSE here covers only the stated balanced major-loop waveform. It omits minor loops, DC bias, flux walking, relaxation loss and temperature dependence. Do not apply this mode to flyback, forward, push-pull centre-tapped or resonant waveforms without deriving their winding currents and volt-seconds separately.

Window fill does not verify creepage, clearance, winding layout, dielectric strength or insulation class. The copper model is limited to 200 °C; a much lower practical limit usually applies. A positive thermal-feedback denominator alone does not establish an acceptable temperature. AC resistance, thermal resistance and core loss need confirmation for the construction and cooling arrangement.

Loaded voltage uses a conservative resistance-only drop. Magnetizing and core-loss currents are represented by the entered no-load RMS bound, not by an equivalent-circuit solution. Leakage reactance, semiconductor drops, control dynamics, fringing and manufacturing tolerances are excluded. Calculate worst-case voltage and frequency corners separately. A chosen flux ceiling is an engineering limit, not an automatic saturation prediction. Mains wiring and installation must be carried out by a qualified person; check against the applicable standard in force.

References

  • Colonel Wm. T. McLyman, Transformer and Inductor Design Handbook, 4th ed., CRC Press, 2011, ISBN 9781439836873. Textbook area-product and winding-design framework. https://www.routledge.com/Transformer-and-Inductor-Design-Handbook-Fourth-Edition/McLyman/p/book/9781315217666
  • K. Venkatachalam, C. R. Sullivan, T. Abdallah and H. Tacca, Accurate prediction of ferrite core loss with nonsinusoidal waveforms using only Steinmetz parameters, IEEE COMPEL, 2002, pp.36–41. DOI: 10.1109/CIPE.2002.1196712. https://doi.org/10.1109/CIPE.2002.1196712
  • TDK, SIFERRIT N87 material datasheet, June 2025, p.2: sine loss calibration at 100 °C. https://www.tdk-electronics.tdk.com/download/540216/d6940b239127a8bab71b22168746021b/pdf-n87.pdf
  • SIJ Acroni, SIWATT M400-50A technical datasheet, 1/1-2023-EN, pp.1–2: typical steel loss and density; attached s6. https://cms.sij.si/storage/342/SIWATT-M400-50A.pdf
  • National Bureau of Standards, Circular 31, Copper Wire Tables, 4th ed., 1956: standard annealed copper and temperature coefficient. https://nvlpubs.nist.gov/nistpubs/Legacy/circ/nbscircular31e4.pdf
  • Hewlett-Packard, HP-65 EE1 program 19A, Transformer Design, example 2; cites Reference Data for Radio Engineers, 5th ed., ch.12. https://archived.hpcalc.org/greendyk/hp65-cards/EE119A-help.htm
  • Urone and Hinrichs, College Physics, 2nd ed., OpenStax, 2022, §23.7, example 23.6: independent ideal turns and current example. https://openstax.org/books/college-physics-2e/pages/23-7-transformers
  • Texas Instruments/Unitrode, Magnetics Design Seminar, Section 4: Power Transformer Design, SLUP126: thermal-resistance interpretation and design limitations. https://www.ti.com/lit/ml/slup126/slup126.pdf

Inputs

InputSymbolUnitDefault
ExcitationexciteMains · sinusoidal AC
Rated output power
Unity power factor for mains; DC output power for the full bridge. Pulsed capacitor-input rectifiers need a separate RMS-current calculation.
P_outW100
Primary voltage · RMSV_mV230
Bridge winding pulse voltage
Voltage actually applied to the primary during each active pulse: +V, 0, −V, 0.
V_fV325
Secondary target · RMSVs_mV24
Rectified output target · DC
Full-wave bridge rectifier and continuous output-inductor current; diode losses excluded.
Vs_fV24
Mains frequencyf_mHz50
Complete bipolar cycle frequency
One cycle contains a positive and a negative pulse. Do not enter the doubled rectifier ripple frequency.
f_fHz100000
Maximum total active fraction
Sizing limit for the sum of both active pulses. Each polarity lasts q/(2f). Operating duty is reduced after integer secondary-turn selection to meet the voltage allowance.
q_on0.8
Secondary voltage allowance
Multiplier applied before rounding secondary turns. Start at 1.05; adjust after checking the estimated loaded voltage.
headroom1.05
Primary turnsturn_modeSize turns from the flux target
Existing primary turnsNp_set200
Effective magnetic area
Net effective core area after stacking factor, not the gross lamination area.
Ae_mmm^21200
Winding window area
Area of one winding window occupied by one side of every turn. Do not add both windows of an E core. Include bobbin and insulation in the fill allowance.
Aw_mmm^21000
Effective magnetic volume
Manufacturer effective volume; the sample dimensions describe a custom core, not a catalogue part.
Ve_mcm^3180
Mean length per turn
Average including winding build. Use a conservative mean for both windings.
MLT_mmm140
Design peak flux limit
Allow for worst-case input voltage, frequency, temperature and manufacturing tolerances.
B_mT1.2
Copper current densityJ_mA/mm^22.5
Hot-spot to ambient thermal resistance
Engineering estimate, not derived from core size. Replace using measured or manufacturer thermal data.
Rt_mK/W4
Effective magnetic area
Net effective core area after stacking factor, not the gross lamination area.
Ae_fmm^2125
Winding window area
Area of one winding window occupied by one side of every turn. Do not add both windows of an E core. Include bobbin and insulation in the fill allowance.
Aw_fmm^2120
Effective magnetic volume
Manufacturer effective volume; the sample dimensions describe a custom core, not a catalogue part.
Ve_fcm^39
Mean length per turn
Average including winding build. Use a conservative mean for both windings.
MLT_fmm60
Design peak flux limit
Allow for worst-case input voltage, frequency, temperature and manufacturing tolerances.
B_fT0.15
Copper current densityJ_fA/mm^24
Hot-spot to ambient thermal resistance
Engineering estimate, not derived from core size. Replace using measured or manufacturer thermal data.
Rt_fK/W15
Allowed bare-copper window fill
Bare copper / stated window area. This allowance must reserve bobbin, enamel, margins, interlayer tape and safety insulation.
k_u0.35
Conductor selectionwire_modeCalculate minimum copper areas
Automatic copper-area multiplier
Computed copper area = RMS current / design current density × this allowance. Select a stocked wire size and use entered conductors to verify it.
wire_allow1.1
Primary bare strand diameter
Bare copper diameter, excluding enamel.
d_p_setmm0.5
Parallel primary strands
All strands have equal length and share current equally. Bundling plain strands is not automatically litz wire.
n_p_set1
Secondary bare strand diameter
Bare copper diameter, excluding enamel.
d_s_setmm1.8
Parallel secondary strands
All strands have equal length and share current equally. Bundling plain strands is not automatically litz wire.
n_s_set1
Mains winding AC/DC resistance ratioF_ac_m1
Ferrite winding AC/DC resistance ratio
Assumed factor covering skin, proximity and waveform effects. It is not predicted from strand diameter; verify the winding construction.
F_ac_f1.5
Ambient temperature
Absolute temperature: 298.15 K = 25 °C; 313.15 K = 40 °C.
T_ambK298.15
Allowed hot-spot temperature
378.15 K = 105 °C. Select a limit justified by the complete insulation system.
T_maxK378.15
Use custom Steinmetz loss data
Otherwise use the documented SIWATT steel or N87 ferrite fit. These are local loss estimates, not universal material curves.
custom_lossfalse
Reference sine frequencyf_ref_inHz100000
Steel loss referencesteel_dataSIWATT M400-50A
Ferrite loss referenceferrite_dataN87
Reference sine peak fluxB_ref_inT0.2
Reference sine loss per volumepv_ref_inkW/m^3375
Steinmetz frequency exponenta_in1.36
Steinmetz flux exponentb_in2.1
No-load primary current · RMS
Measured or conservatively estimated RMS current with the secondary open, at this voltage, frequency and operating duty. Includes core-loss and magnetizing current. The default is an assumption, not a prediction from the core geometry.
I0_mA0.05
No-load primary current · RMS
Measured or conservatively estimated RMS current with the secondary open, at this voltage, frequency and operating duty. Includes core-loss and magnetizing current. The default is an assumption, not a prediction from the core geometry.
I0_fA0.1

Results

With the default inputs above, the calc gives:

ResultValue
Primary turns720
Secondary turns79
Unrounded turns per primary volt3.1261 1/V
Actual peak flux1.198 T
Peak-to-peak flux swing2.397 T
Allowed window used87.3 %
Estimated loaded voltage24.25 V
Operating active fraction1
Core loss estimate2.961 W
Copper loss estimate4.32 W
Nominal efficiency estimate93.21 %
Hot-spot rise estimate29.1 K
Hot-spot temperature estimate54.1 °C
Ideal minimum area product85.744 cm⁴
Available area product120 cm⁴

Checked against sources

Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).

HP-65 mains example · 120 V, 60 Hz, 1 in²

Source: HP-65 EE1 program 19A, worked example 2 (attached s1). The printed 536.92 unrounded turns uses the rounded imperial constant 3.49×10^6. Exact sinusoidal Faraday law gives 536.728; the 0.25-turn tolerance accommodates that 0.036% source rounding. Both round upward to 537 turns.

Inputs: Primary voltage · RMS = 120 V; Mains frequency = 60 Hz; Effective magnetic area = 645.2 mm²; Design peak flux limit = 1.3 T; Secondary voltage allowance = 1; Rated output power = 20 W; the others as above.

ResultSourceThis calc
Unrounded primary turns at flux ceiling536.9536.7
Primary turns537537

OpenStax 2e example 23.6 · turns and winding current

Source: OpenStax College Physics, 2nd edition (2022), §23.7 example 23.6 (attached s2): the independently worked ideal example gives 25 secondary turns and 2.00 A primary current for a 16.0 A secondary. The unspecified core geometry is set here only to exercise those ideal quantities; loss or thermal results are not a textbook validation. The 2.00 A value checks the ideal load component; the sizing current additionally includes the entered no-load current.

Inputs: Primary voltage · RMS = 120 V; Secondary target · RMS = 15 V; Rated output power = 240 W; Primary turns = Check an existing primary winding; Effective magnetic area = 4,000 mm²; Winding window area = 3,000 mm²; Effective magnetic volume = 500 cm³; Secondary voltage allowance = 1; Hot-spot to ambient thermal resistance = 1 K/W; the others as above.

ResultSourceThis calc
Secondary turns2525
Primary load-component RMS current2 A2 A
Rated secondary load or output-inductor current16 A16 A

TDK N87 sine calibration · 25 kHz

Source: TDK N87 06/2025, p.2, attached s4. Published sine-loss point checks the local fit and peak-flux convention; it does not validate a measured bridge waveform or thermal model.

Inputs: Excitation = Ferrite · balanced full/half bridge; Complete bipolar cycle frequency = 25,000 Hz; Bridge winding pulse voltage = 62.5 V; Rectified output target · DC = 5 V; Primary turns = Check an existing primary winding; Existing primary turns = 20; Secondary voltage allowance = 1; Rated output power = 50 W; the others as above.

ResultSourceThis calc
Equivalent sinusoidal core-loss density57 kW/m³57 kW/m³

TDK N87 sine calibration · 100 kHz

Source: TDK N87 06/2025, p.2, attached s4. Published sine-loss point checks the local fit and peak-flux convention; it does not validate a measured bridge waveform or thermal model.

Inputs: Excitation = Ferrite · balanced full/half bridge; Bridge winding pulse voltage = 250 V; Rectified output target · DC = 20 V; Primary turns = Check an existing primary winding; Existing primary turns = 20; Secondary voltage allowance = 1; Rated output power = 50 W; the others as above.

ResultSourceThis calc
Equivalent sinusoidal core-loss density375 kW/m³375 kW/m³

TDK N87 sine calibration · 300 kHz

Source: TDK N87 06/2025, p.2, attached s4. Published sine-loss point checks the local fit and peak-flux convention; it does not validate a measured bridge waveform or thermal model.

Inputs: Excitation = Ferrite · balanced full/half bridge; Complete bipolar cycle frequency = 300,000 Hz; Bridge winding pulse voltage = 375 V; Rectified output target · DC = 30 V; Primary turns = Check an existing primary winding; Existing primary turns = 20; Secondary voltage allowance = 1; Rated output power = 50 W; the others as above.

ResultSourceThis calc
Equivalent sinusoidal core-loss density390 kW/m³390 kW/m³

iGSE independent analytic limit · alpha = 2

Source: Venkatachalam et al. (2002), DOI 10.1109/CIPE.2002.1196712, equations 9–10 and 15. Independent analytic check: for alpha=2 the sine derivative-square average is 2π² B² f², while a triangular waveform gives 16 B² f², hence Ktri=8/π². This is a closed-form consistency case, not measured material data.

Inputs: Excitation = Ferrite · balanced full/half bridge; Use custom Steinmetz loss data = yes; Steinmetz frequency exponent = 2; Steinmetz flux exponent = 2.5; the others as above.

ResultSourceThis calc
iGSE triangular-to-sinusoidal waveform factor0.81060.8106

SIJ steel sine-loss calibration · 1.0 T

Source: SIJ Acroni SIWATT M400-50A, 1/1-2023-EN, attached s6: p.1 gives 1.48 W/kg at 50 Hz and 1.0 T; p.2 gives 7690 kg/m³. Their product is 11.3812 kW/m³. This checks loss calibration and density conversion, not a measured assembled transformer.

Inputs: Primary voltage · RMS = 222.1 V; Effective magnetic area = 1,000 mm²; Primary turns = Check an existing primary winding; Existing primary turns = 1,000; Secondary voltage allowance = 1; Rated output power = 20 W; the others as above.

ResultSourceThis calc
Equivalent sinusoidal core-loss density11.381 kW/m³11.381 kW/m³

SIJ steel sine-loss calibration · 1.5 T

Source: SIJ Acroni SIWATT M400-50A, 1/1-2023-EN, attached s6: p.1 gives typical 3.38 W/kg at 50 Hz and 1.5 T; p.2 gives 7690 kg/m³. Their product is 25.9922 kW/m³. This checks loss calibration and density conversion, not a measured assembled transformer.

Inputs: Primary voltage · RMS = 333.2 V; Effective magnetic area = 1,000 mm²; Design peak flux limit = 1.5 T; Primary turns = Check an existing primary winding; Existing primary turns = 1,000; Secondary voltage allowance = 1; Rated output power = 20 W; the others as above.

ResultSourceThis calc
Equivalent sinusoidal core-loss density25.992 kW/m³25.992 kW/m³

Related Resources

Responses

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

L ading...