Buck Converter Calculator

This buck converter calculator works out the key operating figures for a step-down switching regulator: the duty cycle, the ripple current swinging through the inductor, the ripple voltage left on the output, and the switch on-time per cycle. Enter the input voltage, the target output voltage, the switching frequency, the inductor value and the output capacitor value, and the calculator returns all four so you can check a design before you build it. A buck converter chops the input with a switch, then an inductor and capacitor smooth the result down to a steady lower voltage, with the duty cycle, the fraction of each cycle the switch is on, setting the ratio. For an ideal converter that duty cycle is just the output divided by the input. The inductor ripple current follows from the volt seconds applied to the inductor each cycle, and the output ripple voltage from how much of that ripple the capacitor absorbs. The defaults step 12 V down to 5 V at 100 kHz through a 47 microhenry inductor and a 100 microfarad output capacitor, a common small point of load design. Designers usually aim for an inductor ripple of roughly 20 to 40 percent of the full load current, so use the ripple figure to check your inductor choice, and raise the capacitance or frequency if the output ripple is too high for your load.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
V
V
kHz
µH
µF

Ideal continuous-conduction model. Real ripple is usually higher because of capacitor resistance and switch losses.

41.67%
duty cycle (switch on fraction)
Inductor ripple current620.6 mA
Output ripple voltage7.76 mV
Switch on-time4.17 µs

Ideal buck equations assuming continuous conduction and no losses. Capacitor equivalent series resistance, diode or switch drops and layout will raise the real ripple. Estimate only.

How it works

The duty cycle is the output voltage divided by the input voltage. The switch on-time is that duty cycle divided by the switching frequency. During the on-time the inductor sees the input minus output voltage, and during the off-time it sees the output voltage, so the inductor ripple current is the output voltage times the input minus output, divided by the input times the frequency times the inductance. The output capacitor soaks up the triangular ripple current, and the resulting output voltage ripple is the inductor ripple current divided by eight times the frequency times the capacitance.

Worked example

Stepping 12 V down to 5 V at 100 kHz through a 47 microhenry inductor and a 100 microfarad capacitor, the duty cycle is 5 divided by 12, which is 41.67 percent. The switch on-time is 0.4167 divided by 100000, about 4.17 microseconds. The inductor ripple current is 5 times 7, divided by (12 times 100000 times 0.000047), about 620.6 milliamps. The output ripple voltage is 0.6206 divided by (8 times 100000 times 0.0001), about 7.76 millivolts.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland by SiteHost New Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-08-07 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.