Lelifi·tools

Inverting Buck-Boost Converter Calculator

Duty cycle is |Vout| / (|Vout| + efficiency x Vin), so 12 V to -5 V at 85% efficiency runs at 0.329. That is the real figure, not the 0.294 an ideal converter would use. The inductor then carries 3.73 A for a 2.5 A load, and the switch must stand 17 V.

Enter the input rail, the negative output you need, and the switching frequency. Results update as you type.

ItemIdeal, no lossesWith efficiency
Duty cycle D
Conversion ratio |Vout| / Vin
Average inductor current
Peak inductor current
Valley inductor current
Inductor value for this ripple
Output capacitor for this ripple
Peak to peak inductor ripple
Switch and diode voltage stress
Input current from the supply
Power lost as heat

All calculations run in your browser, and nothing you type is uploaded or stored.

Enter the input rail, the negative output and the switching frequency for an inverting buck-boost, and get duty cycle, inductor, peak current and switch stress, with and without losses.

By the Lelifi editors ·

Key takeaways

Duty cycle against output magnitude at 12 V inputOutput magnitude (V)Duty cycle (%)3→22.75→32.96→37.09→46.912→54.1
Duty cycle for a 12 V input as the negative output grows, using the efficiency form of the equation at 85 percent.
The 12 V to -5 V design, line by lineVin 12 V, output -5 V, load 2.5 A, 85% efficientD = 5 / (5 + 0.85 x 12) = 0.329Average IL = 2.5 / (1 - 0.329) = 3.73 ARipple at 30% = 0.30 x 2.5 = 0.75 APeak IL = 3.73 + 0.375 = 4.10 AL = 3.95 / (400000 x 0.75) = 0.0000132 H= 13.2 uH, standard part 10 uH400 kHz switching, 85% efficiency, 30% ripple target
Every number in the 12 V to 5 V example, from the duty cycle down to the 13.2 µH inductance.
On this page
  1. Why the output of an inverting buck-boost sits below ground
  2. Duty cycle sets the conversion ratio
  3. Average and peak inductor current
  4. Sizing the inductor
  5. Voltage stress on the switch, diode and capacitors
  6. The efficiency cost of inverting
  7. Two designs from start to finish

Why the output of an inverting buck-boost sits below ground

An inverting buck-boost turns a positive input into a negative output without a transformer and without a second inductor. Most of them start life as an ordinary buck regulator that has been rewired. Texas Instruments lays out the change in three steps in its application report on inverting buck-boost converters (SNVA856B, revised 2022): the buck output becomes system ground, the buck ground pins become the negative output, and the positive input stays where it was.

That move explains the sign. With the switch on, the inductor sits between the input and system ground and stores energy, while the output capacitor alone feeds the load. When the switch turns off, the inductor current has to keep flowing, so it takes the only path left, through the catch diode or the low-side switch, into the output. The far end of that path is the negative rail, so the output capacitor ends up charged with its positive plate at ground and its negative plate below ground.

Two things follow. No power travels straight from input to output, since every watt crosses the inductor, so the inductor current is always larger than the load current. And the regulator ground pin now floats at the negative output, so the part sees the input voltage plus the output voltage across its supply pins, not the input alone. Both facts drive every number on this page.

Analog Devices describes the same circuit in its note AN-1083 on inverting buck-boost design with the ADP2300 and ADP2301, which is a useful second check on the wiring and on the peak current formula.

Duty cycle sets the conversion ratio

In steady state the inductor charges and discharges by the same volt-second product. During the on time it sees Vin, and during the off time it sees the output, so Vin x D = |Vout| x (1 - D), which rearranges to |Vout| / Vin = D / (1 - D). Solved for the duty cycle, an ideal inverting buck-boost runs at D = |Vout| / (Vin + |Vout|).

Real parts lose energy, and Texas Instruments folds that into the same equation (SNVA856B, Equation 2): D = |Vout| / (|Vout| + efficiency x Vin). The efficiency term raises the duty cycle, because the converter has to pass more charge to cover its own losses.

Take 12 V in and 5 V out at 85 percent efficiency. The ideal answer is 5 / (12 + 5) = 5 / 17 = 0.294. With the loss term it becomes 5 / (5 + 0.85 x 12) = 5 / 15.2 = 0.329, about 12 percent higher. That second figure is what a real design runs at.

The ratio climbs past 1 when the output is bigger than the input. A 5 V input making a 5 V negative rail runs at 5 / (5 + 4.25) = 0.541, so it spends more than half of each cycle charging the inductor.

One check ties the two forms together: the conversion ratio should equal D / (1 - D) times the efficiency. For the 12 V case, 0.329 / (1 - 0.329) = 0.490, and 0.490 x 0.85 = 0.417, which matches 5 / 12 = 0.417.

InputDuty cycle, idealDuty cycle at 85%Average inductor current, 2 A load
5 V0.5000.5414.35 A
9 V0.3570.3953.31 A
12 V0.2940.3292.98 A
15 V0.2500.2822.78 A
24 V0.1720.1972.49 A

The table holds the output at 5 V, the load at 2 A and the efficiency at 85 percent. A higher input lowers the duty cycle but does not lower the inductor current much, because that current depends on the ratio of output to input rather than on the input alone.

Average and peak inductor current

The load draws current only while the switch is off, so the inductor has to carry more than the load. Charge balance gives the average as Iout / (1 - D) for an ideal part, or Iout x (1 + |Vout| / (efficiency x Vin)) once losses are counted. Texas Instruments writes the second form as Equation 4 in the same report.

For 2.5 A at D = 0.329 the ideal average is 2.5 / (1 - 0.329) = 2.5 / 0.671 = 3.73 A. The efficiency form lands on the same figure from the other direction: 2.5 x (1 + 5 / 10.2) = 2.5 x 1.490 = 3.73 A.

Peak current adds half the ripple. With a 30 percent ripple target the swing is 0.75 A, so the peak is 3.73 + 0.375 = 4.10 A and the valley is 3.73 - 0.375 = 3.35 A. A 10 µH inductor at 400 kHz widens the swing to 0.99 A, which pushes the peak to 3.73 + 0.493 = 4.22 A.

Those peaks decide which regulator you can use, because the switch carries the inductor current rather than the load current. The TPS5430 note (SLVA257A, 2007) makes the trade plain: at D = 0.25 the usable load is 3 x (1 - 0.25) = 2.25 A. A 2.5 A load at D = 0.329 needs a peak limit above 4.2 A, so a part sold as a 3 A buck with a 4.8 A minimum peak limit is the practical floor.

Sizing the inductor

The inductor sets the ripple. During the on time the current rises at Vin / L, so the swing is the on time multiplied by that slope, and solving for L gives L = Vin x D / (frequency x ripple current). Texas Instruments suggests a swing between 20 and 40 percent of the load current, with 30 percent a common choice.

Back to the 12 V to 5 V design at 2.5 A and 400 kHz. A 30 percent swing is 0.75 A, and 12 x 0.329 = 3.95 V. Then 3.95 / (400,000 x 0.75) = 0.0000132, which is 13.2 µH. The nearest standard value is 10 µH, which raises the swing to 12 x 0.329 / (400,000 x 0.00001) = 0.99 A and the peak to 4.22 A.

Choose the part for saturation current, not just inductance. The inductor has to hold the peak without saturating, and the peak moves with input voltage, so size it at the lowest input in the range. Resistance matters too: 3.73 x 3.73 x 0.05 = 0.70 W, which is a large share of a 12.5 W output. The RMS current rating has to clear the same figure with margin.

The same 12 V to 5 V design at 2.5 A and 400 kHz, with only the ripple target moved, gives this short list of inductor options:

Ripple targetRipple currentInductance neededPeak currentStandard value
20%0.50 A19.7 µH3.98 A22 µH
25%0.63 A15.8 µH4.04 A15 µH
30%0.75 A13.2 µH4.10 A10 µH
35%0.88 A11.3 µH4.17 A10 µH
40%1.00 A9.9 µH4.23 A10 µH

Every row keeps the average current at 3.73 A, so the peak column is that figure plus half the ripple. A looser ripple target buys a smaller inductor but asks the switch and the diode for more peak current, and a 40 percent swing already sits at 4.23 A.

Voltage stress on the switch, diode and capacitors

The regulator supply pins see the input plus the output, because the part ground sits at the negative rail. That stress is Vin + |Vout|: 17 V for 12 V to 5 V, and 24 + 15 = 39 V for 24 V to 15 V. Texas Instruments uses that second case to warn that a 36 V part is not enough and a 40 V part is the entry point.

Analog Devices shows the same limit from the data sheet side: the ADP230x is rated for 20 V between its input and ground pins, so a 12 V to 5 V design sits at 17 V with 3 V to spare, while a 15 V input making a 5 V rail would land exactly on the ceiling (AN-1083). Pick the part from that sum, not from the input alone.

The catch diode in a non-synchronous design blocks the same voltage, and the input capacitor between the input and system ground is charged to that sum, so its rating has to clear it with room for ceramic derating. The output capacitor only sees the output voltage, but it carries the chopped output current, so its ripple current rating matters as much as its capacitance.

The efficiency cost of inverting

Inverting costs efficiency. Texas Instruments reports that the LMR33630 reaches close to 95 percent converting 12 V to 5 V at 2 A, a loss near 0.53 W, and that the same part used as an inverting buck-boost can lose three to four times as much, landing near 85 percent.

Run the budget for 5 V at 2.5 A. The load takes 5 x 2.5 = 12.5 W. At 85 percent the input side supplies 12.5 / 0.85 = 14.7 W, so 14.7 - 12.5 = 2.2 W becomes heat, and the supply current is 12.5 / (12 x 0.85) = 12.5 / 10.2 = 1.23 A.

That heat comes from switch conduction, diode forward drop, inductor resistance and the switching edges. Since efficiency appears in both the duty cycle and the inductor current, the first pass at 0.85 feeds back into both, and one more pass with a measured figure is enough to close the design.

Stability changes as well. The topology brings a right-half-plane zero into the loop, which adds phase lag instead of phase lead. Texas Instruments notes that a smaller inductor pushes that zero higher and that a current mode part is easier to compensate.

Two designs from start to finish

The 5 V to 5 V design at 1 A shows the boost side of the family. The duty cycle is 5 / (5 + 4.25) = 0.541, the average inductor current is 1 x (1 + 5 / 4.25) = 2.18 A, and a 30 percent swing of 0.3 A puts the peak at 2.18 + 0.15 = 2.33 A. At 400 kHz the inductor works out to 5 x 0.541 / (400,000 x 0.3) = 0.0000225 H, so a 22 µH part, which is the value the TI example picks, along with a regulator whose minimum peak limit is 2.5 A.

Set the two cases side by side and the pattern shows. As the output grows toward the size of the input, the duty cycle moves toward 0.5, the inductor current climbs to roughly twice the load, and the switch stress stays at Vin + |Vout|. The 12 V to 5 V case needs 13.2 µH and a 4.8 A limit, while the 5 V to 5 V case needs 22 µH and 2.5 A.

The calculator on this page does not model thermal resistance, loop stability or the diode forward drop in detail. It gives the first-pass numbers that a datasheet check and a bench measurement then confirm.

Set the two worked examples against each other and the shared arithmetic shows up row by row:

Quantity12 V to -5 V at 2.5 A5 V to -5 V at 1 A
Duty cycle at 85%0.3290.541
Average inductor current3.73 A2.18 A
Ripple at 30% of load0.75 A0.30 A
Peak current at that ripple4.10 A2.33 A
Inductance for that ripple13.2 µH22 µH
Peak current with the standard part4.22 A2.33 A
Switch stress, input plus output17 V10 V
Switch peak limit to specify4.8 A2.5 A

The lower duty cycle of the 12 V case is the only line that looks easier. Its inductor current is 71 percent higher and its switch stress is 7 V higher, so the part that suits the 5 V design will not suit the 12 V one.

Frequently asked questions

What duty cycle does a 12 V to -5 V inverting buck-boost run at?

About 0.329 with 85 percent efficiency, or 0.294 if the converter were lossless. The gap comes from the efficiency term in D = |Vout| / (|Vout| + efficiency x Vin). A real design uses the higher figure, because the extra on time covers the losses.

How much load current can a 3 A buck regulator give as an inverting buck-boost?

At D = 0.25, about 2.25 A, since 3 x (1 - 0.25) = 2.25. The switch carries the inductor current rather than the load current, so the rating shrinks as the duty cycle rises. Check the minimum peak current limit, not the headline load rating.

Why is the inductor current higher than the load current?

The load draws current only while the switch is off. For a 2.5 A load at D = 0.329 the average inductor current is 2.5 / 0.671 = 3.73 A, and the peak is higher again once ripple is added.

What voltage rating does the regulator need for 24 V in and -15 V out?

At least 39 V, because the part sees Vin + |Vout| across its supply pins. That rules out the common 36 V family, and TI suggests a 40 V or higher device for this case.

How do I pick the inductor for a 400 kHz design?

Start from 30 percent of the load current as the ripple. For 2.5 A that is 0.75 A, and 12 x 0.329 / (400,000 x 0.75) = 0.0000132 H, or 13.2 µH. A 10 µH standard part works, with 0.99 A of ripple and a 4.22 A peak.

Does efficiency change the duty cycle?

Yes. Losses raise it, from 0.294 ideal to 0.329 at 85 percent for 12 V to 5 V. The efficiency term sits in the denominator of the TI equation, so a lower efficiency always means a longer on time.

Can the output be larger than the input?

Yes. This is a buck-boost, so it steps down when the output is smaller than the input and steps up when it is larger. A 5 V input making a 5 V negative rail runs at D = 0.541.

Why does my inverting converter run hotter than the buck it came from?

The losses are larger. A 12 V to 5 V buck at 2 A loses about 0.53 W at 95 percent, while the same part inverting to 5 V can lose three to four times that and land near 85 percent, about 2.2 W for 12.5 W of output.

Where do I clip the scope ground?

The regulator ground sits at the negative output, not at system ground. On a 12 V to 5 V design that point is 5 V below system ground, so a grounded probe shorts the rail. Use a differential probe or isolate the supply.

Do I need to change the feedback divider?

No. TI keeps the same divider as the buck version, because the feedback pin still regulates against the IC ground, which is now the negative output. A 5 V design keeps the resistor values for a 5 V output.

Can I use a synchronous buck IC?

Yes. The low-side FET replaces the catch diode and the same controller drives it. The trade is that the low-side body diode conducts during dead time, which adds a small loss.

What is the ripple if I target 20 percent instead of 30?

For a 2.5 A load, 20 percent is 0.5 A, so the peak falls to 3.73 + 0.25 = 3.98 A. The inductor value rises to 12 x 0.329 / (400,000 x 0.5) = 0.0000197 H, which is about 19.7 µH.

Is the average inductor current the same as the input current?

No. In the 12 V example the input current averages 1.23 A, while the inductor carries 3.73 A. The input supplies current only during the on time, so the two averages differ by roughly the duty cycle.

Spotted a wrong number or a broken result?

More Converters tools

See all Converters tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.