A buck converter is the most widely used DC-DC converter in electronics. It steps a higher DC voltage down to a lower one, for example 12 V to 5 V, with 90 to 97% efficiency, which is why it powers phone chargers, laptop motherboards, LED drivers, solar charge controllers and almost every microcontroller board. In this guide you will learn buck converter design and analysis step by step: how it works, how to calculate the duty cycle, inductor, output capacitor and input capacitor, how to pick the MOSFETs or diode, and how to estimate power loss, efficiency and operating mode. A complete worked example and a live calculator are included.
- Output voltage is set by the duty cycle: Vout ≈ D × Vin.
- The inductor sets the ripple current. Design it at the maximum input voltage, where ripple is worst.
- The output capacitor and its ESR set the output voltage ripple.
- The input capacitor carries a large pulsed ripple current of about Iout × √(D(1 − D)).
- At light load the converter moves from CCM into DCM (or negative current in forced PWM).
- A synchronous buck (two MOSFETs) beats a Schottky diode buck in efficiency, especially at low output voltage.
What Is a Buck Converter?
A buck converter, also called a step-down converter, is a switch-mode power supply that converts a DC input voltage into a lower DC output voltage. Instead of burning the extra voltage as heat like a linear regulator (LM7805, LDO), it switches the input on and off very fast and smooths the pulses with an inductor and a capacitor. Ideally no energy is wasted, so the input current is lower than the output current.
For example, a 7805 linear regulator dropping 12 V to 5 V at 3 A wastes (12 − 5) × 3 = 21 W as heat, giving only 42% efficiency. A buck converter doing the same job loses around 0.5 to 1 W.
Need a higher output voltage instead of a lower one? Read our boost converter design and analysis guide with a live calculator.
How a Buck Converter Works
The controller turns the high-side switch Q1 on and off at a fixed switching frequency (fsw), typically 100 kHz to 2 MHz. Each switching period has two states.
1. Switch ON (Q1 closed)
The switch node (SW) connects to Vin. The inductor sees Vin − Vout across it, so its current ramps up linearly. Energy is stored in the inductor’s magnetic field while current also flows to the load and the output capacitor.
2. Switch OFF (Q1 open)
The inductor refuses a sudden change in current, so it pulls the switch node down until the diode D1 (or the low-side MOSFET Q2) turns on. Now the inductor sees −Vout and its current ramps down while it keeps feeding the load. This is why D1 is called the freewheeling or catch diode.
Volt-second balance and the duty cycle
In steady state the inductor current must end each cycle where it started, so the volt-seconds during ON must equal those during OFF:
(Vin − Vout) × D × T = Vout × (1 − D) × T → D = Vout / VinHere D is the duty cycle (on-time divided by the switching period T). A 12 V to 5 V converter needs D ≈ 41.7%. In a real converter D is slightly higher because the switch resistance, diode drop and inductor DCR also eat voltage.
Buck Converter Design Equations
These are the core formulas used in every buck converter design. Use Vin(max) for inductor and output capacitor sizing, because ripple current is largest at the highest input voltage.
| Parameter | Formula | Notes |
|---|---|---|
| Duty cycle | D = (Vout + Vf) / (Vin + Vf) | Vf = 0 for a synchronous buck |
| Ripple current | ΔI = r × Iout | Ripple ratio r = 0.2 to 0.4 |
| Inductance | L = (Vin(max) − Vout) × D / (fsw × ΔI) | Round up to a standard value |
| Peak inductor current | Ipk = Iout + ΔI / 2 | Choose Isat ≥ 1.25 × Ipk |
| Inductor RMS current | IL(rms) = √(Iout² + ΔI² / 12) | Sets copper (DCR) loss |
| Output capacitance | Cout ≥ ΔI / (8 × fsw × ΔVout) | Ceramic caps lose capacitance with DC bias |
| Output cap ESR | ESR ≤ ΔVout / ΔI | Critical for electrolytic caps |
| Input capacitance | Cin ≥ Iout × D(1 − D) / (fsw × ΔVin) | Place very close to Q1 |
| Input ripple current | ICin(rms) = Iout × √(D(1 − D)) | Worst at D = 0.5, equal to Iout / 2 |
| CCM/DCM boundary | Icrit = ΔI / 2 | Below this load, current reaches zero |
Buck Converter Design Example: 12 V to 5 V, 3 A
Let us design a real converter step by step. The same values are loaded in the live calculator below, so you can follow along and change anything.
| Specification | Value |
|---|---|
| Input voltage | 12 V nominal, 13.2 V maximum |
| Output voltage | 5 V |
| Output current | 3 A (15 W) |
| Switching frequency | 500 kHz |
| Ripple ratio | 30% |
| Output ripple target | 30 mV peak-to-peak |
| Input ripple target | 100 mV peak-to-peak |
| Topology | Synchronous (Q1 and Q2 MOSFETs, 20 mΩ each) |
Step 1: Duty cycle
D = Vout / Vin(max) = 5 / 13.2 = 0.379At the nominal 12 V input, D is about 41.7% ideally, or 42.5% once the MOSFET and inductor drops are included.
Step 2: Inductor value
Target ripple current: ΔI = 0.30 × 3 A = 0.9 A.
L = (13.2 − 5) × 0.379 / (500 kHz × 0.9 A) = 6.90 µHRound up to the next standard value: 8.2 µH. A larger L lowers the ripple, so the real worst-case ripple becomes 0.76 A.
Step 3: Inductor current rating
Ipk = Iout + ΔI / 2 = 3 + 0.76 / 2 = 3.38 APick an inductor with a saturation current of at least 4.2 A (1.25 × Ipk) and an RMS (heating) rating above 3 A. A saturated inductor loses its inductance, and the current spikes can destroy the MOSFET.
Step 4: Output capacitor
Cout ≥ 0.76 A / (8 × 500 kHz × 30 mV) = 6.3 µF, ESR ≤ 30 mV / 0.76 A = 39.6 mΩAdding 50% margin for ceramic DC-bias derating gives 10 µF, 10 V or higher. With 5 mΩ ESR the calculated ripple is about 18 mV. In practice, many designers use 2 × 22 µF ceramics to also improve load transient response.
Step 5: Input capacitor
Cin ≥ 3 × 0.417 × 0.583 / (500 kHz × 0.1 V) = 14.6 µF ICin(rms) = 3 × √(0.417 × 0.583) = 1.48 AUse 22 µF, 25 V ceramic (X5R or X7R) rated for at least 1.5 A ripple current, plus a small 100 nF capacitor right at the Q1 drain.
Step 6: MOSFET and diode selection
Both switches block the full input voltage. With a 30% safety margin, 13.2 V × 1.3 = 17.2 V, so use 20 V MOSFETs at minimum. A 25 or 30 V rating is safer because the switch node rings above Vin on every edge. Q1 carries about 1.96 A rms and Q2 about 2.28 A rms at full load. Since Q2 conducts longer when D is below 50%, give Q2 the lower Rds(on).
Buck Converter Loss and Efficiency Analysis
Efficiency is where good and bad buck designs separate. The main losses are:
- Conduction loss in the MOSFETs: Irms² × Rds(on).
- Switching loss in Q1: ½ × Vin × Iout × t(edge) × fsw × 2, caused by voltage and current overlapping during each transition.
- Coss loss: ½ × Coss × Vin² × fsw, the energy stored in the MOSFET’s output capacitance, dumped each cycle.
- Gate drive loss: Qg × Vdrive × fsw for each MOSFET.
- Diode loss (asynchronous only): Vf × Iout × (1 − D).
- Inductor copper loss: IL(rms)² × DCR, plus core loss.
- Capacitor ESR loss: Irms² × ESR in Cin and Cout.
For our example with 10 ns edges, 8 nC gate charge and a 15 mΩ inductor:
| Loss source | Synchronous (Q2 MOSFET) | Asynchronous (Schottky, Vf 0.45 V) |
|---|---|---|
| Q1 conduction | 77 mW | 80 mW |
| Q1 switching + Coss | 191 mW | 191 mW |
| Gate drive | 40 mW | 20 mW |
| Q2 conduction / D1 forward drop | 104 mW | 753 mW |
| Inductor DCR | 136 mW | 136 mW |
| Capacitor ESR | 11 mW | 11 mW |
| Total loss | 0.56 W | 1.19 W |
| Efficiency at 3 A | 96.4% | 92.6% |
The Schottky diode alone wastes more than all other losses combined. That is why almost every modern buck regulator below 5 V output is synchronous. With a 50 °C/W thermal resistance, Q1 runs about 13 °C above ambient, while the Schottky diode heats up by almost 40 °C.
Operating Modes: CCM, BCM and DCM
The inductor current ripple stays the same as the load drops, but the average current falls. At some point the valley of the triangle touches zero.
- Continuous Conduction Mode (CCM): inductor current never reaches zero. Vout = D × Vin holds, and the design equations above apply.
- Boundary Conduction Mode (BCM): the current just touches zero at the end of each cycle. This happens at Iout = ΔI / 2, about 0.36 A (12% load) in our example.
- Discontinuous Conduction Mode (DCM): below the boundary, the current stays at zero for part of each cycle. A diode buck enters DCM naturally because the diode blocks reverse current. The duty cycle shrinks with load, and the switch node rings during the idle time.
- Forced PWM (FPWM): a synchronous buck that keeps Q2 on for the full off-time lets the current go negative instead of entering DCM. Frequency stays fixed and ripple stays low, but light-load efficiency suffers. Many controllers use diode emulation or pulse-skipping to avoid this.
Drag the load slider in the calculator below to see the waveform move from CCM into DCM or negative current.
Synchronous vs Asynchronous Buck Converter
| Feature | Asynchronous (diode) | Synchronous (MOSFET) |
|---|---|---|
| Low-side device | Schottky diode | N-channel MOSFET |
| Efficiency | Lower, especially at low Vout | Higher (95%+ common) |
| Cost and complexity | Simple and cheap | Needs a driver with dead-time control |
| Light-load behavior | Natural DCM | FPWM or diode emulation |
| Shoot-through risk | None | Yes, if dead time is wrong |
| Best for | High Vout, low current, low cost | Low Vout, high current, battery devices |
PCB Layout Tips for Buck Converters
- Keep the hot loop small. The loop formed by Cin, Q1 and Q2 (or D1) carries sharp pulsed current. Place Cin right next to the switches.
- Keep the switch node small. SW is a fast-changing high-voltage node that radiates noise. Use only as much copper as needed for current and heat.
- Route feedback away from SW and the inductor. Connect the feedback divider at the output capacitor, not at the inductor.
- Use a solid ground plane and multiple vias under power components.
- Use a shielded inductor to reduce magnetic interference with nearby circuits.
Common Buck Converter Design Mistakes
- Choosing an inductor by inductance only and ignoring saturation current.
- Trusting a ceramic capacitor’s printed value. A small 10 µF 10 V MLCC may give only 4 to 5 µF at 5 V DC bias.
- Designing the inductor at nominal Vin instead of Vin(max).
- Forgetting the input capacitor ripple current rating.
- Picking MOSFETs rated exactly at Vin with no margin for ringing.
- Running at a duty cycle so small that on-time falls below the controller’s minimum on-time.
Buck Converter Design Checklist
- Define Vin range, Vout, Iout, ripple targets and fsw.
- Calculate D at Vin(max) and check minimum on-time.
- Choose ripple ratio (30%) and calculate L. Round up to a standard value.
- Check Ipk and pick Isat ≥ 1.25 × Ipk.
- Size Cout for ripple and ESR, then add DC-bias margin.
- Size Cin for ripple voltage and ripple current.
- Select MOSFETs or diode with 30% voltage margin.
- Estimate losses, efficiency and junction temperature.
- Check the CCM/DCM boundary and light-load behavior.
- Lay out the PCB with a tight hot loop and test with real load.
Try the Live Buck Converter Design Calculator
Use the calculator below to design your own buck converter. Enter your input and output voltage, load current, frequency and device parameters. It instantly selects the inductor and capacitors, shows the voltage and current stress on every device, breaks down power loss and efficiency, estimates junction temperatures, detects the operating mode and draws the live switch node, inductor current and output ripple waveforms.
Buck Converter Design Calculator
Enter your specs. Every value, rating, loss and the waveform updates live as you type.
Operation mode: switching period
Component value selection
Voltage and current of each device
Power, losses and temperature
Live waveforms
Estimates for first-pass design. Core loss, dead-time and layout parasitics are not modeled, so expect real efficiency a little lower. Confirm with your controller datasheet.
