DC-DC converter loss and efficiency calculator
A 100 V to 200 V, 4 kW boost converter built with a real 200 V MOSFET and a 200 V ultrafast diode loses about 83.5 W and runs at 98.0 % efficiency. This calculator shows where every watt goes (MOSFET conduction, switching, diode, inductor, capacitor), how the junction temperature and the heatsink follow, and why the output voltage sags when the losses grow. It works for buck, boost and inverting buck-boost converters in continuous conduction. Free, no sign-up, runs in your browser.
The last tab recomputes the loss terms of a "Project 1: loss calculation for a DC/DC converter" report, flags the ones that are off, and checks the unit slips seen in 81 public Skill-Lync reports.
Erickson and Maksimović ch. 3 · Infineon MOSFET loss note · IRFP4668 and VS-60EPU02 datasheets · MathWorks block docs · checked against a separate solution (2,811 checks at build) · Updated 23 Nov 2026
Defaults: the Skill-Lync task (100 V to 200 V, R = 10 Ω, 4 kW) at 50 kHz with an example MOSFET (Infineon IRFP4668, 200 V) and diode (Vishay VS-60EPU02, 200 V), numbers from their datasheets. Rds(on) is for the junction temperature you type; tab 3 finds it from the heatsink. The overlap times are the datasheet rise and fall times, taken as the voltage-current overlap: an assumption.
Gain is output over input at the duty you pick. The boost and buck-boost curves peak and then fall, because the inductor resistance eats more and more of the larger current. The efficiency curve holds the output voltage and varies the load.
Tj is found by iteration: losses at a guessed Tj, then Tj = Ta + P × Rθ, repeated until it stops changing. Required heatsink uses the losses at the limit temperature, the worst case. Datasheet case-to-sink values assume a greased flat surface.
Compares what a Simulink model with the Specialized Power Systems MOSFET and Diode blocks can contain against the hand calculation. Uses the converter on tab 1. The snubber loss is the part people do not expect.
Defaults are one public report's hand calculation of the task (as of 23 Nov 2026). Type what your report states; the page recomputes each term at the ideal duty and 25 °C, with the same CCM formulas, and flags terms more than 5 % off, missing terms and unit slips.
| Current | Average | RMS | Peak |
|---|---|---|---|
| Inductor | 40.4 A | 40.5 A | 42.9 A |
| Switch | 20.4 A | 28.8 A | 42.9 A |
| Diode | 20.0 A | 28.5 A | 42.9 A |
| Capacitor | 0 A | 20.2 A | n/a |
| Step | Tj guess | MOSFET loss | Diode loss |
|---|
| Loss in the report | Default Simulink MOSFET and Diode blocks | Hand calculation |
|---|---|---|
| MOSFET conduction | yes: Ron × I² (Ron default 0.1 Ω, set it) | Rds(on)(Tj) × Irms² |
| Diode conduction | yes: Vf (default 0.8 V) and Ron (0.001 Ω) | VF × Iavg + RD × Irms² |
| Inductor and capacitor | only if you add series R (DCR, ESR) | DCR × I², ESR × I² |
| Switching overlap | no: ideal switch, zero transition time | (Eon + Eoff) × fs |
| Reverse recovery | no: "reverse-recovery (negative) current are not considered" | Qrr × V × fs |
| Coss, gate drive | no | ½ Coss V² fs, Qg Vgs fs |
| Snubber (Rs, Cs) | yes: it is a real resistor and capacitor | not in the report |
| Term | Report | Recomputed | Off by |
|---|
Examples: a report whose diode term reads 94 W, a report with 200 mH and an output near 90 V, the lowest efficiency reported (41.89 %).
How do you calculate the efficiency of a boost converter?
Add up every loss in the power stage and compare it with the output power. Efficiency is output over input, and input is output plus losses:
The task as the reports restate it is a boost converter with Vin = 100 V, Vout = 200 V, L = 200 µH, C = 400 µF, rL = 10 mΩ, rC = 2 mΩ and R = 10 Ω. That fixes D = 0.5, Iout = 20 A, Iin = 40 A and Pout = 4 kW. With a 3 mΩ MOSFET and a 0.7 V diode and no switching loss at all, the losses are 36.0 W and η = 99.11 %. Add real switching behaviour and they grow: with the example parts at a 100 °C junction the total is 83.5 W, η = 97.95 %, and 47 % of the loss is switching, not conduction.
Losses also bend the voltage gain. The inductor resistance, the switch and the diode drop part of the voltage, so the duty cycle that gives 200 V is 0.5054, not 0.5000. Erickson and Maksimović get it from volt-second balance on the inductor and charge balance on the capacitor:
Here RL is the inductor resistance, Ron the switch, VD and RD the diode. With only RL the efficiency is just 1 / (1 + RL / (D'² R)). This calculator derives buck and buck-boost the same way. It uses the static gain for the duty cycle and the full ripple waveforms for the losses.
What is the MOSFET conduction loss formula?
While the MOSFET is on it is a resistor, so the power is RDS(on) × I². Averaged over the switching period, the current is the RMS value of the on-state current (Infineon's application note: "PCM = RDSon · I²Drms"). In a boost the on-state current is the inductor current, which ramps by Δi, so:
The ripple term Δi²/12 is the mean square of a triangle wave, and it is small here (Δi = 5.00 A on 40.4 A, 0.13 % of the conduction loss). The temperature matters far more. Rds(on) rises with the junction temperature. Infineon's note writes it as:
The IRFP4668 datasheet's normalised curve reads about 2.2 at 125 °C, which gives α = 0.8 % per °C (my reading of the curve, not a table value). The 8 mΩ typical value at 25 °C becomes 17.7 mΩ at 125 °C, and the conduction loss goes from 6.59 W to 14.7 W. Many reports use one fixed Rds(on) at room temperature; that understates this term by about half at a normal operating temperature.
What is the switching loss formula?
During turn-on the drain current rises while the drain still holds the full voltage, then the voltage falls. The same happens in reverse at turn-off. The area where voltage and current overlap is lost as heat. Infineon's note approximates it with a straight-line overlap and states that this "presents the worst case":
For the example, Vsw is the output voltage, 200 V, Ion = 37.9 A and the overlap is 105 ns, so Eon is about 398 µJ and the overlap loss is 35.8 W at 50 kHz. The overlap times are the hardest input. The datasheet gives rise and fall times for one gate resistor and one test current; yours depend on your gate drive. Treat the result as an estimate, and measure if it matters.
Three more terms belong in the list, each small here:
- Reverse recovery: the diode's stored charge Qrr flows through the MOSFET at turn-on, adding Qrr Vsw to its energy (2.20 W for 220 nC), and about a quarter of that in the diode itself: . Qrr grows with temperature and current; the 220 nC is the Vishay datasheet's 125 °C value at 60 A.
- Coss: ½ Coss V² fs = 0.63 W with the datasheet's energy-related 630 pF. This is an approximation. Part of that energy is already counted in the overlap loss, and the datasheet defines the capacitance only up to 80 % of VDSS.
- Gate drive: Qg Vgs fs = 0.08 W. It is dissipated in the gate driver, not in the MOSFET, so it counts in the efficiency but not in the junction temperature.
With a synchronous FET in place of the diode the reverse-recovery terms go (the body diode only conducts during the dead time), and the freewheel conduction loss becomes the second FET's RDS(on) × I². Switching frequency moves the total a lot:
| fs | Ripple Δi | Total loss | Switching share | Efficiency |
|---|---|---|---|---|
| 20 kHz | 12.5 A | 60.0 W | 26 % | 98.52 % |
| 50 kHz | 5.00 A | 83.5 W | 47 % | 97.95 % |
| 100 kHz | 2.50 A | 123 W | 64 % | 97.01 % |
| 200 kHz | 1.25 A | 202 W | 78 % | 95.18 % |
Example parts, Tj = 100 °C, L = 200 µH held fixed, so the ripple falls as fs rises. The loss roughly doubles from 20 to 200 kHz, and efficiency falls from 98.5 % to 95.2 %.
How do I calculate inductor and capacitor losses?
The inductor carries the input current all the time, so its DCR loss uses the full inductor RMS current. The output capacitor of a boost sees the load current alone while the switch is on, and the inductor current minus the load while it is off:
I derived the capacitor current from that waveform (it is not in the sources I read) and checked it by numerical integration of the waveform. For the example the inductor loses 16.4 W and the capacitor 0.82 W (RMS 20.2 A). Core loss, AC winding loss and the capacitor's dielectric loss are not included. For 10 mΩ of copper on 40 A, DCR is already the second largest term, which is why the reports spend their effort there.
These formulas hold in continuous conduction. If L is below the critical value the inductor current touches zero each period, and the calculator stops instead of giving a wrong answer:
For the example Lcrit = 12.4 µH, so 200 µH is about 16 times the limit. The loss and efficiency drop at light load, because the switching loss stays while the output power falls:
| Load | Io | Efficiency |
|---|---|---|
| 5 % | 1.00 A | DCM (not modelled) |
| 10 % | 2.00 A | 98.01 % |
| 25 % | 5.00 A | 98.34 % |
| 50 % | 10.0 A | 98.29 % |
| 100 % | 20.0 A | 97.95 % |
Why does my boost converter output less than the input?
Ordinary losses cannot do it at a sensible duty cycle. With the report's 10 mΩ of inductor resistance and R = 10 Ω, a 100 V boost gives 198 V at D = 0.5, 630 V at D = 0.85, 1315 V at D = 0.95 and 714 V at D = 0.99. The gain peaks near D = 0.95 and then collapses, the "rollover" in Erickson's gain curve, and falls below the input only when D is within 1.2e-3 of 1.
The report that shows "near about 90 V" typed L = 200 mH and R = "10V". Neither explains it. 200 mH only removes the ripple (Δi falls to 0.01 A), and at D = 0.5 the model still gives 198 V. The usual causes of a boost that does not boost are a duty command that is not what you think, a load that is not the resistor you meant, and a diode connected the wrong way. The calculator's last tab flags a reported output below the input.
How do you measure efficiency in Simulink, and what does the model leave out?
Measure the mean of the instantaneous power over a whole number of switching periods after the output has settled:
Use Product blocks on the voltage and current measurements and average them (or read the mean over the last periods). Do not multiply an RMS voltage by an RMS current: with ripple the two RMS values do not multiply into the average power, and the error is a different size on the input and output. A single sample or a peak is wrong for the same reason.
Then know what the model can show. MathWorks' Specialized Power Systems MOSFET block "is simulated by an ideal switch controlled by a logical signal ... with a diode connected in parallel". Its on-state voltage is "Ron*I" (default Ron 0.1 Ω) and the internal diode adds Rd and Vf. The Diode block says "the reverse-recovery (negative) current are not considered", with defaults Ron 0.001 Ω and Vf 0.8 V. So a run with these blocks contains conduction loss and the resistances you add, but no switching loss and no reverse recovery. If your hand calculation has 35 W of switching loss, the simulation cannot show it, and comparing the two efficiencies proves nothing about either.
The snubbers do matter. The blocks include a series Rs-Cs snubber by default: the Diode block's is 500 Ω with 250 nF, the MOSFET block's 100 kΩ with Cs = inf (a plain resistor). With a periodic square wave across the snubber, its loss is:
For the example that is 20.0 W in the default diode snubber and 0.10 W in the MOSFET one: 0.50 % of the output power from circuit elements the real converter does not have. Tab 4 computes it for your values. Set Rs to inf, or size it on purpose. (These default values are from the MathWorks page for the Specialized Power Systems library, which now points to Simscape Electrical blocks; other blocks have other defaults.)
How hot does the MOSFET get, and what heatsink does it need?
The junction temperature is the ambient plus the power times the thermal resistances in series:
The catch is that the power depends on the temperature, because Rds(on) rises with it. Start from a guess, compute the loss, compute the new temperature, and repeat. For the example on one 0.8 K/W heatsink at 40 °C ambient the iteration settles at Tj = 123 °C in 19 steps (diode 109 °C), with a MOSFET loss of 53.1 W. The part's limit is 175 °C, but designing to 150 °C leaves margin, and the heatsink must then be 1.11 K/W or better. If the slope of Rds(on) against Tj times the thermal resistance reaches 1, there is no stable point: thermal runaway. Tab 3 flags it.
What did 81 reports do?
Skill-Lync read the text of every public report titled "Project 1: Loss calculation for a DC/DC converter" and the related DC-DC converter reports on 23 Nov 2026. As of that date, n = 81, counted from the report text; 17 of them have under 900 characters of text and three or more images, so what they show is in screenshots and is not counted here. Reports that are near copies of each other are counted as separate reports. Examples are links to the public report pages.
The spec as typed. The task statement is restated in most reports, in slightly different forms:
| Typed in the report | Reports | Examples |
|---|---|---|
| Vin = 100 V | 42 of 81 | 1, 2 |
| Vout = 200 V | 44 of 81 | 1, 2 |
| L = 200 µH | 38 of 81 | 1, 2 |
| C = 400 µF | 39 of 81 | 1, 2 |
| rL = 10 mΩ | 39 of 81 | 1, 2 |
| rC = 2 mΩ | 39 of 81 | 1, 2 |
| R = 10 Ω | 37 of 81 | 1, 2 |
| Duty 0.5 | 24 of 81 | 1, 2 |
The switching frequency was not given, so students chose one. 59 of 81 reports state no frequency at all. Where one is given: 20 kHz in 10, 50 kHz in 7, 500 kHz in 3, 10 kHz in 2, 100 kHz in 2, 1.85 kHz in 1. The most common value is not the same as a good choice; the L = 200 µH in the task is 16 times Lcrit at 50 kHz, so any of these keeps the converter in CCM.
Which losses were counted.
| In the report text | Reports | Examples |
|---|---|---|
| Rds(on) or drain-source resistance named | 39 of 81 | 1, 2 |
| Diode forward voltage Vf named | 35 of 81 | 1, 2 |
| Capacitor loss or ESR named | 34 of 81 | 1, 2 |
| Inductor loss or copper loss named | 19 of 81 | 1, 2 |
| Switching loss named | 16 of 81 | 1, 2 |
| Reverse recovery named | 4 of 81 | 1, 2 |
| Output capacitance Coss named | 8 of 81 | 1, 2 |
| Core loss named | 3 of 81 | 1, 2 |
| Gate charge or gate loss named | 2 of 81 | 1, 2 |
| Junction temperature, heatsink or thermal resistance named | 4 of 81 | 1, 2 |
| CCM or continuous conduction named | 2 of 81 | 1, 2 |
| Switching frequency stated (any value) | 36 of 81 | 1, 2 |
Switching loss appears in 16 reports and reverse recovery in 4. A report that leaves out the switching terms is the Simulink model's loss, not the converter's.
The efficiencies reported. Reading the last efficiency figure stated in each report that gives one (42 do), they run from 41.89 % to 99.765 %, median 98.6 %:
| Efficiency | Reports | Examples |
|---|---|---|
| below 90 % | 7 | 1, 2 |
| 90 to 95 % | 4 | 1, 2 |
| 95 to 98 % | 4 | 1, 2 |
| 98 to 99 % | 17 | 1, 2 |
| 99 % and above | 10 | 1, 2 |
All of them are the same spec, so they cannot all be right. The spread comes from which terms are counted (with and without switching loss, a fixed 25 °C Rds(on) or a hot one, a diode term that is or is not multiplied by (1 − D)) and from slips. The 41.89 % report divides by a different input power, not by the converter's losses. The calculator's last tab recomputes each term.
A slip you can check by hand. One report's diode term reads 94 W: with RD = 3 mΩ, VF = 0.7 V, Iin = 40 A and the (1 − D) factor it writes, the same formula gives:
So the total is 35.6 W, not 113.2 W, and the efficiency is 99.12 %, not 97.17 %. The report has the 94 W and the 97.17 %. (This is one report; the term was found by text match and counts 1 report.) The other terms in it recompute to within 5 %.
Unit slips. 1 report types L = 200 mH where the task says 200 µH, and 1 types the load as "R = 10V" (the same report); it reports an output "near about 90V" from a 100 V input and puts it down to the losses. They are small counts, but they are the ones a 1000-times unit error produces, and tab 5 flags them.
What this calculator does not cover
- DCM: below Lcrit the calculator stops and says so. It does not give a discontinuous-conduction result.
- Core, proximity and AC copper loss in the inductor, and the capacitor's dielectric loss: the model has DCR and ESR only.
- Parasitic ringing, gate-driver loss in the MOSFET, body-diode conduction outside the dead time, and the nonlinearity of Coss and Crss: the overlap time is an input, not a prediction.
- Diode Vf with temperature: type the value at your operating temperature.
- Control and transients: this is the steady state at one operating point.
Computing the loss budget of a converter, matching a Simulink model to the hand numbers and sizing the heatsink are what power electronics teams look for in a design interview. The "loss calculation for a DC/DC converter" project is part of Skill-Lync's power converter courses.
Frequently asked questions
How do you calculate boost converter efficiency?
Add up every loss and use η = Pout / (Pout + losses). The losses are MOSFET conduction, switching and reverse recovery, diode conduction, inductor DCR and capacitor ESR. For the 100 V to 200 V, 4 kW example with real parts they total 83.5 W, so η = 98.0 %.
What is the MOSFET conduction loss formula?
P = Rds(on) × Irms², with Rds(on) taken at the junction temperature, not 25 °C. In a boost the switch carries the inductor current only while on, so Irms² = D × (Iin² + Δi²/12). The example MOSFET's Rds(on) is 2.2 times higher at 125 °C than at 25 °C.
What is the switching loss formula?
Estimate P = (Eon + Eoff) × fs, where each energy is voltage × current × transition time / 2, plus Qrr × V for the diode's reverse recovery. At 200 V and 37.9 A (the current at turn-on) with 105 ns overlap, one turn-on is about 398 µJ, which is 19.9 W at 50 kHz.
Why does my boost converter output less than the input?
Not through ordinary losses: with 10 mΩ of inductor resistance the output stays near the ideal until D passes about 0.9, then the gain peaks and falls. Check the duty command, that the load is the resistor you meant, and the units of L (200 mH is not 200 µH).
What switching frequency should I assume?
If the task gives none, choose one and state it. Reports used 20 kHz most often (10), then 50 kHz. Pick fs so that L is well above L_crit, check the ripple is 20 to 40 % of the input current, and compare two frequencies, since switching loss scales with fs.
How do you measure efficiency in Simulink?
Wait for steady state, then average over whole switching periods: η = mean(vo·io) / mean(vin·iin), using Product blocks and a mean. Do not use Vrms × Irms. The MOSFET and Diode blocks show Ron, Rd and Vf losses but no switching or reverse-recovery loss unless you add it.
Related on Skill-Lync
- Buck and boost converter calculator: inductor, capacitor and critical inductance for the ideal power stage
- Cuk converter calculator: the fourth basic topology, with SEPIC and Zeta
- Two-quadrant chopper calculator: a DC-DC stage that also regenerates
- Battery pack calculator: the source side of an EV converter
- DC motor speed control calculator: the load a chopper usually drives
- Power electronics courses compared
- All free engineering tools
Sources
- R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, chapter 3 (inductor copper loss, the DC transformer model and efficiency, the boost example with Ron, VD, RD). Read through Colorado State University ECE 562 lecture 12, "Lossy Converters (Static State Losses but Neglecting Switching Losses)", and lecture 38 (critical inductance of the buck, boost and buck-boost, with worked examples).
- D. Graovac, M. Pürschel and A. Kiep, MOSFET Power Losses Calculation Using the Data-Sheet Parameters, Infineon application note V1.1, July 2006: conduction and diode loss, RDS(on)(Tj), switching and reverse-recovery energies, buck and boost currents.
- MIT 6.622 Power Electronics, Spring 2023, lecture 8 (boost ripple and critical inductance) and problem set 2 solutions (RMS of a triangular ripple, Δipp / (2√3)).
- Infineon IRFP4668PbF datasheet, Rev. 2.2, 2024: RDS(on) 8.0 mΩ typ, Qg 161 nC, tr 105 ns, tf 74 ns, Coss eff.(ER) 630 pF, thermal resistances, Fig. 4 (normalised RDS(on) against temperature, read by eye). Vishay VS-60EPU02-N3 datasheet, Rev. 29-Nov-2019: VF, Qrr 220 nC at 125 °C, thermal resistances (VF0 and RD read from Fig. 1 by eye). Both are examples: type your own part's values.
- MathWorks documentation, Specialized Power Systems Mosfet and Diode blocks (default parameters, macro model, reverse recovery not considered; read from an archived copy, the live pages now point to Simscape Electrical).
- Skill-Lync, all 81 public reports counted on 23 Nov 2026. scripts/verify/converter_loss.py recomputes 156 cases another way (the gain from a 2 × 2 linear solve, the RMS values by numerical integration of the current waveforms, the duty by search, the heatsink temperature by bisection, the snubber loss by time stepping) and cross-checks the gain against a time-domain simulation of the switched circuit; the page compares its own numbers with them at build time (2,811 checks).