Inverting Buck-Boost Converter Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Size an inverting buck-boost converter: duty cycle for the output voltage you want, average and peak inductor current, and ripple.
Result
Duty cycle D
Average inductor current (A)
- Inductor ripple current, peak to peak (A)
- Peak inductor and switch current (A)
- Voltage across the switch when off (V)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Input voltage, in V: enter 0 or more.
- Output voltage magnitude (output is negative), in V: enter 0 or more.
- Output current, in A: enter 0 or more.
- Switching frequency, in kHz: enter 0 or more.
- Inductance, in µH: enter 0 or more.
- Read the result: Duty cycle D; the panel also shows Average inductor current (A), Inductor ripple current, peak to peak (A), Peak inductor and switch current (A) and Voltage across the switch when off (V).
How this calculator works
Inverting buck-boost in continuous conduction (ideal switch and diode): V_out = −V_in × D ÷ (1 − D), so the duty cycle for an output of magnitude |V_out| is D = |V_out| ÷ (V_in + |V_out|). Below D = 50% it steps down, above it steps up.
Average inductor current I_L = I_out ÷ (1 − D); ripple ΔI = V_in × D ÷ (f_s × L); peak current = I_L + ΔI ÷ 2. The switch and diode must withstand V_in + |V_out|.
Real converters need a slightly higher duty cycle to cover diode and switch drops.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Input voltage | V | |
| Output voltage magnitude (output is negative) | V | |
| Duty cycle D | % |
Worked example
| Input voltage | 12 V |
|---|---|
| Output voltage magnitude (output is negative) | 5 V |
| Output current | 1 A |
| Switching frequency | 200 kHz |
| Inductance | 22 µH |
| Average inductor current (A) | 1.4167 |
|---|---|
| Inductor ripple current, peak to peak (A) | 0.8021 |
| Peak inductor and switch current (A) | 1.8177 |
| Voltage across the switch when off (V) | 17 |
Duty cycle D 29.41%
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
Why is the output negative?
The inductor discharges into the output through a diode pointing the other way, so the output is referenced below ground.
What duty cycle gives −12 V from 12 V?
50%: at D = 0.5 the output magnitude equals the input.