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 UPS or inverter backup runtime from battery energy, AC load, inverter efficiency, idle power and usable capacity, or the battery energy needed for a target runtime.
Choose Backup runtime, or Battery for a target runtime.
Enter the bank's capacity in Ah or Wh (for runtime) and its nominal voltage.
Enter the AC load in watts, or in VA with its power factor.
Enter the inverter efficiency and, if you know it, the idle power from the data sheet; set the usable capacity.
For lead-acid banks under heavy loads, open Rate effect (Peukert) and enter the exponent and the rated discharge time.
Read the runtime or the battery needed, the DC current and the energy bar. Copy result copies labelled values; Reset clears the values and restores the starting choices.
A UPS or inverter turns the battery's DC energy into AC power. The battery has to supply the load plus the inverter's losses, so the power it delivers is the load divided by the efficiency, plus whatever the inverter draws just to stay on.
A battery bank's energy in watt-hours is its ampere-hours times its nominal voltage, and it is the same whether its batteries are wired in series or in parallel. Dividing the usable energy by the battery-side power gives the runtime; dividing the battery-side power by the bank voltage gives the DC current the cables and fuse must carry.
Watts are not volt-amperes. An AC load's real power is its volt-amperes times its power factor, and only real power drains the battery, so a "1000 VA" UPS at a power factor of 0.6 supplies at most 600 W.
Batteries, especially lead-acid, deliver less than their rated capacity when discharged quickly. Peukert's law describes this with an exponent: 1 means no effect, and Victron uses 1.25 as a typical lead-acid value. At a load that would empty the battery in well under its rated hours, the runtime falls much faster than the energy alone suggests.
Limitations: efficiency and idle power are held constant, although real inverters are less efficient at light load and a data sheet's peak efficiency may already include the idle draw. Battery voltage sag, temperature, ageing, the UPS's low-voltage cut-off and surge loads are not modelled, and Peukert's law is only a rough fit. Treat the result as an estimate and test the real system.
Battery power: P_b = P_L / η + P_0. P_L is the AC load in watts, η the inverter efficiency, P_0 the idle power.
Real load from VA: P_L = S × pf, where S is in VA and pf is the power factor.
Runtime: t = u × E / P_b, with E = Q × V the bank energy in Wh and u the usable fraction.
Rate effect: t = u × H × (E / (P_b × H))^k, for loads heavier than the H-hour rate.
DC current: I_dc = P_b / V.
Battery for a target: E = P_b × t₀, with t₀ = H × (t / (u × H))^(1/k) for heavy loads, or t / u otherwise.
12 V 100 Ah, 500 W load, 90% efficient: 2 h 10 min (2.16 h). 1,200 Wh ÷ 555.6 W; the battery supplies 46.3 A.
Same, inverter idle power 8 W: 2 h 8 min (2.129 h). 563.6 W from the battery; the idle draw uses 17 Wh.
800 VA load at power factor 0.6, 90% efficient, 8 W idle, 80% usable, 1,200 Wh: 1 h 46 min. 800 VA × 0.6 = 480 W of real load.
UPS with two 12 V 9 Ah batteries in series, 300 W, 85% efficient: 36 min 43 s without the rate effect; 15 min 21 s with Peukert 1.25 at C20. The 216 Wh bank would empty in 0.612 h, far faster than its 20 h rating.
Battery for 1 hour of 500 W at 90%, 12 V: 555.6 Wh, 46.3 Ah. With Peukert 1.25 at C20 the same hour needs 1,011 Wh (84.29 Ah).
Common mistake: 1000 VA UPS treated as 1000 W: A 600 W real load at power factor 0.6. Use the watt rating, or VA times the power factor.
OpenStax University Physics Volume 2, 15.4 Power in an AC Circuit
OpenStax College Physics 2e, 7.6 Conservation of Energy (Efficiency)
OpenStax University Physics Volume 2, 9.5 Electrical Energy and Power
Victron Energy BMV-712 Smart manual: Battery capacity and Peukert exponent
Victron Energy Inverter Smart 1600 VA – 5000 VA data sheet
Victron Energy Inverter VE.Direct 250 W – 1600 W 230 V data sheet
Sandia SAND2007-5036: Performance Model for Grid-Connected Photovoltaic Inverters
MIT Electric Vehicle Team: A Guide to Understanding Battery Specifications
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)