# How to size a buck converter inductor

Size a buck inductor at the highest input voltage: $L = V_{out}(1 - D) / (f_{sw}\,\Delta I)$, with the ripple $\Delta I$ set to 20 to 40 % of the full-load current. Then pick a part whose saturation current is above the peak current at your current limit and whose RMS rating covers the full-load current. For 5 V at 3 A from up to 36 V at 400 kHz, a 30 % ripple gives 12 µH, a 3.45 A peak and a 3.01 A RMS current.

## The idea in one picture

Think of the inductor as a flywheel for current. While the switch is on, the input pushes it and the current speeds up; while the switch is off, the output brakes it and the current slows down. The flywheel never stops: it only wobbles around the load current. That wobble is the ripple, and the inductance is how heavy the flywheel is. A heavy flywheel (large $L$) wobbles a little; a light one wobbles a lot.

![The buck of this article in Voltecx: switch S1, freewheeling diode D1, inductor L1 = 12 µH, output capacitor C1 = 40 µF and a 1.67 Ω load (3 A at 5 V), driven open loop at D = 5 V / Vin.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/buck-inductor-sizing/buck.svg)

Sizing the inductor is choosing how much wobble you accept. Everything else in this article, the peak current, the RMS current, the saturation rating, follows from that one choice.

## Why does the ripple ratio decide the inductance?

The inductor current in a buck is a triangle on top of the load current. Its peak-to-peak height is

$$\Delta I = \frac{(V_{in} - V_{out})\,D}{f_{sw}\,L} = \frac{V_{out}(1 - D)}{f_{sw}\,L}, \qquad D = \frac{V_{out}}{V_{in}}$$

(R. W. Erickson and D. Maksimović, *Fundamentals of Power Electronics*, the chapter on steady-state converter analysis). Write the ripple as a fraction of the load current, $r = \Delta I / I_o$, and solve for $L$:

$$L = \frac{V_{out}(1 - D)}{r\, I_o\, f_{sw}}$$

The ratio $r$ is a trade-off:

- **Small $r$ (10–20 %)**: low output ripple and low core loss, but a large, slow inductor. The current can change only at $(V_{in} - V_{out})/L$, so the loop answers a load step more slowly.
- **Large $r$ (40–60 %)**: a small inductor and a fast response, but more RMS current in the output capacitor, a higher peak current in the switch and more core loss.
- **Around 30 %** is the usual starting point, and a common choice in controller data-sheet design examples.

![The inductor current i(L1) simulated in Voltecx at 36 V input and 3 A load with three inductors: 36 µH gives a ripple ratio of 0.1, 12 µH gives 0.3 and 6 µH gives 0.6. The average stays at 3 A; only the triangle changes.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/buck-inductor-sizing/ripple-ratio.svg)

All three triangles average to the same 3 A. A smaller inductor does not change what the load gets; it changes how hard the current swings around it, and with it the peak the switch and the inductor must survive.

## Which input voltage should I design at?

At the highest one. $1 - D = 1 - V_{out}/V_{in}$ grows as $V_{in}$ rises, so the ripple is largest at maximum input. An inductor sized at nominal input has more ripple than you planned at high line.

Intuitively: at high input the switch is on for a shorter time, but the off-time, when the output voltage brakes the current, gets longer. The current falls for longer, so the triangle gets taller.

![The inductor current with 12 µH at 36 V and at 18 V input, simulated in Voltecx. At 36 V the on-time is shorter and the ramp steeper, and the triangle is taller: 0.897 A against 0.752 A.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/buck-inductor-sizing/ripple-18-vs-36v.svg)

![The simulated ripple over the 18 to 36 V input range. 12 µH stays at or under the 0.9 A target everywhere; 10 µH, which is enough at 18 V, reaches 1.08 A at 36 V.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/buck-inductor-sizing/ripple-vs-vin.svg)

## Worked example: 18–36 V to 5 V at 3 A, 400 kHz

**Required inductance at each input** for $r = 0.3$ ($\Delta I = 0.9$ A):

| $V_{in}$ | $D$ | $L$ for 0.9 A ripple |
|---|---|---|
| 18 V | 0.278 | 10.0 µH |
| 24 V | 0.208 | 11.0 µH |
| 36 V | 0.139 | 11.96 µH |

Take the worst case, 11.96 µH, and round to the standard value **12 µH**.

**Ripple and peak current with 12 µH.** At 36 V: $\Delta I = 5 \times 0.861 / (400\,\text{kHz} \times 12\,\mu\text{H}) = 0.897$ A, so the peak is $3 + 0.897/2 = 3.45$ A. At 18 V the ripple falls to 0.752 A.

**RMS current**, which sets the winding loss:

$$I_{L,rms} = I_o\sqrt{1 + \frac{r^2}{12}} = 3\sqrt{1 + \frac{0.299^2}{12}} = 3.01\ \text{A}$$

The ripple adds almost nothing to the RMS current at this ratio, which is why the inductor's RMS (heating) rating can be read at the DC load current.

**Light load.** The converter leaves continuous conduction when the load drops below half the ripple, $I_{crit} = \Delta I / 2 = 0.45$ A at 36 V. Below that, a diode buck goes into discontinuous conduction and its gain changes; a synchronous buck in forced PWM keeps conducting with a negative current dip instead.

![The same buck at a 0.3 A load, below the 0.45 A critical current, simulated in Voltecx. The inductor current reaches zero and rests there each period, and the switch node v(sw) steps up to the output voltage while no current flows. With the duty cycle unchanged, the open-loop output rises from 5 V to 6.0 V.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/buck-inductor-sizing/light-load-dcm.svg)

**Stored energy**, a first measure of core size: $\tfrac{1}{2} L I_{pk}^2 = \tfrac{1}{2} \times 12\,\mu\text{H} \times 3.45^2 = 71\ \mu\text{J}$.

## How much saturation current does the inductor need?

The peak current at full load is not enough. During start-up, a load step or a short, the current rises to the controller's current limit before the loop reacts. Choose $I_{sat}$ above that limit, read at your hottest operating temperature: ferrite saturation flux falls as the core heats. Two ratings appear on inductor data sheets:

- **$I_{sat}$**: the current at which the inductance drops by a stated amount (often 20 or 30 %). Read the footnote; vendors define it differently.
- **$I_{rms}$** (or $I_{temp}$): the DC current that raises the part's temperature by a stated amount, often 40 K. It covers winding loss but not always core loss at your frequency and ripple.

For the example, with a current limit set 30 % above the 3.45 A peak (4.5 A), look for a 12 µH part rated at least 4.5 A saturation at temperature and at least 3 A RMS.

## What about core loss?

Core loss grows with the flux swing, which is proportional to the ripple, and with frequency. Halving $r$ by doubling $L$ lowers core loss but raises winding resistance for the same core. Use the vendor's loss calculator or the Steinmetz parameters of the core material for the final check, at the ripple and frequency of the highest input voltage.

## Common mistakes

- **Sizing at nominal input.** The ripple is largest at the highest input voltage. An inductor sized at 24 V (11 µH) has 0.978 A of ripple at 36 V, about 9 % over its target.
- **Choosing $I_{sat}$ from the full-load peak.** At start-up or in a short, the current climbs to the current limit. Use the limit, at the hottest temperature.
- **Reading $I_{sat}$ and $I_{rms}$ as the same thing.** One is about the core (inductance collapses), the other about heat (the winding warms up). Check both.
- **Forgetting light load.** Below $\Delta I / 2$ a diode buck goes discontinuous and its gain changes, which the loop then has to cope with. If that matters, use a synchronous buck in forced PWM or a larger $L$.
- **Trusting the nominal inductance near $I_{sat}$.** At its rated saturation current an inductor has, by definition, already lost the stated 20 or 30 % of its inductance, and powder cores lose it gradually from much lower currents. Near the peak the ripple is then larger than you computed.

## How to do it in Voltecx

1. Open the `buck` example (**File › Open Example › buck**) or draw a buck with `circuit.template`.
2. Open the Design panel (**Design**, or `Cmd+Shift+D`) and choose **Converter** (`design.converter`). The fields start with the voltages, load and frequency already in the circuit; set the inductor ripple to 30 %.
3. Press **Run** to see the inductance and capacitance, the formula used and a plot, then **Apply** to write L1 and C1 as one undo step. The panel then simulates and checks that the measured inductor ripple and output ripple are within 15 % of the target and the mean output within 5 % of the set point.
4. Run `analysis.stress` after a simulation to read the inductor's peak and RMS current, or put the worst input in **Simulation › Test Bench** to check every corner of the spec.

The same command runs from a script:

```sh
powercraft-cli run --in buck.pcraft \
  --cmd design.converter --params '{"vout": 5, "iout": 3, "ripplePct": 30}'
```

For a whole design, from the spec to a part number, see [automatic design](https://voltecx-web.nguyenvanqui291.workers.dev/features/auto-design) and the [design tools overview](https://voltecx-web.nguyenvanqui291.workers.dev/features/design-tools).

## Frequently asked questions

### What ripple percentage should a buck inductor have?

20 to 40 % of the full-load current is the common range, with 30 % as the usual starting point. Go lower when output ripple or core loss matters most, higher when you need a small part or a fast load response.

### Why size the inductor at maximum input voltage?

The ripple $\Delta I = V_{out}(1-D)/(f_{sw}L)$ grows as $D$ falls, and $D$ is smallest at the highest input voltage. Sizing there keeps the ripple within your target over the whole range.

### Is the inductor's saturation current the same as its RMS rating?

No. Saturation current is where the inductance drops; RMS current is where the part gets too hot. You need both: saturation above the peak at your current limit, RMS above the full-load current.

### Does a higher switching frequency always mean a smaller inductor?

The inductance falls in proportion to $1/f_{sw}$, but switching and core losses rise, so the gain stops somewhere. See [how to choose a switching frequency](https://voltecx-web.nguyenvanqui291.workers.dev/blog/choosing-switching-frequency).
