Calculate buck converter inductor ripple current from input and output voltage, switching frequency and inductance, or solve for inductance or frequency.

Load current and output capacitor
Optional. Adds peak inductor current and ripple as a % of load.

Optional. Adds the ideal output voltage ripple (no ESR).

Calculator Functions

FunctionWhat it doesWhat it requires
Ripple currentFinds the peak-to-peak inductor ripple current of a buck converterRequires output voltage, input voltage, switching frequency, inductance and a current unit
InductanceFinds the inductance that gives a target ripple currentRequires output voltage, input voltage, switching frequency, peak-to-peak ripple current and an inductance unit
Switching frequencyFinds the switching frequency that gives a target ripple currentRequires output voltage, input voltage, inductance, peak-to-peak ripple current and a frequency unit
Input voltageFinds the input voltage at which the ripple current reaches a targetRequires output voltage, switching frequency, inductance, peak-to-peak ripple current and a voltage unit
Output voltage (both solutions)Finds the two output voltages that produce a target ripple currentRequires input voltage, switching frequency, inductance, peak-to-peak ripple current and a voltage unit

Every function describes a buck converter in continuous conduction, with the output voltage below the input voltage. The Ripple current function also takes an optional load current, which adds the peak inductor current and the ripple as a percentage of the load, and an optional output capacitance, which adds the output voltage ripple.

Ripple Current Formulas

ΔI = Vo × (Vi − Vo) ÷
(Vi × f × L) [1]
ΔIPeak-to-peak inductor ripple current (A)
VoOutput voltage (V)
ViInput voltage (V)
fSwitching frequency (Hz)
LInductance (H)

The inductor ripple current of a buck converter is (Vi − Vo) × D ÷ (f × L), where D is the duty cycle [1]. The calculator uses the ideal duty cycle D = Vo ÷ Vi, which gives the formula above. This is the ripple in the inductor, not the RMS ripple current rating of a capacitor.

Ripple current

A 12 V to 5 V converter switching at 500 kHz with a 10 µH inductor has ΔI = 5 × 7 ÷ (12 × 500,000 × 0.00001) = 0.5833 A at a duty cycle of 41.67%. With a 2 A load entered, the ripple is 29.17% of the load and the peak inductor current is the load current plus half the ripple [1], 2.2917 A. With a 22 µF output capacitor entered, the output voltage ripple is ΔI ÷ (8 × f × C) = 6.63 mV [1].

Inductance

L = Vo × (Vi − Vo) ÷
(Vi × f × ΔI) [1]

For 12 V in, 5 V out, 500 kHz and a 0.6 A ripple target, L = 9.722 µH. A ripple of 20% to 40% of the output current is a common starting point [1].

Switching frequency

f = Vo × (Vi − Vo) ÷
(Vi × L × ΔI)

For 12 V in, 5 V out, 10 µH and a 0.5 A ripple target, f = 583.33 kHz. A higher frequency or a larger inductor lowers the ripple.

Input voltage

Vi = Vo ÷
(1 − ΔI × f × L ÷ Vo)

For 5 V out, 500 kHz, 10 µH and 0.5 A of ripple, ΔI × f × L = 2.5 V and Vi = 5 ÷ (1 − 2.5 ÷ 5) = 10 V. The product ΔI × f × L must be smaller than the output voltage, or no input voltage gives that ripple.

Output voltage (both solutions)

Vo = Vi ×
[1 ± √(1 − 4k ÷ Vi)] ÷ 2

Here k = ΔI × f × L. The ripple formula is a quadratic in Vo, so two output voltages give the same ripple, and they add up to the input voltage. For 12 V in, 500 kHz, 10 µH and 0.5 A, k = 2.5 V and the answers are 3.5505 V and 8.4495 V. Ripple is largest at Vo = Vi ÷ 2, so a target with k above Vi ÷ 4 has no solution.

Limits of This Estimate

  • The formulas describe an ideal buck converter in continuous conduction. Losses, discontinuous conduction at light load, component tolerance and controller limits are left out.
  • The design note behind the ripple equation multiplies the duty cycle by the converter efficiency [1]. The ideal duty cycle used here gives a slightly different ripple at the same component values.
  • The output voltage ripple covers the capacitor alone. Capacitor ESR adds its own ripple, and the capacitance of a ceramic part falls under DC bias.

Sources

  1. Texas Instruments, Application Note SLVA477C, Basic Calculation of a Buck Converter’s Power Stage: inductor ripple current, inductor and output capacitor equations, peak current and the 20% to 40% ripple estimate