Free Online Engineering Tools

Buck Converter Calculator

Design a Buck (Step-Down) DC-DC converter: compute duty cycle, inductor value, ripple current, output capacitor, voltage ripple, input current, efficiency, and power - with a live schematic and four dynamic waveforms.

📋 Input Parameters
Input Voltage (VIN)
V
Output Voltage (VOUT)
V
Output Current (IOUT)
A
Switching Frequency (fSW)
kHz
Inductor Ripple (% of IOUT)
%
Voltage Ripple (% of VOUT)
%
Efficiency (η)
%
✦ Results
Duty Cycle (D)
0.556
Inductor (L)
40.0µH
Ripple Current (ΔIL)
0.900A
Peak Inductor Current
3.45A
Output Capacitor (COUT)
16µF
Voltage Ripple (ΔVOUT)
0.120V
Input Current (IIN)
1.67A
Input Power (PIN)
40.00W
Output Power (POUT)
36.00W
Power Loss (PLOSS)
4.00W
All calculations are ideal. Add design margin for real-world conditions.
⚡ Buck Converter Topology
+ VIN 24V SW D=0.56 D L 40.0 µH COUT 16 µF RLOAD VOUT 12 V IOUT=3.0A
🧮 Detailed Calculation Breakdown
Step 1 — Duty Cycle
D = VOUT / (VIN × η)
Step 2 — Ripple Current
ΔIL = ripple% × IOUT
Step 3 — Inductor
L = (VIN − VOUT) × D / (ΔIL × fSW)
Step 4 — Output Capacitor
COUT = ΔIL / (8 × fSW × ΔVOUT)
Step 5 — Peak & Output Power
Ipeak = IOUT + ΔIL/2 ; POUT = VOUT×IOUT
Step 6 — Input Power & Loss
PIN = POUT/η ; IIN = PIN/VIN ; PLOSS = PIN−POUT
📐 Key Formulas
Duty Cycle (D)
D = VOUTVIN × η
Inductor (L)
L = (VIN − VOUT) × DΔIL × fSW
Output Capacitor (COUT)
COUT = ΔIL8 × fSW × ΔVOUT
🔤 Symbol Legend
V_IN = Input Voltage (V)
V_OUT = Output Voltage (V)
I_OUT = Output Current (A)
f_SW = Switching Frequency (Hz)
L = Inductor (H)
C_OUT = Output Capacitor (F)
ΔI_L = Inductor Ripple Current (A)
ΔV_OUT = Output Voltage Ripple (V)
η = Efficiency (%)
📈 Live Waveforms & Performance Curves
🔺 Inductor Current (triangular ripple)
⬛ Switch-Node Voltage (V_SW)
📉 Duty Cycle vs. Output Voltage
🔥 Power Loss vs. Efficiency
ℹ️
The inductor current swings ±0.45 A around the 3.0 A average (peak 3.45 A). The switch node toggles between V_IN and ~0 V at 100 kHz with duty 0.56. All results assume continuous conduction mode (CCM).

Buck Converter Calculator: Complete Design Guide

A buck converter - also called a step-down converter - is a switching DC-DC power supply that efficiently converts a higher input voltage into a lower regulated output voltage. Unlike a linear regulator that wastes the voltage difference as heat, a buck converter rapidly switches a transistor and uses an inductor and capacitor to store and smooth energy, reaching efficiencies of 85-98%. This calculator computes every key design parameter and shows the result on a live schematic and four dynamic waveforms, making it an ideal tool for engineers, students, and hobbyists designing switching regulators.

How a Buck Converter Works

During the switch-on phase, current flows from the input through the high-side switch and inductor to the load, storing energy in the inductor while the capacitor charges. During the switch-off phase, the inductor maintains current flow through the freewheeling diode (or synchronous low-side switch), delivering its stored energy to the load. The fraction of each cycle that the switch is on is the duty cycle, and it directly sets the output voltage.

Duty Cycle

The duty cycle is the heart of buck converter operation. For an ideal converter it equals the simple voltage ratio; including efficiency raises it slightly because the converter must draw a little extra to cover its losses.

D = VOUT / (VIN × η)

• D = Duty cycle (0-1)
• VOUT = Output voltage (V)
• VIN = Input voltage (V)
• η = Efficiency (fraction)

Inductor Selection

The inductor sets the ripple current - the triangular ripple riding on top of the DC output current. A common rule of thumb targets 20-40% of the output current. Too little ripple needs a large, expensive inductor; too much ripple stresses the capacitor and switch.

ΔIL = ripple% × IOUT

L = (VIN − VOUT) × D / (ΔIL × fSW)

Peak current: Ipeak = IOUT + ΔIL / 2

Always choose an inductor with a saturation current rating above the calculated peak current, with margin for transients.

Output Capacitor Selection

The output capacitor absorbs the inductor's ripple current and holds the output voltage steady between switching events. Its value is chosen to keep the output voltage ripple within a target, often 0.5-2% of the output voltage.

ΔVOUT = ripple% × VOUT

COUT = ΔIL / (8 × fSW × ΔVOUT)

In real designs the capacitor's equivalent series resistance (ESR) often contributes more ripple than its capacitance, so low-ESR ceramic or polymer capacitors are preferred.

Input Current, Power, and Efficiency

A buck converter steps voltage down and current up: the input current is lower than the output current. Because the converter conserves power (minus losses), the input power is the output power divided by efficiency, and the difference is dissipated as heat.

POUT = VOUT × IOUT

PIN = POUT / η

IIN = PIN / VIN

PLOSS = PIN − POUT

Quick Reference: All Buck Converter Formulas

ParameterFormulaTypical Range
Duty CycleD = VOUT / (VIN × η)0.1 – 0.9
Ripple CurrentΔIL = ripple% × IOUT20 – 40% of IOUT
InductorL = (VIN − VOUT) × D / (ΔIL × fSW)µH – mH range
Peak CurrentIpeak = IOUT + ΔIL / 2Always > IOUT
Output CapacitorCOUT = ΔIL / (8 × fSW × ΔVOUT)µF range
Output PowerPOUT = VOUT × IOUT
Input PowerPIN = POUT / η
Input CurrentIIN = PIN / VINAlways < IOUT
Power LossPLOSS = PIN − POUT2 – 15% of POUT
CCM BoundaryΔIL < 2 × IOUTTrough current > 0 A

Worked Example: 24 V → 12 V at 3 A

⚡ Example — Buck Converter: 24 V → 12 V, 3 A, 100 kHz
GivenVIN = 24 V  |  VOUT = 12 V  |  IOUT = 3 A  |  fSW = 100 kHz  |  ripple = 30%  |  ΔVOUT = 1%  |  η = 90%
Step 1Duty cycle: D = 12 / (24 × 0.9) = 0.556   (55.6% on-time each cycle)
Step 2Ripple current: ΔIL = 0.30 × 3 = 0.9 A   |   Peak: Ipeak = 3 + 0.45 = 3.45 A
Step 3Inductor: L = (24 − 12) × 0.556 / (0.9 × 100 000) = ≈ 40 µH   (rated > 3.45 A sat.)
Step 4Output cap: COUT = 0.9 / (8 × 100 000 × 0.12) = ≈ 16 µF   (low-ESR ceramic)
Step 5Power: POUT = 12 × 3 = 36 W  |  PIN = 36 / 0.9 = 40 W  |  IIN = 40 / 24 = 1.67 A
ResultD = 0.556  |  L = 40 µH  |  COUT = 16 µF  |  Ipeak = 3.45 A  |  PLOSS = 4 W

Reading the Waveforms

Continuous vs. Discontinuous Conduction Mode

These formulas assume continuous conduction mode (CCM), where the inductor current never reaches zero. At light loads or with small inductors the converter may enter discontinuous conduction mode (DCM), changing the voltage relationship. Keeping the ripple below twice the output current (so the trough stays above zero) ensures CCM.

Design Tips and Best Practices

GoalAction
Lower ripple currentIncrease inductor value or switching frequency
Smaller componentsRaise switching frequency (watch switching losses)
Lower output rippleLarger / lower-ESR output capacitor
Higher efficiencyUse a synchronous (low-side MOSFET) topology
Reliable inductorRate saturation current above I_peak with margin
Stay in CCMKeep ΔI_L below ~40% of I_OUT

Common Applications

Frequently Asked Questions

Can a buck converter output a voltage higher than its input?

No. A buck converter can only step voltage down. For step-up conversion use a boost converter, or a buck-boost for both.

What happens if I increase the switching frequency?

Higher frequency lets you use a smaller inductor and capacitor for the same ripple, but increases switching losses in the transistor and diode, which can lower efficiency and raise temperature.

Why is my real duty cycle higher than Vout/Vin?

Because the converter must supply its own losses. Dividing by efficiency accounts for this, giving D = Vout / (Vin × η).

CCM vs DCM — Key Differences

CCM (Continuous Conduction Mode)DCM (Discontinuous Conduction Mode)
Inductor current trough> 0 A — never reaches zero= 0 A — reaches zero each cycle
ConditionΔIL < 2 × IOUTΔIL ≥ 2 × IOUT
Duty cycle formulaD = VOUT / (VIN × η)More complex — depends on load
Output rippleLower (standard formulas apply)Higher — needs larger capacitor
When it occursNormal/heavy load conditionsLight load or large inductor
This calculator✅ All formulas valid⚠️ Results approximate only

Buck Converter vs Boost vs Linear Regulator

FeatureBuck ConverterBoost ConverterLinear Regulator (LDO)
Output vs InputVOUT < VINVOUT > VINVOUT < VIN
Efficiency85 – 98%80 – 95%(VOUT/VIN) × 100%
Noise / RippleLow (switching artefacts)Higher (large output cap needed)Very low (ideal for analog)
Component countL, C, switch, diodeL, C, switch, diodeIC only (no inductor)
Heat dissipationLow — losses as switchingLow — losses as switchingHigh — (VIN − VOUT) × IOUT
Best forHigh-current step-downStep-up from battery/low railLow-noise / low-dropout analog

Frequently Asked Questions

Can a buck converter output a voltage higher than its input?

No. A buck converter can only step voltage down (VOUT < VIN). For step-up use a boost converter, or a buck-boost for both directions.

What happens if I increase the switching frequency?

Higher frequency allows a smaller inductor and capacitor for the same ripple, but increases switching losses in the transistor and diode, which can lower efficiency and raise temperature. Typical modern ICs use 200 kHz – 2 MHz.

Why is my real duty cycle higher than VOUT/VIN?

Because the converter must supply its own losses. D = VOUT / (VIN × η) accounts for this. A 90% efficient converter needs about 11% more duty cycle than the ideal formula predicts.

How do I reduce output voltage ripple?

Increase the output capacitor value, use a lower-ESR type (ceramic or polymer), increase the switching frequency, or increase the inductor value to reduce ΔIL. All four reduce output voltage ripple.

What is the minimum input voltage for a buck converter?

The output voltage sets the minimum: VIN(min) = VOUT / Dmax. Most integrated buck controllers have a maximum duty cycle of 85–100%, setting the minimum input accordingly.

Related Calculators