Saved

Press the star next to a tool's name to save it.

All my tools

DC-DC Converter Calculator

Use this DC-DC converter calculator to find the duty cycle and the output voltage of a buck or a boost converter, and the ripple current in its inductor from the frequency and inductance.

Restored your last values ·

Choose a buck or a boost converter. Enter the input voltage and either the output voltage you want or the duty cycle. Add the switching frequency and the inductance to get the ripple current in the inductor.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the input voltage and the output voltage or the duty cycle, then press Calculate.

See full result

A DC-DC converter calculator finds the duty cycle that a buck or a boost converter needs to turn one voltage into another. Enter the input voltage and the output voltage, or the duty cycle. Add the switching frequency and the inductance to get the ripple current, and for a buck converter the boundary of continuous conduction and the output ripple.

How to use the DC-DC converter calculator

  1. Choose a buck or a boost converter.
  2. Enter the input voltage and the output voltage or duty cycle.
  3. Add the frequency and the inductance for the ripple.
  4. Press Calculate.

The buck converter

A buck converter steps a voltage down. In continuous conduction the output voltage is the input voltage times the duty cycle, V_o = D V_i, where the duty cycle D is the share of each period for which the switch is on [1]. It can only lower the voltage, so V_o is never above V_i [1]. The page gives an example: stepping 12 volts down to 3 volts needs a duty cycle of 25 percent [1].

The boost converter

A boost converter steps a voltage up. Its ideal transfer function is V_o ÷ V_i = 1 ÷ (1 − D), so the duty cycle for a given step is D = 1 − V_i ÷ V_o [2]. To raise 5 volts to 12 volts, the duty cycle is 58.3 percent. The page mentions examples such as raising a single 1.5 volt cell to the 3.3 volts of a white LED, and a hybrid car that boosts 202 volts to 500 volts [2].

Choosing the mode

Enter the output voltage that you want and the calculator gives the duty cycle, or enter a duty cycle and it gives the output voltage. A buck converter needs a duty cycle of 41.67 percent to make 5 volts from 12 volts, and a duty cycle of 25 percent to make 3 volts. The calculator tells you when the step is in the wrong direction for the type that you chose.

Inductor ripple

The current in the inductor rises while the switch is on, by ΔI = (V_i − V_o) ÷ L × t_on for a buck converter, where t_on = D T and T is the switching period [1]. For a boost converter, the rise is ΔI = D T V_i ÷ L [2]. A buck converter from 12 to 5 volts at 100 kilohertz with a 100 microhenry inductor has a ripple of 0.2917 amperes. A boost from 5 to 12 volts has the same figure in this case.

Continuous conduction

The formulas hold only while the inductor current never falls to zero. The page gives the limit for a buck converter: the boundary is reached when the current falls to zero exactly at the end of the period, at a load current of V_i D (1 − D) T ÷ 2L [1]. In the example above, that is 0.1458 amperes. Below it, the converter runs in discontinuous mode, where the output depends on the load, and the formulas here do not hold.

Output ripple

The page gives the peak-to-peak output voltage ripple of a buck converter as ΔV = ΔI T ÷ 8C, and warns that its own text on this point may be inaccurate, comparing the factor of 8 with about 6.3 for a sine-like current [1]. Treat the figure as an estimate. With a 100 microfarad capacitor, the example above has about 3.6 millivolts of ripple. The calculator does not give an output ripple for the boost converter.

Efficiency

The page says that the efficiency of a buck converter is often over 90 percent [1], much better than a linear regulator that wastes the voltage difference as heat. The formulas here are for an ideal converter. The real output is a little lower, because of the drop across the switch and the diode and the resistance of the inductor, so the duty cycle in practice is slightly higher.

Units

Enter the voltages in volts, the duty cycle in percent, the frequency in kilohertz, the inductance in microhenries and the capacitance in microfarads. The calculator converts the frequency to the period, and gives the currents in amperes. The working line shows the period in microseconds and the inductance that were used, so you can check them.

Limits

The calculator covers only the buck and the boost, and only in continuous conduction. It does not cover the buck-boost, the transformer-based converters or synchronous designs, and it gives no losses. For a real design, check the peak current in the switch, which is the load current plus half the ripple, and choose parts with a margin.

Using the calculator

Pick the type, enter the voltages, and then the frequency and inductance to see the ripple. To lower the ripple, increase the inductance or the frequency, and watch how the result changes. Compare the ripple with a fraction, often 20 to 40 percent, of the load current, a common design target that is our own rule of thumb.

Duty cycle limits

In practice, duty cycles close to 0 or close to 100 percent are hard to realise, because the switch needs a minimum on-time and off-time. A boost converter with a very large step, such as from 5 to 50 volts, needs a duty cycle of 90 percent, and becomes inefficient. If the calculator gives a very high duty cycle for a boost, consider a transformer-based design.

Common mistakes

  • Using a buck converter to step up. It can only step down.
  • Using the formulas in discontinuous mode. Check the boundary current.
  • Forgetting the ripple in the peak current. Add half the ripple.
  • Entering the frequency in hertz. The box takes kilohertz.

What next

Use this often? Add DC-DC Conver to your Home screen.

Frequently asked questions

What is a DC-DC converter calculator?

A tool that finds the duty cycle and ripple of a buck or a boost converter.

What is the output voltage of a buck converter?

V_o = D V_i in continuous conduction.

What is the output voltage of a boost converter?

V_o = V_i ÷ (1 − D).

What duty cycle gives 3 V from 12 V in a buck converter?

25 percent.

When is continuous conduction lost?

When the inductor current falls to zero before the end of the period, at light load.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools