Embedded Garage

Choosing the inductor for a buck converter

The inductor sets the current ripple, the ripple sets the peak current, and the peak current decides whether the part saturates. This note works through one design from the equations to a part you could order.

By Sanket S. Shahane, 13 November 2026. All notes

The design used here

The numbers are the same as the oscilloscope on the home page, so you can move its duty cycle slider and watch what this note describes: 12 V in, 5 V out, 1 A load, 400 kHz switching. The equations are the ideal ones, without losses.

Where the ripple comes from

While the switch is on, the inductor has the input voltage on one side and the output voltage on the other, so its current rises at a rate of (Vin − Vout) / L. The switch is on for a fraction D of each period, and in an ideal buck converter D = Vout / Vin. Multiply the slope by the on-time and the peak-to-peak ripple current is:

ΔI = Vout × (1 − D) / (L × f)

Three things follow directly. A larger inductor or a higher switching frequency gives less ripple. And for a fixed output voltage, the ripple grows as the input voltage rises, because (1 − D) grows.

Pick a ripple ratio, then solve for L

Designers usually choose the ripple as a share of the load current, called the ripple ratio. A value between 0.2 and 0.4 is the common range. Less ripple needs a physically larger inductor and makes the converter slower to react to a load step. More ripple raises the peak current and the output voltage ripple.

Rearranged for the inductor, with a ripple ratio r:

L = Vout × (1 − D) / (r × Iout × f)

For this design D = 5 / 12 = 0.417. With r = 0.3, L comes out at 24.3 µH. Inductors are sold in standard values, and the nearest one is 22 µH. Putting 22 µH back into the ripple equation gives 0.331 A, a ripple ratio of 0.33.

Peak and RMS current

The inductor current is a triangle centred on the load current. Its peak is half the ripple above the load current, and its RMS value is only slightly above the load current:

QuantityEquationValue
Ripple currentVout × (1 − D) / (L × f)0.331 A
Peak currentIout + ΔI / 21.17 A
Valley currentIout − ΔI / 20.83 A
RMS currentIout × √(1 + r² / 12)1.005 A

The two current ratings on an inductor datasheet

An inductor has two current ratings, and they protect against different failures.

  • Saturation current. The current at which the inductance has dropped by a stated amount, often 20 or 30 percent. Above it the core saturates, the inductance collapses and the current rises much faster than the equations predict. Compare this rating with the peak current.
  • Temperature-rise current. The current that heats the part by a stated amount, often 40 °C, through the resistance of its winding. Compare this rating with the RMS current.

The peak current that matters is not always the 1.17 A from the table. During start-up or an overload the converter runs up to its current limit. If the controller limits at 2 A, the inductor will see 2 A, so a saturation rating above the current limit is the safe choice.

Check the corners, not only the nominal point

Two checks change the answer more than people expect.

  • Maximum input voltage. If the 12 V input can rise to 16 V, the duty cycle falls to 0.313 and the ripple with 22 µH becomes 0.391 A.
  • Inductor tolerance. Power inductors are commonly ±20 percent. At the low end, 17.6 µH, the ripple at 12 V in is 0.414 A, a ripple ratio of 0.41.

A design that looked comfortable at 0.33 is past 0.4 at its corners. That is still workable, but it is the number to design the output capacitor and the current limit margin around.

When the current reaches zero

The triangle sits on the load current. If the load falls below half the ripple, here 0.166 A, the valley of the triangle touches zero. A converter with a diode then stops conducting for part of each cycle. This is discontinuous conduction, and the simple relation D = Vout / Vin no longer holds. A synchronous converter can instead let the current go negative. Neither is a fault, but the control loop and the efficiency behave differently at light load, so it is worth knowing where the boundary is.

Summary

  • Choose a ripple ratio between 0.2 and 0.4 and solve for L.
  • Round to a standard value and recompute the ripple.
  • Saturation rating against the peak current, including the current limit.
  • Temperature-rise rating against the RMS current.
  • Recheck at maximum input voltage and at the low end of the inductor's tolerance.

The calculator does this, and the rest of the design, for the values you enter.