Electrical Energy Calculator

Enter constant power, or measured average real power for the interval. DC mode assumes constant voltage and current.

Enter elapsed time. 1.5 hours is 1 hour 30 minutes.

Energy used

Enter the load readings and a duration to calculate energy.

Energy (Wh)

Energy at constant power00Elapsed time (h)

Enter the load readings and a duration to calculate energy.

E = P × t

The calculator is unavailable or still loading. Enable JavaScript if it is disabled. Reload the page if the calculator does not load.

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.

How to use

Choose Power and duration, or DC voltage and current. Enter the load readings and select their units.

Enter a duration in seconds, minutes, hours or days. To enter hours and minutes separately, switch to Hours, minutes and seconds.

Choose the main energy unit. Read the main result and its equivalents. Wh and kWh measure energy. W and kW measure power.

The line shows energy at the entered constant power. Change Time shown or choose Fit duration. These controls preserve the calculation.

Explore duration replaces the duration and keeps power fixed. Use numeric fields for exact values. Open Show the steps for conversions and substitutions.

Copy result includes the power, duration and energy units. Reset clears the readings and restores the starting units, format and graph range.

Science

Power describes how quickly energy is transferred. Energy adds up over elapsed time. A constant load therefore consumes twice as much energy when it runs twice as long.

A watt-hour combines watts with hours. One watt-hour equals 3,600 joules. One kilowatt-hour equals 1,000 watt-hours. A kilowatt per hour measures how power changes over time.

In DC mode, voltage multiplied by current supplies the constant power used for the calculation. This mode does not account for AC phase, varying current, losses or duty cycles. It also does not infer usable battery capacity from an amp-hour rating.

Decimal time and hours, minutes and seconds can describe the same duration. For example, 1.5 hours equals 90 minutes. A duration of 1.30 decimal hours equals 78 minutes. It does not mean 1 hour 30 minutes.

Real loads can change with operating mode and time. An energy total here represents the stated constant load, or an intentional average-power approximation. The tool does not estimate tariffs, runtime limits or measurement uncertainty.

Formulas

Constant-power energy: E(J) = P(W) × t(s)

Watt-hours: E(Wh) = P(W) × t(h) = E(J)/3,600

Kilowatt-hours: E(kWh) = E(Wh)/1,000

Kilojoules: E(kJ) = E(J)/1,000

Constant DC power: P(W) = V(V) × I(A)

Elapsed time: t(s) = 3,600 × hours + 60 × minutes + seconds. One day is 86,400 seconds.

Examples

100 W for 2 h: 200 Wh = 0.2 kWh = 720,000 J = 720 kJ. Multiply 100 W by 2 h. Convert using 3,600 J/Wh.

12 V and 2 A for 30 min: Power 24 W. Energy 12 Wh = 43,200 J. DC power is 24 W. The duration is 0.5 hours.

50 W for 1 h 30 min 15 s: 75.20833333 Wh = 270,750 J. Total duration is 5,415 seconds.

10 W for 1.30 decimal h: 13 Wh = 46,800 J. 1.30 decimal hours is 78 minutes.

100 W for 0 s: 0 Wh = 0 J. Zero elapsed duration accumulates zero energy.

0 W for 24 h: 0 Wh = 0 J. Zero power accumulates no energy in this model.

References

OpenStax University Physics Volume 2, 9.5 Electrical Energy and Power

NIST SP 811 Appendix B.8, conversion factors