Buck Converter Duty Cycle Calculator
Enter the input and output voltages to get the duty cycle.
Result
How it is calculated
For an ideal buck converter running in continuous conduction, the duty cycle is the ratio of output to input voltage: D = Vout ÷ Vin × 100 (in percent), with both voltages in volts. D is the share of each switching period during which the high-side switch is on. The tool returns a result only when Vin is above zero and Vout is between 0 and Vin, because a buck stage can only step down; asking for Vout above Vin gives nothing. The answer is rounded to two decimals. It assumes lossless parts, so it ignores switch resistance, diode or synchronous-rectifier drop and inductor resistance. In a real converter the controller must set a slightly higher duty to make up for these losses.
Worked example
A board has a 12 V rail and needs 3.3 V for a microcontroller. Duty cycle: 3.3 ÷ 12 = 0.275. Multiply by 100 to get 27.50%. At, say, a 500 kHz switching frequency (period 2 µs), the high-side switch would be on for about 0.55 µs of each cycle and off for the remaining 1.45 µs in the ideal case.
Common mistakes
- Swapping Vin and Vout, which would give 363.6% and is refused by the tool. A buck converter only steps down, so Vout must be at most Vin.
- Using the formula for a boost converter (
1 − Vin ÷ Vout) or an inverting topology. The ratio Vout ÷ Vin is valid only for a buck. - Entering the duty cycle as the final design value. Real parts have drops and resistance, so the controller needs a slightly higher duty than this ideal figure.
- Using the formula in discontinuous conduction mode at light load, where the output no longer depends on duty alone.
- Putting the battery's nominal voltage into Vin when it varies widely. Calculate the duty at the minimum and maximum input to see the range your controller must cover.
About this calculator
A buck (step-down) converter is a switch-mode power supply topology that steps a DC input voltage down to a lower DC output. In continuous-conduction mode with ideal (lossless) components, the output is set purely by the switch's duty cycle D: D = Vout/Vin, the fraction of each switching period the transistor spends on, since the inductor's average voltage over a cycle must be zero at steady state.
Power-electronics engineers use this formula as the starting point for setting the PWM duty cycle on a buck regulator IC — used everywhere from USB-C chargers to point-of-load regulators on a PCB that step 12V or 5V rails down to 3.3V or 1.8V for a microcontroller or SoC — before layering on real-world losses from switch resistance and diode drop.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The ideal ratio ignores the diode or switch drop, and it holds only in continuous conduction, which a lightly loaded converter may leave. For a rough correction with a diode-based stage, add the drop to the output voltage: 5.5 instead of 5 at 12 V in gives 45.83 percent rather than 41.67. Treat that as a first estimate to refine on the bench. What input and output rails are you designing for?