The fundamental formula for electric energy is E = P × t (Energy = Power × Time). Because electrical power (P) is the product of voltage and current, the formula expands to E = V × I × t. In alternating current (AC) systems with reactive loads, you must also multiply by the power factor (PF), yielding E = V × I × PF × t. Whether you are sizing a solar battery bank or estimating the operating cost of a server rack, tracking your units through this equation is the only way to avoid catastrophic sizing errors.
The Core Formula for Electric Energy and Its Assumptions
At the bench or on the jobsite, electric energy represents the total capacity to do work over a specific duration. While power (Watts) is the instantaneous rate of energy transfer, energy (Joules or Watt-hours) is the accumulated total. According to the National Institute of Standards and Technology (NIST), the strict SI unit for energy is the Joule, but the electrical industry universally relies on the Watt-hour for practical billing and battery capacity metrics.
| Symbol | Quantity | Standard SI Unit | Common Practical Unit |
|---|---|---|---|
| E | Electric Energy | Joule (J) | Watt-hour (Wh) or kilowatt-hour (kWh) |
| P | Power | Watt (W) | Kilowatt (kW) |
| t | Time | Second (s) | Hour (h) |
| V | Voltage | Volt (V) | Volt (V) |
| I | Current | Ampere (A) | Ampere (A) or milliampere (mA) |
| PF | Power Factor | Dimensionless (0 to 1) | Dimensionless (0 to 1) |
When the Formula Applies and Its Core Assumptions
The algebraic formula E = V × I × t assumes a constant, steady-state load. It applies perfectly to DC circuits (like a 12V water pump running off a battery) and purely resistive AC circuits (like an incandescent bulb or a resistive space heater) where the power factor is exactly 1.0.
If the load varies over time—such as an ESP32 microcontroller cycling between active WiFi transmission and deep sleep, or a variable frequency drive (VFD) ramping up a 3-phase motor—the simple algebraic formula breaks down. In those dynamic scenarios, energy is the integral of instantaneous power over time: E = ∫ p(t) dt. This is exactly what a digital utility smart meter or a battery management system (BMS) Coulomb counter calculates under the hood.
Rearranged Forms: Solving for Every Variable
On the workbench, you rarely have all the variables handed to you. Here are the rearranged forms of the DC energy formula to isolate any missing variable, assuming steady-state conditions:
- Solving for Power (P):
P = E / t(Use this to find the continuous wattage draw if you know a battery's Wh rating and the required runtime). - Solving for Time (t):
t = E / P(Use this to calculate battery runtime). - Solving for Voltage (V):
V = E / (I × t)(Use this to determine the required nominal battery voltage for a given amp-hour capacity and energy target). - Solving for Current (I):
I = E / (V × t)(Use this to size wire gauge and fuses based on total energy consumption over a known period).
Worked Examples with Strict Unit Tracking
Unit tracking (dimensional analysis) is your defense against orders-of-magnitude errors. Below are two real-world scenarios demonstrating how to carry units through the calculation.
Example 1: DC Battery Sizing for an Off-Grid Water Pump
Scenario: You are powering a 12V nominal DC diaphragm water pump that draws 5.5 Amps. The pump runs for a total of 45 minutes per day. Calculate the daily energy consumption in both Joules and Watt-hours.
- Identify knowns: V = 12V, I = 5.5A, t = 45 minutes.
- Convert time to standard units:
- For Joules: t = 45 min × 60 s/min = 2,700 seconds.
- For Watt-hours: t = 45 min / 60 min/h = 0.75 hours.
- Calculate in Joules (SI):
E = V × I × tE = 12V × 5.5A × 2,700sE = 66 Watts × 2,700s = 178,200 Joules (or 178.2 kJ) - Calculate in Watt-hours (Practical):
E = V × I × tE = 12V × 5.5A × 0.75hE = 66 Watts × 0.75h = 49.5 Watt-hours (Wh)
Example 2: AC Mains Cost Calculation for an Inductive Load
Scenario: A 240V AC split-phase well pump motor draws 8 Amps. Because it is an inductive motor load, it has a power factor (PF) of 0.82. The pump runs for 15 minutes to fill a pressure tank. Calculate the energy used in kWh and the cost, assuming the US Department of Energy average electricity rate of $0.16 per kWh.
- Identify knowns: V = 240V, I = 8A, PF = 0.82, t = 15 minutes (0.25 hours).
- Apply the AC energy formula:
E = V × I × PF × t - Substitute values with units:
E = 240V × 8A × 0.82 × 0.25h - Calculate Real Power (Watts):
P = 240 × 8 × 0.82 = 1,574.4 W(or 1.5744 kW) - Calculate Energy (kWh):
E = 1.5744 kW × 0.25h = 0.3936 kWh - Calculate Cost:
Cost = 0.3936 kWh × $0.16/kWh = $0.063(roughly 6.3 cents per pump cycle).
Common Unit Mistakes That Break the Calculation
When the formula yields a wildly incorrect result, it is almost always a unit mismatch. Here are the specific mistakes that break the math:
- The 'mAh' Trap (Confusing Charge with Energy): Hobbyists frequently look at a 5,000 mAh (milliamp-hour) lithium-ion cell and assume it holds 5 Amp-hours of energy. It does not. mAh is a unit of electric charge, not energy. To find energy, you must multiply by the nominal voltage. A 5,000 mAh cell at 3.7V holds 18.5 Wh (
5Ah × 3.7V). If you omit voltage, your energy calculation is fundamentally broken. - Mixing Seconds and Hours: If you multiply Watts by seconds, you get Joules. If you multiply Watts by hours, you get Watt-hours. Multiplying Watts by minutes yields a non-standard hybrid unit (Watt-minutes) that will not align with utility bills or battery datasheets. Always convert time to either seconds (for Joules) or hours (for Wh/kWh) before multiplying.
- Ignoring Apparent vs. Real Power in AC: If you calculate AC energy using
V × I × ton a motor or transformer without including the Power Factor, you are calculating Apparent Energy (Volt-Amp-hours, VAh), not Real Energy (Watt-hours). Utilities bill residential customers for Real Energy (kWh). Omitting PF will cause you to overestimate the actual work performed and the thermal energy dissipated. - Confusing Power (kW) with Energy (kWh): A 2 kW space heater running for 3 hours consumes 6 kWh of energy. The breaker panel and wire sizing (e.g., 12 AWG on a 20A breaker) only care about the instantaneous Power (2 kW / 120V = 16.6A). The battery bank sizing and utility bill care about the Energy (6 kWh). Mixing these up leads to undersized batteries or tripped breakers.
Frequently Asked Questions
What is the formula for electric energy in kilowatt-hours (kWh)?
To calculate energy directly in kilowatt-hours, divide the wattage by 1,000 before multiplying by time in hours. The formula is: E (kWh) = (V × I / 1000) × t (hours). For AC circuits, insert the power factor: E (kWh) = (V × I × PF / 1000) × t (hours). This is the exact metric your utility company uses to generate your monthly bill.
How does the formula for electric energy change for 3-phase AC motors?
For balanced 3-phase AC systems, the voltage and current relationship changes due to the phase angles. The formula becomes E = √3 × V_L × I_L × PF × t, where V_L is the line-to-line voltage (e.g., 480V), I_L is the line current, and √3 (approximately 1.732) accounts for the three-phase geometry. If you forget the √3 multiplier, your calculated energy will be off by nearly 73%.
Why does my battery capacity in milliamp-hours (mAh) not match the energy formula?
Because mAh measures charge (Current × Time), not energy. The energy formula requires Voltage. If a datasheet lists a 3.2V LiFePO4 cell at 3000 mAh, the charge is 3 Ah. To find the energy capacity to plug into your system's energy budget, you must apply E = V × Charge, resulting in 3.2V × 3Ah = 9.6 Wh. Always convert battery capacities to Watt-hours when comparing different chemistries or voltages.
Is the formula for electric energy the same as the formula for electrical work?
Yes, in practical circuit analysis, electrical work and electrical energy are synonymous and use the exact same formula (W = V × I × t or E = V × I × t). In physics, 'work' specifically refers to the transfer of energy that results in movement or heat against a resistance. In electrical engineering, we use 'energy' to describe the total capacity supplied by the source, and 'work' to describe what the load actually accomplished, but the mathematical calculation remains identical.






