Skip to main content
⚡ Power Electronics

Buck / Boost Converter Calculator

From input and output voltage, load current and switching frequency, get the duty cycle, inductor value, output capacitor and peak inductor current for a step-down (buck) or step-up (boost) SMPS.

Duty cycle
Inductor L
Output cap
Peak current
100% Free
⚡ Open Full Electrical Calculator 📖 Read the Guide

Buck / Boost — Quick answer

The duty cycle sets the voltage ratio; the inductor is sized to limit ripple current, and the output capacitor to limit ripple voltage.

Buck: D = Vout/Vin  |  L = Vout(Vin−Vout) / (Vin·ΔIL·fsw)
Boost: D = 1 − Vin/Vout  |  IL = Iout/(1−D)

Worked example (buck): 12 V → 5 V, 2 A load, 500 kHz, 30% ripple. D = 0.42, L ≈ 9.7 µH, Cout3 µF for 1% ripple, peak inductor current ≈ 2.3 A.

Buck vs boost at a glance

TopologyDuty DInductor current
Buck (step-down)Vout/Vin= Iout
Boost (step-up)1 − Vin/Vout= Iout/(1−D)

Used for: DC-DC power supplies, battery chargers, LED drivers, point-of-load regulators.

⚡ Buck / Boost Converter Calculator

Pick the topology and enter the operating point. Ripple defaults (30% current, 1% voltage) suit most designs.

Duty cycle D
Inductor L
Output capacitor
Peak inductor current

⚠️ Ideal continuous-conduction (CCM) equations, lossless. Add ~10–20% inductor margin, choose the next standard value up, and verify saturation current exceeds the peak.

A switching converter moves power by storing it in an inductor and releasing it, switching tens of thousands to millions of times a second. How long the switch stays on each cycle — the duty cycle — sets the output voltage. The inductor is then chosen so the current ripples by only a controlled amount, and the output capacitor so the voltage ripples by only a controlled amount. Get those three right and you have the skeleton of a working buck or boost design; everything else is component selection and layout.

Reviewed: June 19, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: TI / onsemi DC-DC design references (CCM).

The converter equations (CCM)

Buck duty & inductor
D = Vout/Vin  ·  L = Vout(Vin−Vout) / (Vin · ΔIL · fsw)
Boost duty & inductor
D = 1 − Vin/Vout  ·  L = Vin · D / (ΔIL · fsw)
Output capacitor
Buck: C = ΔIL / (8 fsw ΔVout)  ·  Boost: C = Iout D / (fsw ΔVout)

In a boost the inductor sits in the input path and carries the input current, which is larger than the load by 1/(1−D). That is why boost inductors and switches must be rated well above the output current — a 2 A boost output at D = 0.5 draws 4 A through the inductor. The peak inductor current adds half the ripple on top of that average, and your inductor's saturation rating must clear it.

Worked example — 12 V to 5 V buck at 2 A

Scenario: Step 12 V down to 5 V at 2 A, switching at 500 kHz, allowing 30% ripple current and 1% output ripple.

Duty & ripple
D = 5/12 = 0.42  ·  ΔIL = 0.30 × 2 = 0.6 A
Inductor
L = 5(12−5)/(12 × 0.6 × 500k) = 35/3.6M ≈ 9.7 µH
Output capacitor & peak current
C = 0.6/(8 × 500k × 0.05) ≈ 3 µF  ·  Ipk = 2 + 0.3 = 2.3 A

Round the inductor up to a standard 10 µH part rated for at least ~2.5 A saturation, and use a 4.7–10 µF ceramic output capacitor to leave margin for ESR and tolerance. The switch and diode (or synchronous FET) must handle the 12 V input and the 2.3 A peak.

Frequently Asked Questions

What is the duty cycle of a buck converter?

D = Vout/Vin for an ideal buck. 12 V → 5 V gives D ≈ 0.42 (switch on 42% of each cycle). Real designs run slightly higher to cover losses.

How do I choose the inductor?

Allow 20–40% ripple current, then L = Vout(Vin−Vout)/(Vin·ΔIL·fsw) for a buck. More ripple or higher frequency → smaller inductor. Check saturation current.

Buck vs boost converter?

Buck steps down (Vout<Vin); boost steps up (Vout>Vin). A boost's inductor carries Iout/(1−D), higher than the load current.

How do I size the output capacitor?

Buck: C = ΔIL/(8·fsw·ΔVout). Boost: C = Iout·D/(fsw·ΔVout). Lower ripple or frequency needs more capacitance; ESR often dominates real ripple.

What switching frequency should I use?

Higher frequency shrinks L and C but adds switching loss and EMI. 100 kHz–2 MHz is typical; 300–500 kHz is a common balance.

Ready to perform complete calculations?

Use the full AI Calculator suite for power electronics with a professional PDF report.

⚡ Open Full Calculator — Free

No registration required · 350+ engineering calculators · PDF report export

Standards & method

✓ Independently verified 12 July 2026
Basis
First principles
Method
Ideal switching-converter relations in continuous conduction mode (CCM). Real efficiency is 85–95%.
Core formula
Buck: V_out = D·V_in  ·  Boost: V_out = V_in/(1−D)  ·  Buck-boost: V_out = −V_in·D/(1−D)
Why this matters
These hold in continuous conduction mode only. At light load the converter enters discontinuous mode and the output voltage rises above the formula. Boost converters also cannot be short-circuit protected by the switch — there is a direct path from input to output through the inductor and diode.
Independently verified
12 July 2026 — Formula re-derived from first principles and verified numerically against hand-computed reference cases, including edge cases and unit handling.

Results are for guidance. Verify against the current edition of the governing standard and have a qualified professional review before use in practice.