Flyback Converter Calculator
Use the flyback converter calculator to find the duty cycle, currents, and inductances for the primary and secondary sides of your circuit.
The formula
buck D = V_out/V_in; boost D = 1 − V_in/V_out
Each topology has its own relation
A buck converter's duty cycle is simply the voltage ratio; a boost converter's is one minus the inverse ratio. They are not interchangeable — applying the buck formula to a step-up conversion gives a duty cycle above 1, which is why this page refuses the combination rather than returning a meaningless number.
All these relations assume continuous conduction and ideal components. A real converter needs a somewhat larger duty cycle, because the switch and diode each drop a few tenths of a volt and the inductor has resistance. Below a critical load the inductor current reaches zero each cycle, the converter enters discontinuous mode, and the duty cycle stops following the simple formula altogether — which is why the minimum continuous-conduction current is reported.
The peak inductor current, not the average, is what sizes the inductor and the switch. With 40% ripple the peak is 20% above the output current, and a component chosen on the average figure will saturate.
Ripple is inversely proportional to both frequency and inductance, which sets the central trade in converter design: switching faster allows a physically smaller inductor, at the cost of switching losses that rise with frequency.