Boost Converter Basics: How an Inductor Steps 5 V Up to 12 V

Author: Abloom Instruction Date: November 15, 2026

The buck converter we looked at earlier steps voltage down — 12 V to 5 V. But what if you only have 5 V and need 12 V? A boost converter does the opposite: it steps voltage up, using the same trick — an inductor that stores energy and releases it at a higher voltage. Every USB power bank does this (3.7 V from the lithium cell up to 5 V for your phone), and so do LED drivers and solar chargers. This article works out a complete 5 V to 12 V design, with the duty cycle, the inductor current, and the output ripple all calculated.

Boost converter schematic with inductor, MOSFET switch, diode and output capacitor, beside a plot of the inductor current sawtooth between 1.02 A and 1.64 A

Figure 1: The boost converter (a) charges the inductor while the switch is ON, then dumps its energy to the output while the switch is OFF; the inductor current (b) is a sawtooth that never falls to zero. (Schematic, not to scale.)

How it works — two phases, one inductor

Look at Figure 1(a). The switch (a MOSFET) turns on and off 100,000 times a second. While it is ON, the full 5 V input sits across the inductor, so the inductor current ramps up and the inductor stores energy in its magnetic field. The diode is reverse-biased, so the output capacitor alone supplies the load. While the switch is OFF, the inductor current cannot stop instantly — it keeps flowing the same way, through the diode and into the output capacitor. Now the inductor's voltage adds to the input voltage, so the output sits higher than the input. That is the whole secret: the inductor acts like a voltage source stacked on top of the input.

Because the inductor's volt-seconds must balance over one cycle (what goes in during ON must come out during OFF), the output voltage is fixed by the duty cycle D, the fraction of the cycle the switch is ON:

Vout = Vin / (1 − D)

Worked example — 5 V in, 12 V out, 0.5 A load

Design for Vin = 5 V, Vout = 12 V, Iout = 0.5 A, switching frequency f = 100 kHz, inductor L = 47 µH, output capacitor C = 100 µF, and assume 90% efficiency. First the duty cycle:

D = 1 − Vin / Vout = 1 − 5 / 12 = 0.583 = 58.3%

One switching period is T = 1 / 100 kHz = 10 µs, so the switch is ON for ton = 0.583 × 10 = 5.83 µs and OFF for toff = 4.17 µs. Next, the currents. The output power is Pout = 12 × 0.5 = 6 W, so the input power is 6 / 0.90 = 6.67 W and the average input (inductor) current is:

Iin = 6.67 / 5 = 1.33 A

Notice the input current is much larger than the output current — a boost converter trades current for voltage, just as a transformer does. The inductor current ripple comes from v = L × di/dt during the ON time:

ΔIL = Vin × ton / L = 5 × 5.83 µs / 47 µH = 0.62 A

So the inductor current swings between Imin = 1.33 − 0.31 = 1.02 A and Ipk = 1.33 + 0.31 = 1.64 A, as Figure 1(b) shows. Because the current never falls to zero, the converter runs in continuous conduction mode — the smooth, predictable mode the formula Vout = Vin / (1 − D) assumes. Check the volt-second balance: ON gives 5 V × 5.83 µs = 29.17 V·Âµs; OFF gives (12 − 5) V × 4.17 µs = 29.17 V·Âµs — they match exactly, which is why the output stays at 12 V.

Worked example — output ripple voltage

While the switch is ON, the output capacitor alone feeds the load, so it loses charge. The capacitive part of the ripple is:

ΔV = Iout × ton / C = 0.5 × 5.83 µs / 100 µF = 29 mV

But a real capacitor also has ESR (series resistance). When the diode suddenly delivers the 1.64 A peak inductor current, the ESR drops a step of 1.64 A × 0.05 Ω = 82 mV. Total ripple is roughly 29 + 82 = 111 mV peak-to-peak — and the ESR step, not the capacitance, dominates. That is the same lesson as the capacitor ESR article: for a switching supply, buy a low-ESR capacitor, not just a bigger one.

Choosing the switch and the diode

The MOSFET must block the full output voltage (12 V) and carry the 1.64 A peak — a 30 V, 3 A part gives comfortable margin. The diode carries the output current on average (0.5 A) with a 1.64 A peak, so a 2 A Schottky diode fits. A Schottky's low forward drop (about 0.45 V) matters: its loss is 0.45 V × 0.5 A = 0.23 W, while an ordinary silicon diode at 0.7 V would waste 0.35 W. One warning: a boost converter cannot step down. With the switch permanently OFF, the output still sits at Vin minus one diode drop, so 5 V in can never give less than about 4.5 V out — and with no load the output can creep above 12 V. Real boost chips therefore always run closed-loop, watching the output voltage.

Design example — 5 V to 9 V

Suppose you need 9 V from 5 V at the same 100 kHz, and you want the ripple no bigger than 0.4 A. The duty cycle is D = 1 − 5 / 9 = 44.4%, and the inductor you need is:

L = Vin × D / (ΔI × f) = 5 × 0.444 / (0.4 × 100 kHz) = 55.6 µH

Pick the standard value 56 µH, which gives ΔI = 5 × 0.444 / (56 µH × 100 kHz) = 0.40 A — exactly on target. That is the whole design flow: duty cycle from the voltages, inductor from the ripple you can accept, capacitor from the ripple voltage you can accept.

Key points to remember

  • A boost converter steps voltage up by storing energy in an inductor while the switch is ON, then letting the inductor's voltage add to the input while the switch is OFF: Vout = Vin / (1 − D).
  • Worked example: 5 V to 12 V at 0.5 A and 100 kHz needs D = 58.3% (ton = 5.83 µs, toff = 4.17 µs); the inductor current averages 1.33 A and swings 1.02–1.64 A; volt-seconds balance at 29.17 V·Âµs on both halves.
  • Worked example: output ripple is 29 mV from the capacitance plus an 82 mV step from the capacitor's 0.05 Ω ESR — about 111 mV peak-to-peak — so a low-ESR capacitor matters more than a bigger one.
  • A boost trades current for voltage: 0.5 A out at 12 V needs 1.33 A in at 5 V (at 90% efficiency). Size the MOSFET and diode for the 1.64 A peak, not the 0.5 A output.
  • Design example: 5 V to 9 V with 0.4 A ripple at 100 kHz needs 55.6 µH — pick the standard 56 µH.
  • A boost cannot step down: with the switch off the output still sits near the input voltage, so always use closed-loop control and never run it unloaded.