Electrical Energy Calculator
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open toolInteractive calculation is unavailable until JavaScript loads. The formulas, worked examples and references below remain available.
Estimate MOSFET gate-drive power, gate current, switching times and switching loss from gate charge, gate resistance, bus voltage, current and frequency.
Choose the load type: inductive, such as a motor, or resistive.
Enter the off-state drain voltage, the switched current and the switching frequency.
Enter the gate-drive voltage, driver output resistance and gate resistance. Include the MOSFET's internal gate resistance.
Enter Q_G at your drive voltage, Q_GS and Q_GD from the data sheet, the threshold voltage and the plateau voltage from the gate-charge curve.
Optionally enter Q_OSS to include output-capacitance loss. Read switching loss, transition times and gate-drive power and currents, then copy or reset.
A MOSFET switch loses energy each time it turns on or off because current flows while voltage is still across it. With an inductive load, current changes first while voltage stays high; then voltage falls while full current flows. Energy per edge is about half the voltage times the current times the transition time.
The transition time depends on how fast the gate driver can move charge. Between the threshold and plateau, the gate needs the part of Q_GS above threshold to raise the current. On the plateau it needs Q_GD to move the drain voltage. Turn-on plateau current is the drive voltage minus the plateau voltage divided by the gate-loop resistance. Turn-off plateau current is the plateau voltage divided by that resistance, which is why turn-off is often slower.
Charging the whole gate to the drive voltage and discharging it each period costs Q_G × V_GDR. The driver and combined gate resistance dissipate that power. R_G includes external and internal gate resistance, so this tool reports their combined share. Internal gate resistance heats the MOSFET, but the transition and output-capacitance loss result excludes gate-resistance dissipation because the two parts of R_G are not separate inputs. Average gate current Q_G × f_SW sets the driver's supply current.
Limitations: this is a first-order estimate with straight-line waveforms. Source and drain inductance, the driver's non-linear output stage, plateau dependence on current and temperature, diode reverse recovery and dead time change real losses. Application notes report that measured switching times rarely match data-sheet estimates. This model does not apply to zero-voltage switching. Calculate conduction loss separately with tool 063.
Switching charge: Q_SW = Q_GS × (V_GP − V_TH) / V_GP + Q_GD.
Gate current: I_G,on = (V_GDR − V_GP) / (R_DR + R_G); I_G,off = V_GP / (R_DR + R_G).
Transition times: t_on = Q_SW / I_G,on; t_off = Q_SW / I_G,off.
Switching loss: P_SW = c × V_DS × I_D × (t_on + t_off) × f_SW, with c = 0.5 for an inductive load and 0.25 for a resistive load.
Gate drive: P_QG = Q_G × V_GDR × f_SW; I_G,avg = Q_G × f_SW; I_G,peak ≈ V_GDR / (R_DR + R_G).
Output capacitance: P_COSS = 0.5 × Q_OSS × V_DS × f_SW.
48 V, 10 A inductive load at 100 kHz; 10 V drive, 1 Ω driver and 4 Ω gate resistance; Q_G 30 nC, Q_GS 8 nC, Q_GD 10 nC, V_TH 2.5 V, V_GP 4.5 V: P_SW 657.2 mW; t_on 12.32 ns; t_off 15.06 ns; gate drive 30 mW. Q_SW = 8 × 2 / 4.5 + 10 = 13.56 nC. I_G,on = 5.5 / 5 = 1.1 A; I_G,off = 4.5 / 5 = 0.9 A.
The same circuit at 500 kHz: P_SW 3.286 W; gate drive 150 mW. Switching loss scales with frequency; at high frequency it can exceed conduction loss.
The base case with a resistive load: P_SW 328.6 mW. AND9083 uses a coefficient of 0.25 instead of 0.5.
V_GP 9.9 V with a 10 V drive: t_on 799 ns and P_SW 19.37 W. With almost no voltage left above the plateau, turn-on stalls. Drive the gate well above the plateau voltage.
Using the driver's 2 A peak current to estimate switching time: 6.778 ns instead of 12.32 ns at turn-on. The current that matters is the plateau current, (V_GDR − V_GP) / R, not the peak at full drive voltage.
onsemi AND9083/D: MOSFET Gate-Charge Origin and its Applications
Texas Instruments SLUA618A: Fundamentals of MOSFET and IGBT Gate Driver Circuits
Available now
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open tool →Available now
Add up to 20 resistors in series using Ω, kΩ or MΩ for circuit analysis and electricity calculations, with a diagram and running total.
Open tool →Available now
Convert absolute temperatures between Celsius, Fahrenheit and kelvin.
Open tool →Given the fact that this was my first purchase and I made it thinking I was buying genuine Yihua products, this has been a setback. I received a lesser known OEM brand called MYTO and while both the products seem to be similar from appearance, my real contention is the quality and quantity of the brass wool. On top of that not informing the customer about the unavailability of the Yihua product and instead sending a product from a different brand is also antagonising. Henceforth, I might just have to think twice before ordering from ThinkRobotics.
TOF MINIF Range Sensor - UART TOF Time-of-Flight Laser Range Sensor
We are disappointed with our recent order experience. We clearly communicated our requirement for 433 MHz antennas on WhatsApp, but the issue remains unresolved. We have been following up for more than 10 days and are still waiting for a proper refund resolution.
As a regular B2B customer, we expected better support. This experience has affected our trust in ThinkRobotics, and we may have to consider other suppliers for future purchases. We request a fair and prompt refund.
Anodised Aluminium Cup Head Washers (Pack of 10)