The fundamental formula for electrical energy is E = P × t (Energy equals Power multiplied by time). By substituting the power equation (P = V × I) and Ohm's Law variants, the expanded formulas become E = V × I × t, E = I2 × R × t, or E = (V2 / R) × t. This guide breaks down every symbol, tracks units through real-world calculations, and provides a concrete decision path for sizing power sources.

The Core Formula for Electrical Energy (and Symbol Definitions)

Energy is the capacity to do work over a period of time. In electrical terms, it is the total amount of power consumed or delivered across a specific duration. Below is the complete spec-sheet table defining every variable in the standard energy equations.

Symbol Variable SI Unit (Standard) Practical Unit Measurement Tool
E Energy Joule (J) Watt-hour (Wh), Kilowatt-hour (kWh) Calculated (or smart meter)
P Power Watt (W) Kilowatt (kW) Wattmeter / Multimeter
t Time Second (s) Hour (h) Stopwatch / Timer
V Voltage Volt (V) Kilovolt (kV) Multimeter (Voltage)
I Current Ampere (A) Milliamp (mA) Clamp meter / Multimeter
R Resistance Ohm (Ω) Kilo-ohm (kΩ) Multimeter (Resistance)

Rearranged Forms: Solving for Any Variable

On the workbench, you rarely have all the variables handed to you. Here are the algebraic rearrangements of E = V × I × t and E = I2 × R × t to isolate the unknown variable.

  • Solve for Power (P): P = E / t
  • Solve for Time (t): t = E / P  |  t = E / (V × I)  |  t = E / (I2 × R)
  • Solve for Voltage (V): V = E / (I × t)  |  V = √(E × R / t)
  • Solve for Current (I): I = E / (V × t)  |  I = √(E / (R × t))
  • Solve for Resistance (R): R = E / (I2 × t)  |  R = (V2 × t) / E

When This Formula Applies (and Unit Mistakes That Break It)

Assumption Check: The formulas E = V × I × t and E = I2 × R × t assume a DC circuit or a purely resistive AC circuit (Power Factor = 1.0). If you are calculating energy for an AC motor or an inductive load where the Power Factor (PF) is less than 1, you must use the real power formula: E = V × I × PF × t. For a deep dive on DC power derivations, refer to the All About Circuits DC Power chapter.

The Fatal Unit Mistake: Joules vs. Watt-Hours

The most common way hobbyists and students break this formula is by mixing time units. The SI unit for Energy is the Joule (J), which is defined as one Watt-second. Therefore, to get Joules, your time must be in seconds.

If you multiply Watts by hours, you do not get Joules; you get Watt-hours (Wh). This is the unit your utility company uses to bill you (see the DOE guide on estimating appliance energy use). The conversion factor is strict:

  • 1 Watt-hour (Wh) = 3,600 Joules (J)
  • 1 Kilowatt-hour (kWh) = 3,600,000 Joules (3.6 MJ)

Never plug 'hours' directly into the formula if your target answer requires Joules, and never plug 'seconds' into the formula if you are trying to calculate your monthly electricity bill in kWh.

Worked Examples with Strict Unit Tracking

Problem 1: DC Heating Element (Targeting Joules)

Scenario: A 12V DC nichrome wire heating element draws 5A of current. It is powered on for exactly 10 minutes. What is the total energy dissipated in Joules?

  1. Identify knowns: V = 12 V, I = 5 A, t = 10 minutes.
  2. Convert time to SI base unit (seconds): 10 minutes × 60 seconds/minute = 600 s.
  3. Select formula: E = V × I × t
  4. Substitute and solve: E = 12 V × 5 A × 600 s
  5. Calculate: E = 60 W × 600 s = 36,000 J (or 36 kJ).

Problem 2: AC Mains Appliance (Targeting Kilowatt-Hours and Cost)

Scenario: A 120V AC space heater rated at 1500W is run for 4 hours. Your utility charges $0.15 per kWh. How much energy is consumed, and what is the cost?

  1. Identify knowns: P = 1500 W, t = 4 h, Rate = $0.15 / kWh.
  2. Convert Power to Kilowatts: 1500 W / 1000 = 1.5 kW.
  3. Select formula: E = P × t (keeping time in hours to yield kWh).
  4. Substitute and solve: E = 1.5 kW × 4 h = 6 kWh.
  5. Calculate cost: 6 kWh × $0.15/kWh = $0.90.

Decision Path: Sizing a Battery for a Continuous Load

Use this decision tree to calculate the exact battery capacity required for an off-grid or backup DC load. This path terminates in a concrete hardware recommendation.

Step / Condition Action / Calculation Resulting Value
1. Define the daily load 12V DC water pump drawing 8A for 3 hours/day. E_daily = 12 × 8 × 3 = 288 Wh/day
2. Apply autonomy requirement System must run for 2 days without solar/input. E_total = 288 Wh × 2 = 576 Wh
3. Apply Depth of Discharge (DoD) Select LiFePO4 chemistry (safely allows 80% DoD). Divide total energy by 0.80. E_rated = 576 / 0.80 = 720 Wh
4. Convert to Amp-Hours (Ah) Divide rated energy by nominal system voltage (12V). Capacity = 720 Wh / 12V = 60 Ah
5. Apply real-world derating Add 20% buffer for inverter inefficiency, wire loss, and low-temperature derating. Final Target = 60 Ah × 1.2 = 72 Ah minimum
6. Concrete Hardware Pick Select the next standard commercial size up to ensure longevity and BMS headroom. Buy: Renogy 12V 100Ah Smart LiFePO4 Battery (Provides 1280 Wh total, 1024 Wh usable at 80% DoD).

Realistic Magnitudes: What Should Your Answer Look Like?

When you finish a calculation, run a 'smell test' against this reference table. If your calculated energy for a small device is in the megajoules, or your space heater calculation yields 5 Wh, you have misplaced a decimal or mixed up your time units.

Device / Scenario Power Rating Duration Realistic Energy Magnitude
ESP32 Microcontroller (Active WiFi) ~0.5 W 24 hours 12 Wh (43,200 J)
LED Desk Lamp 10 W 5 hours 50 Wh (180,000 J)
Smartphone Charging (0 to 100%) ~15 W (avg) 1.5 hours 22.5 Wh (81,000 J)
Electric Kettle (Boiling 1L water) 1500 W 4 minutes 100 Wh (360,000 J)
Central AC Unit (Summer Day) 3500 W 8 hours (cycling) 28 kWh (100.8 MJ)

By strictly tracking your units—converting time to seconds for Joules, and keeping power in kilowatts with time in hours for utility billing—you will eliminate the most common errors in electrical energy calculations. Always verify your final magnitude against real-world baselines to catch decimal errors before sizing your wire, breakers, or battery banks.