Buck Converter - Duty Cycle and Inductor Sizing

Free buck converter calculator that finds duty cycle, inductor value, and output capacitor for continuous conduction mode DC-DC step-down designs.

Updated: June 20, 2026 • Free Tool

Buck Converter

DC supply voltage feeding the buck converter input. Must be greater than the target output voltage for a true buck step-down.

Required DC output voltage at the load. Must be lower than Vin for a buck step-down.

Transistor switching frequency in hertz. Typical buck converters run between 50 kHz and 1 MHz.

Output power the converter must deliver to the load in watts.

Allowed peak-to-peak inductor ripple as a fraction of the average inductor current. 0.2 to 0.4 is a common engineering starting point.

Allowed peak-to-peak output voltage ripple as a fraction of Vout. 0.01 to 0.05 is typical for analog rails.

Results

Output Voltage
0V
Duty Cycle 0%%
Load Current 0A
Load Resistance 0ohm
Average Inductor Current 0A
Average Switch Current 0A
Average Diode Current 0A
Inductor Ripple Current 0A
Output Voltage Ripple 0V
Required Inductance 0
Required Output Capacitance 0

What Is Buck Converter?

A buck converter calculator solves the steady-state design equations for a step-down DC-DC switching converter. A buck converter takes a higher DC input voltage and produces a lower DC output voltage by storing energy in an inductor while the switch is closed and releasing that energy into the output capacitor and load while the switch is open. This calculator works in continuous conduction mode (CCM) and returns the duty cycle, output voltage, average currents, inductor value, and output capacitor from your input voltage, target output, switching frequency, and load.

  • Step a 12 V rail down to 5 V logic: The buck converter calculator picks L and C values to convert a 12 V bus into a regulated 5 V rail for microcontrollers and USB peripherals.
  • Verify a switching regulator design: Use the buck converter calculator to confirm the duty cycle and ripple targets a textbook problem needs before picking a controller IC and inductor.
  • Teach continuous conduction mode: Walk students through Vout = Vin * D and the ripple budgets used in power-electronics courses.
  • Compare buck and boost topologies: Estimate the inductor current and ripple when stepping a supply down to a lower rail for an LED string with the calculator.

A buck converter is one of three basic PWM DC-DC switching topologies along with the boost (step-up) and buck-boost converters. Because the output is always below the input, the inductor current equals the load current on average. The calculator treats the converter as lossless, with switch on-resistance, diode forward drop, and inductor DCR neglected.

When the load instead requires a higher rail than the supply, Boost Converter handles the step-up side of the same DC-DC design family.

How Buck Converter Works

The calculator applies volt-second balance to the buck inductor and charge balance to the output capacitor, both over one switching period.

Vout = Vin * D
  • Vin: DC supply voltage feeding the buck converter input.
  • Vout: Average DC output voltage at the load.
  • D: Switch duty cycle, the fraction of each switching period that the transistor is on.
  • f: Switching frequency in hertz, set by the controller IC.
  • Pout: Output power delivered to the load in watts.

Once the duty cycle is known, the load current Iout = Pout / Vout and the load resistance R = Vout / Iout follow directly. In continuous conduction mode the inductor carries Iout on average, the switch only conducts during the on-time so the period-averaged switch current is D * Iout, and the diode only conducts during the off-time so the period-averaged diode current is (1 - D) * Iout. The required inductance L = (Vin - Vout) * D / (f * dIL) and the required output capacitance C = dIL / (8 * f * dVout) keep the ripple inside the budget.

Worked example: 12 V to 5 V at 100 kHz

Vin = 12 V, Vout = 5 V, f = 100 kHz, Pout = 5 W, ripple 30 percent, output ripple 5 percent.

D = 5 / 12 = 0.4167, Iout = 1 A, IL = 1 A, Isw = 0.4167 A, Id = 0.5833 A, L = (12 - 5) * 0.4167 / (100000 * 0.3) = 97 uH, C = 0.3 / (8 * 100000 * 0.25) = 1.5 uF.

Output 5 V, duty 41.7 percent, inductor 97 uH, capacitor 1.5 uF.

The 12 V supply is reduced to 5 V at a duty cycle just under 42 percent. The inductor must be at least 97 uH to keep ripple inside 30 percent of the 1 A average.

According to Texas Instruments application note SLVA477, applying volt-second balance to the buck inductor in continuous conduction mode gives the steady-state transfer function Vout/Vin = D.

To convert the load power into the load resistance used by the buck converter calculator, Ohm's Law Calculator handles the V = IR relationship directly.

Key Concepts Explained

Four concepts describe how the calculator handles a switching converter and what each one means inside a design.

Continuous conduction mode (CCM)

The inductor current never falls to zero during a switching period. CCM is the assumption behind Vout = Vin * D and lets the calculator use the simple averaged model.

Duty cycle D

The fraction of each switching period that the high-side transistor is on. In a buck converter D = Vout / Vin and must stay strictly between 0 and 1.

Inductor ripple budget

The peak-to-peak current swing on the buck inductor, expressed as a fraction of the average. 20 to 40 percent is common and directly sets the required L.

Output ripple budget

The peak-to-peak voltage swing on the output, expressed as a fraction of Vout. The required output capacitance falls out of this budget together with the inductor ripple and frequency.

If the inductor current touches zero the converter enters discontinuous conduction mode (DCM), and the simple transfer function no longer holds. The calculator stays in CCM because that is where the closed-form formulas come from. If your load is so light that DCM becomes likely, lower the inductor ripple fraction or raise the switching frequency so the average inductor current stays above half of its peak-to-peak ripple.

A buck converter and a resistive divider both scale a voltage down, so Voltage Divider Calculator is a useful companion when you explain why a switching converter beats a linear regulator for efficiency.

How to Use This Calculator

Six numbered steps walk through a typical design pass. The example uses 12 V in, 3.3 V out, 250 kHz, and 3.3 W.

  1. 1 Enter the input voltage: Type the DC supply voltage. A 12 V lead-acid rail is 12 V, a USB-C PD rail can be 5 V, 9 V, or 15 V, and a 24 V industrial bus is 24 V.
  2. 2 Enter the target output voltage: Type the DC voltage the load needs. The calculator returns D = Vout / Vin once Vout is lower than Vin.
  3. 3 Enter the switching frequency: Pick the frequency from the controller datasheet. Most buck controllers run between 100 kHz and 1 MHz; faster switching shrinks the inductor but raises switching losses.
  4. 4 Enter the load power: Type the output power the load draws in watts. The calculator converts this into load current and load resistance internally.
  5. 5 Set the ripple fractions: Choose the inductor ripple fraction (0.2 to 0.4 is common) and the output ripple fraction (0.01 to 0.05 for analog rails).
  6. 6 Read the required inductance and capacitance: Use the calculated L and C as a starting point. Real designs pick the next standard E-series value above the calculated minimum.

For a 12 V supply that must power a 3.3 V, 3.3 W microcontroller rail at 250 kHz with 30 percent inductor ripple and 2 percent output ripple, the buck converter calculator returns D = 27.5 percent, L = 32 uH, and C = 2.27 uF. A real board would pick a 33 uH inductor and a 4.7 uF X7R ceramic.

Benefits of Using This Calculator

Five reasons students, hobbyists, and practising engineers prefer the buck converter calculator over solving the equations by hand each time.

  • Saves design time: The buck converter calculator returns duty cycle, inductor value, and output capacitor value in one pass so you move from spec to bill of materials quickly.
  • Catches invalid designs early: Flags requested Vout at or above Vin, switching frequencies at zero, and ripple fractions of zero that would force infinite L or C.
  • Connects theory to numbers: The transfer function taught in class becomes a concrete L and C value for a specific Vin, Vout, and load.
  • Makes ripple budgets visible: Entering inductor and output ripple fractions turns an abstract specification into a pair of concrete component values.
  • Supports homework and lab prep: Students confirm their hand calculations before building a circuit, which makes troubleshooting easier when measurements disagree.

Treat the output as a starting point rather than a final answer. Real converters also need to budget for switch on-resistance, diode forward drop, inductor DCR, output capacitor ESR, and the controller current limit. Once the basic design is in place, fine-tune the inductor and capacitor on the bench with an oscilloscope to confirm the ripple stays inside the agreed limits.

Factors That Affect Your Results

Five factors drive the design numbers returned by the calculator. The first three are inputs it accepts; the last two are real-world caveats.

Switching frequency

Higher frequency shrinks the inductor and the capacitor but raises switching losses in the transistor and the diode.

Inductor ripple fraction

A larger ripple fraction lets the inductor be smaller but increases RMS conduction losses and core losses in the inductor.

Output ripple fraction

A tighter output ripple budget forces a larger output capacitor, which costs board area and may require ceramics with low DC bias.

Switch and diode losses

Real switch on-resistance and diode forward drop reduce the achieved output voltage and add heat. The buck converter calculator assumes ideal components, so subtract these drops from the ideal Vout before sizing the converter.

Inductor DCR and saturation

Pick an inductor whose saturation current is at least the average plus half the ripple, and whose DCR is small compared with the load so that conduction loss stays manageable.

  • The calculator assumes continuous conduction mode (CCM). At light load the converter may slip into discontinuous conduction mode (DCM), where the Vout = Vin * D relation no longer holds.
  • The calculator uses an ideal lossless model. Switch on-resistance, diode forward drop, inductor DCR, output capacitor ESR, and switching losses are not modelled, so reserve headroom on the duty cycle and on the input current limit of the chosen controller.

If the calculator returns a duty cycle above about 80 percent, the converter is close to the passthrough limit and any drop in Vin or rise in Iout can push Vout out of regulation. Below 10 percent the step-down ratio is large and the inductor ripple becomes a larger fraction of the load current, so revisit the topology.

According to Texas Instruments application note SLVSA14 (Understanding Buck Power Stages in Switchmode Power Supplies), the output capacitance required for a target peak-to-peak ripple voltage dVout in continuous conduction mode is C = dIL / (8 * f * dVout).

According to MIT OpenCourseWare 6.622 Power Electronics, the buck converter only stays in continuous conduction mode while the average inductor current is above half the peak-to-peak ripple current.

To size the input bulk capacitor against the supply impedance, Capacitor Charge Time Calculator applies the same RC time constant analysis to a different stage of the converter.

Buck converter calculator that solves duty cycle, output voltage, inductor, and output capacitor for DC-DC step-down designs.
Buck converter calculator that solves duty cycle, output voltage, inductor, and output capacitor for DC-DC step-down designs.

Frequently Asked Questions

Q: How is the duty cycle of a buck converter calculated?

A: In continuous conduction mode the buck converter duty cycle is D = Vout / Vin, where Vin is the DC input voltage and Vout is the target output voltage. A buck converter cannot step up, so Vout must be lower than Vin or the duty cycle is at least 1.

Q: What is the formula for buck converter output voltage?

A: The buck converter output voltage is Vout = Vin * D, where D is the duty cycle and Vin is the DC input voltage. The equation comes from volt-second balance on the buck inductor in continuous conduction mode and assumes an ideal switch, diode, and inductor.

Q: How do you size the inductor for a buck converter?

A: The required buck inductance is L = (Vin - Vout) * D / (f * dIL), where Vin is the input voltage, Vout is the target output voltage, D is the duty cycle, f is the switching frequency, and dIL is the allowed peak-to-peak ripple current on the inductor. Pick the next standard inductor value above the calculated L.

Q: How do you size the output capacitor for a buck converter?

A: The required output capacitance is C = dIL / (8 * f * dVout), where dIL is the peak-to-peak inductor ripple current, f is the switching frequency, and dVout is the allowed peak-to-peak output voltage ripple. Choose the next standard capacitor value above this minimum and check the capacitor ESR against the ripple target.

Q: What is the difference between continuous and discontinuous conduction mode?

A: In continuous conduction mode (CCM) the buck inductor current never falls to zero during a switching period, so the simple transfer function Vout = Vin * D holds. In discontinuous conduction mode (DCM) the inductor current touches zero each cycle and the transfer function changes because the diode stops conducting before the next switch turn-on.

Q: Why does a buck converter need a diode and an inductor?

A: The inductor stores energy from the input while the transistor switch is on, and the freewheeling diode keeps current flowing into the load while the switch is off. Without the inductor the converter cannot store energy, and without the diode the inductor current has nowhere to go when the switch opens.