Buck Converter Formulas: Duty Cycle, Inductor and Capacitors, Worked Through
· 7 min read · pcbplanner
Five formulas size most of a buck converter's power stage: the duty cycle, the inductor, the inductor ripple current, the peak switch current and the output capacitor. The input capacitor adds a sixth. This guide works through all of them for a 12 V to 3.3 V, 2 A converter at 500 kHz, and shows which input voltage is the worst case for each part.
The equations are the continuous-conduction (CCM) formulas from TI's application note SLVA477B, the same ones the buck converter calculator uses. [1, 2]
The example converter
| Input voltage | 10.8 V to 13.2 V (12 V ± 10 %) |
| Output | 3.3 V at 2 A |
| Switching frequency | 500 kHz |
| Estimated efficiency η | 90 % |
| Inductor ripple target | 30 % of the output current |
| Output ripple budget | 20 mV (capacitive part) |
1. Duty cycle
D = Vout / (Vin × η)
The efficiency term accounts for the losses the switch has to make up by staying on a little longer. For the example, D = 0.3395 at 10.8 V, 0.3056 at 12 V and 0.2778 at 13.2 V. The duty cycle is highest at the lowest input, which is where the IC's maximum duty cycle and minimum off-time must be checked. It is lowest at the highest input, which sets the shortest on-time: 0.2778 / 500 kHz = 556 ns. [1]
2. Inductor value
L = Vout × (Vin − Vout) / (ΔIL × fs × Vin)
Choose the ripple current ΔIL first. TI suggests 20 % to 40 % of the output current as a starting point. With ΔIL = 0.3 × 2 A = 0.6 A at the nominal 12 V:
L = 3.3 × (12 − 3.3) / (0.6 × 500 000 × 12) = 7.98 µH.
The next standard value up is 10 µH, which lowers the ripple. A larger inductor gives less ripple but responds more slowly to load steps and is physically bigger for the same current rating. [1]
3. Ripple current with the chosen inductor
ΔIL = (Vin − Vout) × D / (fs × L)
Unlike the duty cycle, the ripple is largest at the highest input voltage. With 10 µH at 13.2 V: ΔIL = (13.2 − 3.3) × 0.2778 / (500 000 × 10 µH) = 0.55 A, or 27.5 % of the load. [1]
4. Peak switch current and inductor ratings
ISW,max = Iout + ΔIL / 2 · IL,rms = √(Iout² + ΔIL² / 12)
The example gives ISW,max = 2 + 0.275 = 2.275 A and IL,rms = 2.006 A. The inductor's saturation current must exceed the peak, and its RMS (heating) rating must exceed the RMS current. The IC's minimum switch current limit sets the largest load it can deliver: Iout,max = ILIM,min − ΔIL / 2. [1]
Inductance tolerance matters here. A 10 µH part with −20 % tolerance can be 8 µH, which raises the ripple to 0.688 A and the peak to 2.344 A. The calculator applies that tolerance before checking the saturation current. [2]
5. Output capacitor
Cout,min = ΔIL / (8 × fs × ΔVout) · ΔVESR = ESR × ΔIL
For a 20 mV capacitive ripple with the nominal 10 µH: Cout,min = 0.55 / (8 × 500 000 × 0.02) = 6.9 µF. At the −20 % inductance the requirement rises to 8.6 µF. A 5 mΩ ceramic bank adds 5 mΩ × 0.55 A = 2.75 mV of ESR ripple on top. [1]
Ceramic capacitors lose capacitance with DC bias. If a capacitor keeps 80 % of its value at 3.3 V and has a −10 % tolerance, 8.6 µF effective needs about 8.6 / (0.9 × 0.8) = 11.9 µF nominal, so two 10 µF parts (14.4 µF effective) pass. Take the retained capacitance from the capacitor's DC-bias curve, not from this example. The output capacitor usually also has to be sized for load-step response, which these ripple formulas do not cover.
6. Input capacitor
Cin,min = Iout × D × (1 − D) / (fs × ΔVin) · ICIN,rms ≈ Iout × √(D × (1 − D))
Both are largest at D = 0.5. The example never reaches 0.5, so the worst case is the lowest input (D = 0.3395). For 100 mV of input ripple: Cin,min = 2 × 0.3395 × 0.6605 / (500 000 × 0.1) = 9.0 µF, and the RMS current is about 0.95 A. The input capacitor carries the pulsed switch current, so place it as close as possible to the IC's input and ground pins; that loop sets most of the converter's high-frequency noise.
Load this 12 V to 3.3 V example in the calculator →
Worst case for each part
| Quantity | Worst at | Example |
|---|---|---|
| Duty cycle, minimum off-time | Lowest Vin | D = 0.340 |
| Minimum on-time | Highest Vin | 556 ns |
| Ripple current, peak current | Highest Vin, lowest L | 0.688 A, 2.344 A |
| Output capacitance | Highest Vin, lowest L | 8.6 µF effective |
| Input capacitance and RMS current | D closest to 0.5 | 9.0 µF, 0.95 A |
When the formulas stop applying
All of the above assumes continuous conduction: the inductor current never falls to zero. The valley current is Iout − ΔIL / 2, so at light loads below about ΔIL / 2 (0.34 A in the example, with the low-tolerance inductor) a non-synchronous buck enters discontinuous mode and the duty cycle drops below the formula. Many synchronous converters instead keep CCM by allowing negative inductor current, or switch to a pulse-skipping light-load mode. Check the IC datasheet.
For a non-synchronous buck with a rectifier diode, the diode carries Iout × (1 − D) on average, largest at the highest input: 2 × (1 − 0.2778) = 1.44 A in the example. Its loss is that current times the forward voltage. [1]
Checklist
- Calculate D at the lowest and highest input and compare them with the IC's maximum duty cycle and minimum on- and off-times.
- Size L for 20–40 % ripple at the nominal input, then recalculate the ripple at the highest input with the lowest-tolerance inductance.
- Check the inductor's saturation and RMS ratings and the IC's current limit against the peak and RMS currents.
- Size the output and input capacitors from their effective capacitance at the operating voltage, and check their ripple-current ratings.
Tools used in this guide
- Buck Converter Calculator – Buck power-stage sizing with conduction-mode checks, real inductor and capacitor ratings, IC timing limits and current waveforms across the input range.
- Feedback Resistor Divider – Standard-value R1/R2 for adjustable regulators: the best E12/E24/E96 pairs, output error, FB bias current and worst case with tolerance.
- Power Tree Planner – Budget source and regulator currents across cascaded rails and loads, estimate losses, check ratings and record power-up dependencies.
Sources
- Texas Instruments SLVA477B, Basic Calculation of a Buck Converter's Power Stage: duty cycle, inductor, ripple current, switch current and capacitor equations.
- pcbplanner Buck Converter Calculator, Method, formulas and references: the same equations applied across the input range, with component tolerance and rating checks.
More guides
- Boost Converter Formulas: Why the Inductor Carries More Current than the Load
- Via Fence and Stitching Via Spacing: From λ/20 to Millimetres
- PCB Crosstalk and the 3W Rule: How Much Spacing Is Enough?
- How Much Current Can a PCB Via Carry? Worked Examples for Power Rails
- 100 nF or 10 µF? Choosing Decoupling Capacitors for a PCB
- Controlled Impedance Explained: Microstrip, Stripline and Solder Mask
- How to Choose a PCB Stackup (and What 1080, 2116 and 7628 Mean)
- PCIe Gen3 Routing on a Hobby Budget: Lessons from an M.2 NVMe Carrier Card
- AC Coupling Capacitors on High-Speed Links: the Value for Every Interface
- Is USB 3 85 Ω or 90 Ω? What the Specifications Actually Say
- How Much Copper Does a Regulator Need? PCB Heat Spreading in Numbers
- Creepage and Clearance for Mains Circuits (IEC 60664-1)