NewAI Part GeneratorFree to get started
FREE TOOL

Buck converter calculator

Use this buck converter calculator to size the inductor and output capacitor of a step-down converter, or to check the ripple and peak current with the parts you already have. It follows TI's design equations and draws the inductor current waveform.

Solve for
Examples
V
V

Optional: finds the worst input capacitor current and checks dropout.

V
A
Hz

Use the minimum from the data sheet.

%

TI uses 90 % as a worst-case estimate; 100 % gives the ideal duty cycle.

%

Percent of the output current. TI suggests 20 to 40.

V
Ω
A

Optional: from the data sheet. Checks whether the IC can deliver the load.

V

Optional: for a non-synchronous design.

A

Optional: with the overshoot below, sizes Cout for the transient.

V

Inductor

7.975 µH

exact value

Duty cycle D
30.56 %
On-time
611 ns
Next E12 inductor
8.2 µH used below
Ripple current
648.4 mA target 600 mA
Peak inductor and switch current
2.324 A
Valley inductor current
1.676 A
Minimum output capacitance
5.45 µF effective, after derating
ESR ripple
3.24 mV
Output capacitor RMS current
187 mA
Input capacitor RMS current
921 mA at Vin(max); up to 1 A at D = 50 %
Stays in CCM down to a load of
324 mA

Continuous-conduction equations from TI SLVA477. Duty cycle, ripple and peak current are evaluated at the maximum input voltage, where the ripple and the peak current are largest.

The ripple uses the loss-adjusted duty cycle (SLVA477 Eq. 2), so it reads up to 11 % above an ideal-duty figure. Treat it as the conservative value.

Ceramic capacitors lose capacitance under DC bias. Use the effective value, not the printed one.

Inductor current over two switching periods
00.511.522.50500n1µ1.5µ2µ2.5µ3µ3.5µ4µTime (s)Inductor current (A)Iout 2 APeak 2.32 AValley 1.68 ASwitch off, 611 ns

Other ripple targets

Ripple targetInductorNext E12RipplePeak current
20 %12 µH12 µH443 mA2.22 A
30 %7.97 µH8.2 µH648 mA2.32 A
40 %5.98 µH6.8 µH782 mA2.39 A

How do you calculate the duty cycle and inductor in a buck converter design?

Use D = Vout ÷ (Vin × η) and L = Vout × (Vin − Vout) ÷ (ΔIL × fs × Vin), with the ripple ΔIL at 20 % to 40 % of the output current. For 12 V to 3.3 V at 2 A, 500 kHz and 90 % efficiency, D = 30.6 %. A 30 % ripple target (600 mA) needs 7.97 µH, so use 8.2 µH, which gives a peak current of 2.32 A.

Buck converter formulas

These buck converter design equations are the continuous-conduction set from TI application note SLVA477C, with its equation numbers. Duty cycle, ripple and peak current are evaluated at the maximum input voltage, where the switch current is highest.

D = Vout ÷ (Vin × η)     (Eq. 1)
ΔIL = (Vin − Vout) × D ÷ (fs × L)     (Eq. 2)
D
duty cycle
Vin
maximum input voltage in V
Vout
output voltage in V
η
efficiency as a fraction; TI uses 90 % as a worst-case estimate
fs
minimum switching frequency in Hz
L
inductance in H
ΔIL
peak-to-peak inductor ripple current in A

Sizing the inductor for a chosen ripple, normally 20 % to 40 % of the output current:

L = Vout × (Vin − Vout) ÷ (ΔIL × fs × Vin)     (Eq. 5)

SLVA477C evaluates Eq. 5 at the typical input voltage. This calculator uses the maximum, as TI's TPS54360 data sheet does, so the ripple target applies at the input where the ripple is largest. Peak current and the most an IC can deliver:

Ipeak = Iout + ΔIL ÷ 2     (Eq. 4)
Imaxout = Ilim(min) − ΔIL ÷ 2     (Eq. 3)

The output capacitor, for ripple and for a load step of ΔIout with overshoot Vos:

Cout = ΔIL ÷ (8 × fs × ΔV)     (Eq. 12)
ΔV(ESR) = ESR × ΔIL     (Eq. 13)
Cout = ΔIout² × L ÷ (2 × Vout × Vos)     (Eq. 14)

When an ESR is entered, the capacitor is sized for whatever ripple budget the ESR leaves. Adding the two parts is an upper bound, because the capacitive and ESR ripple peak at different moments. Capacitor currents, the rectifier and the boundary of continuous conduction (TPS54360 Eq. 36 and 38, SLVA477C Eq. 7 and 8, SLVA057):

I(Cout, RMS) = ΔIL ÷ √12     I(Cin, RMS) = Iout × √(D × (1 − D))
IF = Iout × (1 − D)     PD = IF × VF     Iout(crit) = ΔIL ÷ 2

Buck converter design examples

Example 1: 12 V to 3.3 V at 2 A

At 500 kHz with an estimated 90 % efficiency, D = 3.3 ÷ (12 × 0.9) = 30.6 %. A 30 % ripple target is 600 mA, so L = 3.3 × 8.7 ÷ (0.6 × 500 kHz × 12) = 7.97 µH. The next E12 value is 8.2 µH. Eq. 2 then gives 648 mA of ripple and a peak of 2.32 A.

With 5 mΩ of ESR (3.24 mV of ripple) and a 33 mV limit, the output needs at least 5.45 µF of effective capacitance. The input capacitor carries 921 mA RMS, and the converter stays in continuous conduction down to a load of 324 mA.

Example 2: reproducing TI's TPS54360 design

TI's data sheet example runs from 8.5 V to 60 V down to 5 V at 3.5 A and 600 kHz, using the ideal duty cycle (η = 100 %). With a 0.3 ripple ratio, Eq. 5 at 60 V gives 7.28 µH, and TI picks 8.2 µH. Eq. 2 gives 932 mA of ripple and a peak of 3.97 A, matching the published 0.932 A and 3.97 A. The output capacitor RMS current is 269 mA (published: 269 mA).

The data sheet quotes 1.72 A RMS in the input capacitor, evaluated at 8.5 V. The true worst case over this input range is at 10 V, where D = 50 %: 1.75 A. Enter a minimum input voltage in the calculator and it finds that point.

Example 3: will a 3 A switch limit cover a 2 A load?

For 12 V to 5 V at 500 kHz with 10 µH and 90 % efficiency, D = 46.3 % and the ripple is 648 mA. An IC with a 3 A minimum switch limit can deliver 2.68 A, so 2 A is fine, and the peak current is 2.32 A. A 0.5 V Schottky rectifier carries 1.07 A on average and dissipates 537 mW.

Buck converter inductor selection for common conversions

Computed for 2 A output, 500 kHz, 90 % efficiency and a 30 % ripple target. Ripple and peak current use the next E12 inductor. For any other conversion, use the buck inductor calculator above.

ConversionDuty cycleInductorNext E12RipplePeak current
5 V to 3.3 V73.3 %3.74 µH3.9 µH639 mA2.32 A
5 V to 1.8 V40.0 %3.84 µH3.9 µH656 mA2.33 A
5 V to 1.2 V26.7 %3.04 µH3.3 µH614 mA2.31 A
12 V to 5 V46.3 %9.72 µH10 µH648 mA2.32 A
12 V to 3.3 V30.6 %7.97 µH8.2 µH648 mA2.32 A
12 V to 1.8 V16.7 %5.1 µH5.6 µH607 mA2.3 A
24 V to 12 V55.6 %20 µH22 µH606 mA2.3 A
24 V to 5 V23.1 %13.2 µH15 µH586 mA2.29 A
24 V to 3.3 V15.3 %9.49 µH10 µH632 mA2.32 A
48 V to 12 V27.8 %30 µH33 µH606 mA2.3 A
48 V to 5 V11.6 %14.9 µH15 µH664 mA2.33 A

Inductor and capacitor versus switching frequency

The same conversion, 12 V to 5 V at 2 A, across frequencies. Higher frequency shrinks both parts but raises switching loss. The output capacitor allows 50 mV of ripple with 5 mΩ of ESR.

FrequencyInductorNext E12RippleMinimum Cout
200 kHz24.3 µH27 µH600 mA7.98 µF
300 kHz16.2 µH18 µH600 mA5.32 µF
500 kHz9.72 µH10 µH648 mA3.47 µF
750 kHz6.48 µH6.8 µH635 mA2.26 µF
1 MHz4.86 µH5.6 µH579 mA1.54 µF
2 MHz2.43 µH2.7 µH600 mA798 nF

What goes wrong in real converters

The data sheet comes first. If it recommends an inductor or range, use it; an internally compensated regulator needs the recommended inductor and capacitor values or its documented adjustment for the L × C product. The output capacitor equations here only apply freely with external compensation, where the loop is adjusted to match.

Ceramic capacitors lose capacitance under DC bias and with temperature, so the value that matters is the effective one at the output voltage. TI recommends X5R or better. Inductance also falls as the current approaches saturation, which raises the ripple and the peak, so choose a saturation rating comfortably above the calculated peak.

Check the on-time against the minimum on-time in the data sheet (135 ns typical for the TPS54360). A large step-down ratio at high frequency can ask for a shorter pulse than the regulator can produce, and it will skip pulses. This model is steady-state and continuous-conduction only: it does not cover loop stability, start-up, switching loss or light-load behavior.

Glossary

Duty cycle (D)
The fraction of each switching period that the high-side switch is on.
Ripple current (ΔIL)
The peak-to-peak swing of the inductor current in steady state.
Continuous conduction mode (CCM)
Operation in which the inductor current never reaches zero during the switching cycle.
Discontinuous conduction mode (DCM)
Operation in which the inductor current falls to zero and stays there for part of each cycle.
ESR
Equivalent series resistance of a capacitor. Ripple current through it adds directly to the output ripple voltage.
Synchronous rectification
Replacing the catch diode with a second switch to remove the diode drop.

Related guides

Frequently asked questions

What is the buck converter duty cycle formula?

D = Vout ÷ (Vin × η). The ideal value is Vout ÷ Vin; dividing by the efficiency accounts for the extra on-time needed to supply the losses. For 12 V to 3.3 V at 90 % efficiency, D = 30.6 %.

How do I choose the inductor for a buck converter?

If the data sheet recommends a value or range, use it. Otherwise set the ripple current to 20 % to 40 % of the output current and compute L = Vout × (Vin − Vout) ÷ (ΔIL × fs × Vin). For 12 V to 3.3 V, 2 A, 500 kHz and 30 % ripple that is 7.97 µH, so buy 8.2 µH.

What current rating does the inductor need?

Its saturation current must exceed the peak, Iout + ΔIL ÷ 2, at the maximum input voltage. TI notes that the peak rises as inductance falls, and the TPS55340 data sheet recommends rating the inductor about 20 % above the calculated peak to cover start-up and faults.

How do I size the output capacitor of a buck converter?

For ripple, C = ΔIL ÷ (8 × fs × ΔV), with ESR adding ESR × ΔIL on top. For a load step, C = ΔIout² × L ÷ (2 × Vout × Vos). Take the larger of the two, then allow for DC-bias derating if it is a ceramic part. An internally compensated regulator needs the values its data sheet recommends.

What RMS current does the input capacitor carry?

Iout × √(D × (1 − D)). It peaks at Iout ÷ 2 when D = 50 %, so check the whole input range: enter the minimum input voltage and the calculator finds the worst point. A 2 A converter at 30.6 % duty carries 921 mA RMS in its input capacitor.

When does a buck converter enter discontinuous conduction mode?

When the load falls below half the ripple current, ΔIL ÷ 2, the inductor current reaches zero before the next cycle. In the first example that is 324 mA. Below it the duty cycle depends on the load and these continuous-mode equations no longer apply; forced-PWM synchronous converters stay continuous by letting the current go negative.

Why is the calculation done at the maximum input voltage?

Ripple current rises with input voltage, because ΔIL = Vout × (1 − Vout ÷ Vin) ÷ (fs × L). The peak switch current is therefore highest at the maximum input, which is why TI evaluates the duty cycle and ripple there.

Does efficiency belong in the numerator or denominator of the duty cycle?

The denominator. Losses require more on-time, so D = Vout ÷ (Vin × η). TI SLVA477C has it this way in Eq. 1, and its revision history records that Eq. 1 was changed; the appendix copy (Eq. 15) still shows η in the numerator.

Is a buck regulator the same as a step-down converter?

Yes, in normal use. Buck converter and buck regulator name the same topology, and a non-isolated step-down converter with an inductor is almost always a buck, so these equations apply to it too.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.

Get for Mac

Free to start. No card required.