Buck Converter Calculator
Design a step-down (buck) DC-DC converter. Compute duty cycle, inductor ripple current, output ripple voltage, and peak currents from Vin, Vout, and load.
How to Use
- Enter input voltage (Vin), desired output voltage (Vout), load current (Iout), switching frequency, and inductor value.
- The duty cycle D = Vout/Vin is the fraction of each switching cycle the high-side switch is on.
- Inductor ripple ΔIL and output ripple voltage ΔVout appear on the right.
- Keep ripple ratio (ΔIL / Iout) between 20% and 40% for most designs.
Worked Example
A 12 V to 5 V buck converter supplies 2 A, switching at 500 kHz with a 22 µH inductor and 47 µF output capacitor. Duty D = 5 ÷ 12 = 41.7%. Inductor ripple ΔI = (12 − 5) × 0.417 ÷ (500 kHz × 22 µH) = 0.27 A peak to peak, 13% of the load current.
Output ripple from the capacitor alone is ΔI ÷ (8 × f × C) = 0.27 ÷ (8 × 500 kHz × 47 µF) ≈ 1.4 mV; the capacitor's ESR usually adds more than that, so low-ESR ceramics help.
The common mistake: sizing the inductor for the average current. The peak is 2 + 0.27 ÷ 2 = 2.13 A, and an inductor that saturates there loses its inductance and lets the current spike. Pick a saturation rating comfortably above the peak, for example 3 A.
Show Work
Formulas
History of the Buck Converter
The basic buck topology — a switch, inductor, diode, and capacitor arranged to step voltage down — was described conceptually as early as the 1930s, but practical high-frequency switching required the advent of fast semiconductor switches. Early switch-mode supplies in the 1950s used vacuum tubes at low audio-frequency rates; the first all-semiconductor buck regulators appeared in the 1960s using germanium transistors at tens of kilohertz.
The field took off in the mid-1970s when Silicon General released Bob Mammano's SG1524, the first single-chip PWM controller. Every modern buck converter inherits the same control structure: an oscillator, an error amplifier sensing the output against a reference, and a PWM comparator that adjusts duty cycle. At Caltech, R. D. Middlebrook and Slobodan Ćuk published state-space averaging in 1976, the analysis behind the formulas this calculator uses.
Modern buck converters are ubiquitous — every USB charger, every laptop supply, every MCU development board has at least one. Switching frequencies have climbed from 20 kHz (1970s) to 500 kHz–2 MHz (typical today) and several megahertz in phone power-management chips, with GaN transistors pushing high-power converters faster still. Synchronous rectification (replacing the diode with a MOSFET) has pushed peak efficiency past 97%, and digital control loops (Texas Instruments, Analog Devices) now let converters dynamically trade efficiency for transient response.
About This Calculator
Enter input voltage, target output voltage, load current, switching frequency, inductor value, and output capacitance. The tool computes duty cycle, inductor ripple current ΔIL, peak inductor current (for saturation sizing), output ripple voltage, and the switching waveform visualization.
Design rule of thumb: aim for ΔIL ≈ 20–40% of Iout. Lower ripple (bigger L) improves output quality and lowers cap ESR heating; higher ripple (smaller L) reduces cost and size but stresses components. Inductor saturation current must exceed peak IL, and output cap ESR should be minimized (ceramic, polymer, or low-ESR electrolytic). All math runs client-side.
Frequently Asked Questions
What is a buck converter?
A switched-mode DC-DC converter that steps voltage down with high efficiency (85-97%). Uses a high-speed switch + inductor + diode + cap. By rapidly toggling the switch and letting the inductor average the pulse train, you get a smooth lower voltage at the output.
Why is it more efficient than an LDO?
LDOs drop the excess voltage as heat (P = (Vin−Vout) × I). A buck converter transfers energy; it doesn't dissipate it. Dropping 12V→3.3V at 1A: LDO wastes 8.7W as heat; buck wastes ~0.3W.
What does CCM vs DCM mean?
Continuous Conduction Mode (CCM): inductor current never falls to zero. Discontinuous (DCM): current goes to zero between cycles. Most designs target CCM at full load — simpler math, lower ripple. DCM is used intentionally at light loads for efficiency.
How do I pick the inductor?
Target inductor ripple ΔIL = 20-40% of Iout. Then L = (Vin − Vout) × D / (fsw × ΔIL). Larger L = less ripple but bigger/more expensive. Saturation rating must exceed peak current (Iout + ΔIL/2).
What sets the duty cycle?
In an ideal buck converter the output is the input times the duty cycle, so D = V_out ÷ V_in: 5 V from 12 V needs the switch on 41.7% of each cycle. Real converters run a little longer to cover switch and inductor losses, and the controller adjusts D continuously as the input voltage and load change.
How do I use the Buck Converter Calculator?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
12V to 5V USB Rail
Car accessories: drop 14V automotive to 5V at 2A. Simple buck IC like TPS54331 or LM2596.
24V to 3.3V MCU Supply
Industrial control: 24V bus down to 3.3V for microcontroller. Buck IC with ~1A output.
Battery Backup Regulator
Variable battery voltage (3.0-4.2V Li-ion) regulated to 1.8V or 3.3V for the load.
LED Driver
Fixed-current buck driving a string of LEDs from 48V DC. Efficiency essential for thermal management.
Motor Controller Rail
400V DC bus to 15V for gate drivers and 5V for control logic in inverter-style drives.
Last updated: