1. Tools
  2. Power

Buck converter calculator.

Size the inductor and the output and input capacitors of a buck converter from your input range, load and ripple targets. Change any value and the results update.

Start from

Input and output
V
V
V
Switching
%
%
ns
Capacitors
mV
mΩ
mV
Show the waveform at
Inductor, standard value
—µH

Duty cycle, max to min input
— to —
Inductance needed
—
Ripple current, peak to peak
—
Peak inductor current
—
Valley current
—
RMS inductor current
—
Saturation rating, at least
—
On-time at maximum input
—
Highest frequency for that minimum
—
Inductor current over three switching periods with the standard inductor. Shaded strips are the switch on-times. The average is the load current.

Output capacitor

Capacitance needed
—
Ripple from ESR
—
Ripple left for capacitance
—
Capacitance if ESR were zero
—
Highest ESR for the target
—
RMS ripple current
—

Input capacitor and light load

RMS ripple current, worst case
—
Capacitance needed
—
Worst case at duty cycle
—
Input current at minimum input
—
Input power at full load
—
Discontinuous below
—

All results assume continuous conduction at full load, use the standard inductor value shown above, and ignore inductance tolerance and capacitor derating. Allow for those before you buy parts.

How to use it

Enter the input range the converter has to work over, not just the nominal value. A 12 V rail with ±10% tolerance is 10.8 to 13.2 V, and a 24 V industrial supply may need 18 to 32 V. Set the switching frequency from your controller's datasheet, pick a ripple ratio, and enter the efficiency you expect. The calculator sizes the inductor for that ripple at the highest input, rounds it to the nearest E12 value, and works out every other figure with the inductor you would actually fit.

The equations

These are the continuous-conduction equations from TI's application report SLVA477 and the input capacitor equations from TI's SLTA055. Efficiency enters through the duty cycle: a converter that loses 10% has to stay on longer to deliver the same output.

D = VOUT / (VIN · η) ΔIL = (VIN − VOUT) · D / (fs · L) L = (VIN(max) − VOUT) · Dmin / (fs · ΔIL) Ipeak = IOUT + ΔIL / 2 Irms = √(IOUT2 + ΔIL2 / 12) ΔVOUT = ΔIL · ESR + ΔIL / (8 · fs · COUT) ICIN(rms) = √(D · (IOUT2 + ΔIL2 / 12) − (D · IOUT)2) ≈ IOUT · √(D · (1 − D)) CIN = IOUT · D · (1 − D) / (fs · ΔVIN) IOUT(DCM) = ΔIL / 2 ton = Dmin / fs

Ripple current rises with input voltage, so the inductor is sized at the highest input and the output capacitor, peak current and DCM boundary are all worked out there too. The input capacitor is the opposite case: its RMS current is largest when the duty cycle is nearest 50%, so the calculator searches the whole input range for it.

Worked example. The default values: 10.8 to 13.2 V in, 3.3 V at 3 A, 500 kHz, 30% ripple and 90% efficiency. The duty cycle runs from 3.3 / (13.2 × 0.9) = 27.8% to 34.0%. A 30% ripple is 0.9 A, so L = (13.2 − 3.3) × 0.278 / (500 kHz × 0.9 A) = 6.11 µH. The nearest E12 value is 5.6 µH, which gives 0.982 A of ripple (33%). The peak current is 3 + 0.491 = 3.49 A and the RMS current 3.01 A. With 5 mΩ of ESR, 4.9 mV of the 30 mV ripple budget goes on ESR, leaving 25.1 mV for capacitance: C = 0.982 / (8 × 500 kHz × 25.1 mV) = 9.79 µF. The input capacitor carries 1.43 A RMS at the lowest input, and needs 13.5 µF for 100 mV of ripple. The on-time at 13.2 V is 556 ns, well clear of a 100 ns minimum.

Inductance for common conversions

Inductance for 30% ripple at the nominal input, assuming 100% efficiency. The last column is the input capacitor's RMS current at that duty cycle.

ConversionLoadDutyL at 500 kHzL at 1 MHzL at 2 MHzOn-time at 2 MHzCIN RMS
12 V to 5 V2 A42%9.7 µH4.9 µH2.4 µH208 ns0.99 A
12 V to 3.3 V3 A27%5.3 µH2.7 µH1.3 µH137 ns1.34 A
24 V to 5 V2 A21%13 µH6.6 µH3.3 µH104 ns0.81 A
24 V to 12 V3 A50%13 µH6.7 µH3.3 µH250 ns1.50 A
48 V to 12 V5 A25%12 µH6.0 µH3.0 µH125 ns2.17 A
5 V to 3.3 V2 A66%3.7 µH1.9 µH935 nH330 ns0.95 A
5 V to 1.8 V3 A36%2.6 µH1.3 µH640 nH180 ns1.44 A
5 V to 1.0 V6 A20%889 nH444 nH222 nH100 ns2.40 A
3.3 V to 1.2 V2 A36%2.5 µH1.3 µH636 nH182 ns0.96 A

Choosing the ripple ratio

A ripple of 20 to 40% of full-load current is the usual compromise. Less ripple needs a larger, slower inductor that limits how fast the output can respond to a load step. More ripple means smaller parts, but higher peak current, more output ripple and more core loss, and the converter goes discontinuous at a higher load. If your controller's datasheet recommends a ripple ratio for its compensation, use that.

Practical design notes

  • Inductor ratings. The RMS figure sets the heating, so compare it with the inductor's rated current. Saturation is set by the peak. The calculator suggests 1.3 times the peak as a rule of thumb, which covers ±20% inductance tolerance and some load transient. If the controller has a fixed current limit, choose a saturation rating above that limit so a short circuit cannot saturate the core.
  • Ceramic output capacitors lose capacitance with DC bias. A 22 µF, 6.3 V part in a small case can give well under half its rating at 3.3 V. Check the manufacturer's bias curve and size against the effective value.
  • Load transients usually set the output capacitance. The ripple target is a minimum. A fast load step needs enough capacitance to hold the output until the control loop catches up, and that is often several times more.
  • Input capacitor placement matters more than value. The input capacitor, high-side switch and low-side switch form the loop with the fastest current edges. Keep it tight, with ceramics right at the switch pins, or the ringing on the switch node becomes an EMC problem.
  • Minimum on-time limits the step-down ratio. At high input, high frequency and low output, the on-time can fall below what the controller can make. It will then skip pulses or regulate badly. Lower the switching frequency or use a two-stage conversion.

Accuracy and limits

The equations are first-order. They treat the inductor voltage as VIN − VOUT during the on-time and fold every loss into the efficiency figure, so they are typically within a few per cent of a working converter in continuous conduction. Adding the ESR and capacitive ripple directly is conservative, because the two peak at different times. Equivalent series inductance is not included: with electrolytic capacitors, or long traces, it adds spikes at each switching edge that the formula does not predict. Below the discontinuous-mode current the CCM equations no longer apply. The calculator does not cover loop compensation, switching losses or thermal design.

References

  1. B. Hauke, Basic Calculation of a Buck Converter's Power Stage, Texas Instruments application report SLVA477.
  2. J. Arrigo, Input and Output Capacitor Selection, Texas Instruments application report SLTA055.
  3. R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, Springer. Small-ripple analysis and the discontinuous conduction mode.

Need a power stage that holds up?

We design AC/DC, DC/DC and DC/AC power conversion, up to three-phase motor drives with field-oriented control. Tell us what you need to power.

Power electronics services