Electrical power is the instantaneous rate at which work is done or energy is transferred, while electrical energy is the total accumulation of that power over a specific time period. Confusing the two is the most common mistake in DIY solar, battery sizing, and electrical load calculations. The fundamental formula for power and energy bridges voltage, current, resistance, and time, allowing you to size wires, select breakers, and specify battery banks with mathematical certainty.

The Core Formula for Power and Energy

Power ($P$) in a DC circuit or a purely resistive AC circuit is the product of voltage ($V$) and current ($I$). Energy ($E$) is that power multiplied by the time ($t$) the circuit is active. Below is the definitive symbol table for these calculations.

Symbol Quantity SI Unit Common Commercial Unit Definition
P Power Watt (W) Kilowatt (kW) Rate of energy transfer (Joules per second)
E Energy Joule (J) Kilowatt-hour (kWh) or Watt-hour (Wh) Total work done over time
V Voltage Volt (V) Volt (V) Electrical potential difference
I Current Ampere (A) Milliamp (mA) or Amp (A) Rate of electron flow
t Time Second (s) Hour (h) Duration of power delivery
R Resistance Ohm (Ω) Ohm (Ω) Opposition to current flow

The foundational equations are:

  • Power: $P = V × I$
  • Energy: $E = P × t$ (which expands to $E = V × I × t$)

Rearranged Forms and Algebraic Solvers

On the workbench, you rarely have all variables handed to you. You usually know the power rating of a device and the system voltage, and you need to find the current to size a fuse. By combining the core power formula with Ohm’s Law ($V = I × R$), we derive a complete set of algebraic solvers.

Solving for Power (P)

  • $P = V × I$ (Use when voltage and current are known)
  • $P = I2 × R$ (Use for calculating heat loss in wires where current and resistance are known)
  • $P = V2 / R$ (Use when voltage and load resistance are known, common in heating elements)

Solving for Current (I) and Voltage (V)

  • $I = P / V$ (Critical for breaker and wire sizing)
  • $V = P / I$
  • $I = √(P / R)$
  • $V = √(P × R)$

Solving for Energy (E) and Time (t)

  • $E = P × t$
  • $t = E / P$ (Use to calculate battery runtime)
  • $P = E / t$

Worked Examples with Strict Unit Tracking

Abstract formulas fail when units are mixed. The following problems demonstrate strict unit tracking, which is the only way to prevent catastrophic sizing errors.

Problem 1: DC Water Pump Energy Consumption

Scenario: A 12V DC diaphragm water pump draws 4.5A when active. It runs for a total of 2.5 hours per day. Calculate the daily energy consumption in both Watt-hours (Wh) and Joules (J).

  1. Calculate Power (P):
    $P = V × I$
    $P = 12\text{V} × 4.5\text{A} = 54\text{W}$
  2. Calculate Energy in Watt-hours (Wh):
    $E = P × t$
    $E = 54\text{W} × 2.5\text{h} = 135\text{Wh}$
  3. Convert Watt-hours to Joules (J):
    Conversion factor: 1 Watt = 1 Joule/second, and 1 hour = 3600 seconds. Therefore, 1 Wh = 3600 J.
    $E = 135\text{Wh} × 3600\text{J/Wh}$
    $E = 486,000\text{J}$ (or 486 kJ)

Problem 2: AC Space Heater Current and Cost

Scenario: A 120V AC resistive space heater is rated at 1500W. It runs for 8 hours. Calculate the current draw to select a breaker, and the total energy in kilowatt-hours (kWh).

  1. Calculate Current (I):
    $I = P / V$
    $I = 1500\text{W} / 120\text{V} = 12.5\text{A}$
    Sizing Decision: A standard 15A breaker is technically sufficient (12.5A < 15A), but NEC continuous load rules require derating to 80% for loads over 3 hours. 15A × 0.80 = 12A. Therefore, you must upgrade to a 20A breaker and 12 AWG wire.
  2. Calculate Energy in kWh:
    First, convert Watts to Kilowatts: $1500\text{W} / 1000 = 1.5\text{kW}$
    $E = P × t$
    $E = 1.5\text{kW} × 8\text{h} = 12\text{kWh}$

When the Formula Applies (and When It Breaks)

Realistic Magnitude Check: A realistic magnitude for a household refrigerator is 150W running, consuming about 1.5 kWh/day. A desktop PC draws 200W-400W. If your formula yields 15,000W for a desk lamp, or 0.05 kWh for an electric oven, you have dropped a decimal or failed to convert milliamps to amps. Always sanity-check your answer against known baselines (see the DOE Appliance Energy Estimates for reference).

Assumptions and Limitations

The formula $P = V × I$ assumes a Direct Current (DC) circuit or a purely resistive Alternating Current (AC) circuit where the Power Factor (PF) is exactly 1.0. In AC circuits with inductive or capacitive loads (motors, compressors, fluorescent ballasts), voltage and current waveforms fall out of phase.

For AC reactive loads, the formula breaks down unless modified:

  • Apparent Power (VA): $S = V_{rms} × I_{rms}$
  • Real Power (W): $P = V_{rms} × I_{rms} × \cos(\theta)$

If you size an inverter for a 1000W AC motor using only $P = V × I$ without accounting for a typical 0.8 Power Factor, you will undersize the inverter by 20%, causing it to trip on overload.

Unit Mistakes That Break the Math

  1. The kW vs W Trap: Multiplying 1.5 kW by 120V yields 0.0125A, which is physically impossible for a space heater. You must convert 1.5 kW to 1500 W before dividing by voltage.
  2. The Time Unit Mismatch: The SI unit for Energy (Joules) requires time in seconds. The commercial unit (kWh) requires time in hours. Multiplying kW by minutes yields a useless number. Always convert minutes to fractional hours (e.g., 45 mins = 0.75h) before calculating kWh.
  3. Confusing W and Wh: Watts measure the speed of energy flow (like miles per hour). Watt-hours measure the distance traveled (like miles). A 100W solar panel does not produce "100W of energy per day"; it produces a specific number of Watt-hours based on peak sun hours.

Decision Tree: Sizing an Off-Grid Battery Bank

Use this decision path to translate theoretical energy calculations into a concrete hardware purchase. This example sizes a battery for a remote cabin running a 60W laptop and a 40W LED light array for 10 hours a night.

Step If Condition / Action Calculation Resulting Value
1 Sum all continuous DC/AC loads. $60\text{W} + 40\text{W}$ $P_{total} = 100\text{W}$
2 Multiply by daily runtime to find raw energy. $100\text{W} × 10\text{h}$ $E_{raw} = 1000\text{Wh}$
3 If using an inverter, divide by inverter efficiency (assume 85% or 0.85). $1000\text{Wh} / 0.85$ $E_{inverter} = 1176\text{Wh}$
4 Divide by battery Depth of Discharge (DoD). For LiFePO4, use 80% (0.80). For Lead-Acid, use 50% (0.50). $1176\text{Wh} / 0.80$ $E_{capacity} = 1470\text{Wh}$
5 Divide required Wh capacity by the nominal system voltage (12V) to find Amp-hours (Ah). $1470\text{Wh} / 12\text{V}$ $C_{Ah} = 122.5\text{Ah}$
6 Final Hardware Selection: Round up to the nearest standard commercial battery size to account for aging and temperature derating. Next standard size above 122.5Ah 150Ah
Concrete Part Pick: Based on the decision tree above, purchase a 12V 150Ah LiFePO4 battery (such as the Ampere Time 12V 150Ah or Power Queen 12V 150Ah). Do not buy a 100Ah battery; it will suffer from premature degradation due to exceeding the 80% DoD limit, and do not buy a 12V 150Ah Sealed Lead Acid (SLA) battery, as its 50% DoD limit would require a 300Ah physical capacity to deliver the same usable energy.

By strictly applying the formula for power and energy, tracking units through every multiplication, and applying real-world derating factors, you transition from guessing to engineering. For deeper reference on standard electrical units and their official definitions, consult the NIST SI Units guidelines.