• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Buck-Boost Converter Calculator

Buck-Boost Converter Calculator

Now we made this simple online calculator tool so that we can easily calculate all the important working parameters of this universal buck-boost converter circuit just by putting some basic values like input voltage, output voltage, output current, switching frequency, and inductor size.

This tool is directly based on how a real universal buck-boost converter works using one switching device like MOSFET, one fast diode, one inductor, and one output capacitor, as we have already shown in the diagram.

This calculator is very useful then when we are designing or testing any practical buck or boost or buck-boost converter circuit using any kind of PWM source like Arduino, IC 555, SG3525, or TL494.

It shows us the ideal duty cycle, the ripple current in the inductor, the RMS current load on the inductor, the peak current stress on the MOSFET, the ripple voltage across the output capacitor, the power output, and even the approximate efficiency.

So now we do not need to do any manual formula solving, we just put the values and get all the design parameters instantly in one click.

ZVS Induction Heater Simulator
Calculator by homemade-circuits.com

Buck-Boost Converter Calculator


















Simulation Results (Tweak it as you want)

Buck Boost Converter Explanation with Code and Diagram

We see that in the above diagram, there is one MOSFET which is working like a high-speed switch, and that is controlled through some PWM source, that may be an Arduino or any other oscillator like 555 timer, SG3525, TL494, etc.

Then there is one 100 ohm resistor which is going from the gate of that MOSFET to the PWM pin, and one 10k resistor is pulling that gate to ground, so that it does not float and misfire.

The MOSFET is taking the input supply at its drain terminal, and then its source is connected with one inductor, and that inductor is going to a Schottky diode, and then a big 2200uF capacitor and a battery load.

How the Circuit Works During ON and OFF Cycles

Now we try to understand what really happens when this MOSFET is turned ON and OFF very fast by that oscillator signal.

So when the gate gets positive pulses, the MOSFET turns ON, and that time the current starts building in the inductor.

That current is not going to the output directly because the diode is reverse biased at that moment. So that current gets stored in the magnetic field of the inductor like an energy pump.

Then when the PWM goes LOW, and the MOSFET turns OFF, that time the inductor gets sudden break in current flow, and due to its stored energy and collapsing magnetic field, the inductor creates a reverse kickback voltage which adds up with the input voltage.

This boosted voltage forward-biases the diode and charges the capacitor and the battery. So like this, energy is transferred in boosted form during the OFF time of the switch.

Why We Call It Buck Boost

But same time, if the duty cycle is more, then the energy transferred becomes less per cycle, so the output voltage drops.

And if duty cycle is less, then more energy is pumped during OFF time and the output voltage goes higher.

So by adjusting the duty cycle of the PWM, we can control whether the circuit will work like a buck converter (reduce voltage) or a boost converter (increase voltage), or both — that's why we call it a buck-boost converter.

What the Calculator is Doing

Now this calculator is doing many important calculations based on this concept. So first we enter input voltage (Vin), output voltage (Vout), output current (Iout), frequency (Hz), and inductor value in microhenries (µH).

What All Things It Calculates

Then it calculates:

1. Duty Cycle (D):
That we find by formula D = Vout / (Vout + Vin). That tells us how much ON time is needed ideally to get the required output.

2. Inductor Ripple Current (ΔI):
That shows how much current is building and dropping in the inductor during ON/OFF. Formula we used is (Vin * D) / (L * Freq). Bigger inductance or higher frequency makes ripple less.

3. Inductor RMS Current:
This we calculate because inductor actually handles both DC and ripple. RMS gives heating equivalent. We used formula sqrt(Iin² + ΔI²/12).

4. MOSFET Peak Current:
That is important to check because that is the highest current the MOSFET will see. That we find as Iin + (ΔI/2).

5. Ripple Voltage:
That is calculated by assuming a capacitor value (in our case 2200uF) and using formula ΔI / (8 * Freq * C).

6. Power Output (W):
Simple multiplication of Vout * Iout.

7. Efficiency (ideal):
We also calculate this as Pout / Pin * 100, which gives us a rough idea how much energy is lost. But this is only theoretical because we did not count diode drop, MOSFET heat loss, etc.

How It Matches Your Circuit Diagram

This calculator becomes very handy then when we want to design a real circuit like this one. We can change values and test which combination gives best ripple, best current, best power delivery without damaging the components.

This whole working is directly matching with your uploaded diagram, where the parts are:

  • PWM controller → Any oscillator source
  • MOSFET → Main switch
  • Inductor (100uH) → Energy storage and boost
  • Diode → Freewheeling path during OFF time
  • Capacitor (2200uF) → Output filter
  • Battery (24V) → Load and energy receiver

Reader Interactions

Questions & Answers

Total Posts: 2
Newest Oldest
Anto Das8
September 13, 2025 • 1 year ago #185297

is it possible to make this without a inductor

Reply
SwagatamAdmin
September 13, 2025 • 1 year ago #185313

No, not possible…

Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

My YouTube Channel

Circuit Simulator: Draw and Simulate Schematics

circuit simulator image

Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (104)
  • Battery Charger Circuits (90)
  • Datasheets and Components (109)
  • Electronics Theory (151)
  • Energy from Magnets and Earth (43)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (98)
  • Lamps and Lights (161)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (51)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)

Subscribe to get New Circuits in your Email

Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on EGS002 Datasheet, Circuit Diagram Explained
  • Hung on EGS002 Datasheet, Circuit Diagram Explained
  • Swagatam on How to Design a Buck Converter Circuit: Formulas and Calculations
  • martin on How to Design a Buck Converter Circuit: Formulas and Calculations
  • Swagatam on Touch Dimmable LED Light Bar Circuit

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

Calculators

  • ZVS Induction Heater + Tank Calculator Tool
  • Zener Diode Calculator
  • Wire Current and Thickness Calculator (Ampacity Calculator)
  • Voltage Divider Calculator
  • Transistor Base Resistor Calculator
  • Transistor Astable Multivibrator Calculator
  • TL431 Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Ferrite Core Air Gap Calculator Tool
  • Parallel MOSFET Calculator Tool: How to Connect MOSFETs in Parallel Safely
  • LC Resonance Calculator for EV Battery Charger Circuits
  • LED String Series Resistor Calculator
  • PFC (Power Factor Correction) Calculator Tool: 3kW
  • Passive Power Factor Correction (PFC) Calculator
  • LM567 IC Calculator Tool
  • SMPS Flyback Boost Converter Calculator
  • Shunt Resistor Calculator for Ammeters
  • SCR and Triac Gate Resistor Calculator
  • Battery Back up Time Calculator
  • Boost Converter Calculator (Non-Isolated)
  • Bootstrap Capacitor Calculator
  • Buck Converter Calculator
  • Buck-Boost Converter Calculator
  • Capacitance Reactance Calculator
  • DCM Flyback Transformer & Wire Gauge Wire Size Calculator Tool
  • Filter Capacitor Calculator
  • IC 4047 Calculator (Frequency and PWM)
  • IC 4060 Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • IC SG3525, SG3524 Calculator
  • Inductance Calculator
  • Induction Heater Inductor and Resonant Frequency Calculator
  • Induction Heater Work Coil Calculator
  • Inverter LC Filter Calculator
  • LC Resonance Calculator
  • LED Current Calculator
  • LM317, LM338, LM396 Calculator
  • NAND/NOT Gate RC Values Calculator
  • NOT, NAND Gate Frequency Calculator
  • Notch Filter Calculator Tool
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • RC Filter Calculator
  • Reactance Calculator
  • Sine Table Calculator for SPWM Arduino Code
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • SMPS Calculator for Toroidal Ferrite Transformers
  • SMPS Flyback Transformer Calculator – Design by Target Duty Cycle
  • TL431 Calculator
  • Op-Amp Hysteresis Resistor Calculator

© 2026 · Swagatam Innovations