Buck Converter Calculator — inductor, ripple and duty cycle

Duty cycle, inductor ripple current, output capacitor ripple and the CCM/DCM boundary for a step-down converter.

Example: Stepping 12 V down to 5 V at 2 A needs about 10.8 µH at 46% duty, with 2.3 A peak inductor current.

Formula

D = V_out / (V_in × η)    ΔI_L = (V_in − V_out) × D / (L × f)

Worked example

Stepping 12 V down to 5 V at 2 A needs about 10.8 µH at 46% duty, with 2.3 A peak inductor current.

  1. D = V_out / (V_in × η)

    5 V / (12 V × 0.9)

    46.3%

  2. ΔI_L = ripple ratio × I_out

    0.3 × 2 A

    600 mA

  3. L = (V_in − V_out) × D / (ΔI_L × f)

    7 V × 0.463 / (600 mA × 500 kHz)

    10.8 µH

  4. I_peak = I_out + ΔI_L / 2

    2 A + 300 mA

    2.3 A

    The inductor's saturation current rating must exceed this, not just its RMS rating.

Frequently asked questions

How do I choose the inductor for a buck converter?

Pick a ripple ratio first — 30% of output current is the usual starting point — then L = (V_in − V_out) × D / (ΔI × f). Smaller inductors mean more ripple, higher peak current and more capacitor RMS current; larger ones cost size and DC resistance.

What is the difference between saturation current and RMS current?

Saturation current is where the core stops being an inductor and inductance collapses; RMS is the thermal limit from winding resistance. Your peak current must stay below saturation, which is why the peak rather than the average is the number that matters when choosing a part.

What is discontinuous conduction mode?

When the inductor current falls to zero before the next cycle, which happens at light load. The transfer function changes — output voltage starts depending on load current — and the control loop behaves differently. Most converters do this at light load by design.

Why is my output ripple higher than calculated?

ESR. The ideal formula only accounts for charge moving in and out of the capacitor, but real capacitors have series resistance, and ΔI × ESR is often larger than the capacitive term. Ceramic capacitors have very low ESR; electrolytics do not.

Related tools