The fundamental formula for calculating electrical energy consumption is E = P × t, where Energy (E) is measured in kilowatt-hours (kWh), Power (P) is in kilowatts (kW), and time (t) is in hours (h). If your power is in watts, you must divide by 1,000. This equation is the bedrock of utility billing, solar array sizing, and battery bank capacity planning.

The Core kWh Formula and Symbol Definitions

To use the formula correctly, you must track your units rigorously. The most common field mistake is multiplying watts by hours and calling the result kilowatt-hours, which inflates the true energy value by a factor of 1,000. Below is the definitive symbol table for the standard and expanded forms of the equation.

Symbol Parameter Standard Unit Alternative Units & Conversions
E Energy kilowatt-hours (kWh) Watt-hours (Wh) ÷ 1000; Joules (J) ÷ 3,600,000
P Real Power kilowatts (kW) Watts (W) ÷ 1000; Horsepower (HP) × 0.746
t Time hours (h) Minutes (min) ÷ 60; Seconds (s) ÷ 3600
1000 Kilo Prefix Dimensionless Used to convert base Watts to kilowatts

The expanded formula, when starting with base SI units (Watts and minutes), is written as:

E(kWh) = (P(W) × t(min)) ÷ (1000 × 60)

Deriving the Formula from First Principles

Understanding where the formula comes from prevents unit confusion. The NIST guide to SI units defines the Watt as one Joule per second (1 W = 1 J/s). Therefore, power is a rate, and energy is the integral of that rate over time.

  • Step 1: 1 kW = 1,000 Joules per second.
  • Step 2: 1 hour = 3,600 seconds.
  • Step 3: Multiply the rate by the time: 1,000 J/s × 3,600 s = 3,600,000 Joules.

Thus, 1 kWh is exactly 3.6 Megajoules (MJ). When you use the formula E = P × t, you are simply calculating the total area under the power curve. If power is constant, it is a simple rectangle (multiplication). If power varies (like a compressor cycling on and off), the formula calculates the average power over the interval, or you must integrate P(t)dt.

Rearranged Forms: Solving for Every Variable

On the bench or in the field, you rarely have all three variables. Here are the algebraically rearranged forms solving for each missing parameter, complete with unit tracking.

  • Solve for Power (kW): P(kW) = E(kWh) ÷ t(h)
  • Solve for Power (W): P(W) = (E(kWh) × 1000) ÷ t(h)
  • Solve for Time (hours): t(h) = E(kWh) ÷ P(kW)
  • Solve for Time (minutes): t(min) = (E(kWh) ÷ P(kW)) × 60
  • Solve for Time (days): t(days) = E(kWh) ÷ (P(kW) × 24)

Worked Examples with Strict Unit Tracking

Abstract formulas fail in the real world without strict unit tracking. Below are two common scenarios: a pure DC resistive load and an AC inductive load with a duty cycle.

Problem 1: Off-Grid DC Cabin Load

Scenario: You are sizing a 12V LiFePO4 battery bank. A 45W LED strip runs for 6 hours, and a 120W DC water pump runs for 25 minutes. What is the total daily energy draw in kWh?

  1. Calculate LED Energy: Convert 45W to kW (45 ÷ 1000 = 0.045 kW). Time is already in hours (6 h).
    ELED = 0.045 kW × 6 h = 0.270 kWh
  2. Calculate Pump Energy: Convert 120W to kW (120 ÷ 1000 = 0.120 kW). Convert 25 minutes to hours (25 ÷ 60 = 0.4167 h).
    EPump = 0.120 kW × 0.4167 h = 0.050 kWh
  3. Sum the Loads: 0.270 kWh + 0.050 kWh = 0.320 kWh total.
  4. Battery Sizing Note: At 12V nominal, 0.320 kWh requires 320 Wh ÷ 12V = 26.6 Ah. To avoid deep discharge, you would specify at least a 12V 50Ah LiFePO4 battery.

Problem 2: Single-Phase AC Well Pump with Duty Cycle

Scenario: A 1.5 HP well pump is rated at 120V, draws 15A, and has a power factor (PF) of 0.85. It cycles on for 12 minutes every hour, running continuously over a 24-hour period. Find the daily kWh.

  1. Calculate Real Power (P): For AC, P = V × I × PF.
    P = 120V × 15A × 0.85 = 1,530 Watts.
    Convert to kW: 1,530 ÷ 1000 = 1.53 kW.
  2. Calculate Total Run Time (t): 12 minutes/hour × 24 hours = 288 minutes.
    Convert to hours: 288 ÷ 60 = 4.8 hours.
  3. Calculate Energy (E): E = P × t.
    E = 1.53 kW × 4.8 h = 7.344 kWh.

Assumptions, Magnitude Checks, and Fatal Unit Mistakes

When the Formula Applies (and When It Doesn't)

The basic E = P × t formula assumes constant power over the time interval. If you are measuring a variable load (like a VFD-driven motor ramping up, or solar panels tracking a cloud-covered sky), you cannot simply use peak power. You must use the average power over the interval, or log instantaneous power and calculate the discrete integral (sum of P × Δt for small time steps).

Furthermore, for AC circuits, P must be Real Power (kW), not Apparent Power (kVA). Multiplying kVA by time yields kVAh, which is not what residential utility meters bill you for, though some industrial tariffs do penalize poor power factor.

Realistic Answer Magnitudes

Always sanity-check your result against real-world baselines. According to the U.S. Energy Information Administration (EIA), the average U.S. residential utility customer consumes about 29 kWh per day (roughly 886 kWh per month).

  • Too Small: If you calculate that a whole-house HVAC system uses 0.5 kWh a day, you forgot to convert minutes to hours or Watts to kilowatts.
  • Too Large: If you calculate that a single 60W incandescent bulb uses 144 kWh a day, you multiplied 60W × 24h and forgot to divide by 1000 (the real answer is 1.44 kWh).

Fatal Unit Mistakes to Avoid

  • Confusing kW and kWh: kW is the rate of flow (like gallons per minute); kWh is the total volume (like total gallons). A 10 kW shower heater running for 0 hours uses 0 kWh.
  • The 'Minutes' Trap: Plugging 45 minutes directly into the 't' variable without dividing by 60. This will inflate your energy calculation by a factor of 60.
  • Ignoring Power Factor: Using V × I for an AC motor without multiplying by the PF. This calculates Apparent Power (VA), overestimating the actual energy consumed and billed.

Frequently Asked Questions

How do I convert the kWh formula result to Joules or BTUs?

To convert kWh to Joules, multiply your E(kWh) result by 3,600,000 (since 1 kWh = 3.6 MJ). To convert kWh to British Thermal Units (BTUs) for HVAC thermal equivalence calculations, multiply the kWh value by 3,412. For example, 10 kWh of electrical resistance heating yields exactly 34,120 BTUs of heat output.

Does the kWh formula work for 3-phase AC motors?

Yes, but you must adjust the Power (P) calculation first. For a balanced 3-phase system, Real Power P(kW) = (√3 × VLine × ILine × PF) ÷ 1000. Once you have calculated the true 3-phase P in kilowatts, you simply plug that value into the standard E = P × t formula. Do not use phase-to-neutral voltage unless you are calculating per-phase energy and multiplying by three.

Why does my solar inverter show a different kWh total than my utility meter?

This discrepancy is normal and stems from measurement points and conversion losses. Your solar inverter measures the DC energy harvested from the panels or the AC energy immediately post-inversion. The utility meter measures the net AC energy that actually crossed the service entrance after passing through your breaker panel, wiring, and inverter internal parasitic loads. Expect the utility meter to show 2% to 5% less exported energy than the inverter's production log due to wire I²R losses and inverter clipping.