Buck converter calculator
Everything a step-down converter's power stage needs from its input range, output and switching frequency: duty cycle, inductor, peak and ripple currents, and the input and output capacitors. With the schematic and the inductor current drawn from your numbers.
From the controller's datasheet.
85–95% is typical.
The swing of the inductor current. 20–40% is the usual starting point: less needs a bigger inductor, more needs more capacitance.
A few mΩ for ceramics; tens of mΩ or more for polymer and electrolytic parts.
The equations
These are the standard continuous-conduction equations, as set out in TI’s application report SLVA477B, Basic Calculation of a Buck Converter’s Power Stage, plus the usual input-capacitor terms:
- Duty cycle: D = Vout / (Vin · η)
- Inductance: L = Vout · (Vin,max − Vout) / (ΔIL · fsw · Vin,max)
- Peak current: Ipk = Iout + ΔIL / 2
- Output capacitor: Cout ≥ ΔIL / (8 · fsw · ΔVout), with ESR ≤ ΔVout / ΔIL
- Input capacitor: Cin ≥ Iout · D · (1 − D) / (fsw · ΔVin), carrying Iout · √(D · (1 − D)) RMS
Why two input voltages
Ripple current grows with the input voltage, so the inductor is sized at the highest input, and the peak current that sets its saturation rating comes from there too. The duty cycle is largest at the lowest input, which is where a controller’s maximum duty cycle can stop it regulating. The input capacitor works hardest at a duty cycle of 50%, or as close to it as your input range gets.
Turning the numbers into parts
- Inductor: the calculator rounds up to the next standard value. Pick a part whose saturation current is comfortably above the peak current (20–30% margin is common) and whose rated current is above the RMS current.
- Output capacitors: ceramics have tiny ESR but lose capacitance under DC bias: a 10 µF part in a small package can offer only a few µF at 3.3 V. Check the manufacturer’s bias curve and add parts until the derated value clears the minimum.
- Input capacitors: they must sit right at the switch and ground pins, and their ripple-current rating has to cover the RMS current.
- Your controller’s datasheet wins: if it gives its own inductor range, minimum output capacitance or compensation values, use them. These equations are the starting point, not the last word.
Layout matters as much as the values
A buck with the right parts in the wrong places will ring, radiate and run hot. The loop from the input capacitor through the switch and back to ground is the one that matters; the Field Note Buck Converter Layout: The Loop That Matters walks through it.
More free tools
All tools- ESP32-S3 pin plannerClick any pin of the WROOM-1 module: what it can do, and whether it is safe to use in your setup.Open
- PCB trace width calculatorThe width a trace needs for its current, per IPC-2221, with its resistance and voltage drop.Open
- PCB design cost estimatorA ballpark price and timeline for your board, before you ask for a quote.Open