🔬
🔬 Science & engineering

Buck Converter Calculator (duty, inductor, ripple)

Results update as you type.

Your numbers

Understanding the buck converter calculator — concept and principle

A buck converter is a switching regulator that steps a DC voltage down, for example 12 V to 5 V, far more efficiently than a linear regulator. This calculator gives the first numbers you need when choosing parts: the duty cycle, the inductance for a chosen ripple current, and the peak current the inductor must carry.

Buck converter switching and inductor currentThe switch connects 12 V for 41.67% of every 2 µs cycle, so the average is 5 V. The inductor current ramps between 1.7 and 2.3 A (0.6 A ripple, 30% of 2 A), which needs L = 9.72 µH.Chop 12 V, smooth it into 5 V12 V0 Vaverage 5 VONswitch ON 41.67% of each 2 µs cycle (500 kHz)coilpeak 2.3 Aavg 2 Aripple 0.6 A = 30%L = 9.72 µH(12 − 5) V × 0.4167 ÷ (500 kHz × 0.6 A)
Duty cycle 5 ÷ 12 = 41.67%: the coil smooths the 12 V pulses into 5 V with only 0.6 A of ripple.

How it is calculated

The principle

In steady state the inductor's average voltage over one period must be zero, otherwise its current would grow without limit. This is called volt-second balance. While the switch is on, the inductor sees V_in − V_out for time D·T; while it is off, it sees −V_out for (1 − D)·T. Setting (V_in − V_out)·D = V_out·(1 − D) gives D = V_out/V_in. During the on-time the current rises at a slope of (V_in − V_out)/L, so the rise over D/f_s seconds is the ripple ΔI; solving for L gives the formula above.

Worked example

  1. Inputs: V_in = 12 V, V_out = 5 V, I_out = 2 A, f_s = 500 kHz, ripple 30%.
  2. D = 5 / 12 = 41.67%.
  3. ΔI = 0.30 × 2 = 0.6 A peak to peak.
  4. L = (12 − 5) × 0.41667 / (500,000 × 0.6) = 2.9167 / 300,000 = 9.722 × 10⁻⁶ H = 9.722222222 µH.
  5. I_peak = 2 × (1 + 30/200) = 2.3 A.
How Duty cycle changes with Input (V)How Duty cycle changes with Input05010015020036912151824Example: 41.67%Input (V)
Each point is the calculator re-run with only “Input (V)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Input (V)Duty cycle
3166.67%
683.33%
955.56%
1241.67%
1533.33%
1827.78%
2420.83%

How to read the result

Pick the nearest standard inductor at or slightly above the result (10 µH here), which keeps the ripple a little below 30%. Its saturation current rating should exceed the peak current with margin, and its RMS rating should exceed the load current. A ripple target of about 20–40% of the load current is a common starting point: lower ripple needs a bigger inductor and slows transient response, higher ripple raises output ripple voltage and core losses.

Common mistakes

Keep in mind: These are ideal formulas for continuous conduction mode. At light loads (I_out below ΔI/2) the converter enters discontinuous mode and the equations change. Real designs need the controller datasheet, thermal checks and testing; mains-connected or safety-critical supplies need a qualified engineer.

Frequently asked questions

What happens if I double the switching frequency?

The required inductance halves for the same ripple, allowing a smaller inductor, but switching losses in the transistor rise.

Why is a buck converter more efficient than an LDO?

The switch is either fully on or fully off, so it dissipates little power, whereas a linear regulator burns (V_in − V_out) × I as heat.

Sources: R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, Springer, Chapters 2 and 5 · Texas Instruments, Basic Calculation of a Buck Converter's Power Stage, Application Report SLVA477

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →