The fundamental formula for calculating electrical energy consumption is kWh = (Watts × Hours) / 1000. If you are dealing with an inductive AC load like a motor or compressor, you must also multiply by the Power Factor (PF): kWh = (Volts × Amps × PF × Hours) / 1000. This single equation dictates everything from your monthly utility bill to the battery bank sizing for an off-grid solar array.

The Core kWh Formula and Symbol Definitions

Energy is the integral of power over time. While power (Watts or Kilowatts) is the instantaneous rate of work, energy (Kilowatt-hours) is the total volume of work performed. The standard U.S. Energy Information Administration defines the kilowatt-hour as the primary billing metric for residential and commercial electricity.

For DC circuits or purely resistive AC loads (like incandescent bulbs or resistive space heaters), the formula is straightforward:

E = (P × t) / 1000

For inductive AC loads (like HVAC compressors, well pumps, or shop vacuums), voltage and current fall out of phase. You must account for real power versus apparent power:

E = (V × I × PF × t) / 1000

Symbol Parameter Standard Unit Definition & Bench Notes
E Energy kWh Total electrical energy consumed or delivered.
P Real Power Watts (W) Actual work-producing power. For AC, P = V × I × PF.
V Voltage Volts (V) RMS voltage for AC. Nominal 120V or 240V in US residential.
I Current Amperes (A) RMS current draw measured in series or via CT clamp.
PF Power Factor Dimensionless (0-1) Ratio of real power to apparent power. 1.0 for resistive, 0.80-0.95 for standard motors. See All About Circuits for phase angle derivation.
t Time Hours (h) Duration the load is energized. Must be in decimal hours.
Assumption Check: Constant vs. Variable Loads
The algebraic formula above assumes a constant power draw over time t. If your load cycles (like a refrigerator compressor or a sump pump), you cannot simply multiply the peak running wattage by 24 hours. For variable loads, you must either use a sampling energy meter that integrates the area under the curve, or calculate the duty cycle (e.g., runs 15 minutes per hour) and apply the formula only to the active runtime.

Rearranged Forms: Solving for Any Variable

On the bench or in the field, you rarely just solve for E. You usually have a target energy budget and need to find the maximum allowable current, or you have a utility bill and need to back-calculate the runtime of a specific machine. Here are the algebraic rearrangements with the 1000-unit conversion tracked:

  • Solve for Power (W): P = (E × 1000) / t
  • Solve for Time (h): t = (E × 1000) / P
  • Solve for Current (A): I = (E × 1000) / (V × PF × t)
  • Solve for Voltage (V): V = (E × 1000) / (I × PF × t)
  • Solve for Power Factor: PF = (E × 1000) / (V × I × t)

Worked Examples with Strict Unit Tracking

Let us run through two real-world scenarios. Notice how every unit is explicitly tracked and converted. Skipping the time conversion is the most common reason DIY solar calculations fail.

Problem 1: Resistive AC Load (Server Rack)

Scenario: You are running a homelab server rack on a standard 120V branch circuit. The power supply draws a steady 8 Amps. The power factor is 1.0 (active PFC). You need to know the daily energy consumption to size a backup UPS battery.

  1. Identify knowns: V = 120V, I = 8A, PF = 1.0, t = 24 hours.
  2. Calculate Real Power (P):
    P = 120V × 8A × 1.0 = 960 Watts
  3. Apply kWh formula:
    E = (960 W × 24 h) / 1000
  4. Execute math:
    E = 23,040 Wh / 1000 = 23.04 kWh

Answer: The server rack consumes 23.04 kWh per day. If your utility charges $0.15 per kWh, this rack costs $3.45 per day to run.

Problem 2: Inductive AC Load (Well Pump Motor)

Scenario: A 240V submersible well pump is wired to a 30A double-pole breaker. A clamp meter reads 14 Amps while pumping. The motor nameplate indicates a Power Factor of 0.85. The pressure tank cycles the pump for a total of 45 minutes per day.

  1. Identify knowns: V = 240V, I = 14A, PF = 0.85, t = 45 minutes.
  2. Convert time to hours:
    t = 45 min / 60 min/h = 0.75 hours
  3. Calculate Real Power (P):
    P = 240V × 14A × 0.85 = 2,856 Watts
  4. Apply kWh formula:
    E = (2856 W × 0.75 h) / 1000
  5. Execute math:
    E = 2142 Wh / 1000 = 2.142 kWh

Answer: The well pump consumes 2.142 kWh per day. Notice that if we had ignored the 0.85 PF and calculated apparent power (240 × 14 = 3360W), we would have overestimated the energy use at 2.52 kWh, leading to an oversized and overly expensive solar array.

The Three Unit Mistakes That Break Your Math

Watch your units, or your battery bank will die. The math is simple, but unit mismatches cause catastrophic sizing errors in off-grid and backup power design.
  1. Forgetting the Time Conversion: The formula demands time in hours. If a space heater runs for 90 minutes, plugging '90' into the t variable inflates your result by 60x. Always divide minutes by 60 to get decimal hours (90/60 = 1.5h).
  2. Ignoring Power Factor on Motors: Utility companies bill residential customers for real power (Watts), not apparent power (Volt-Amps). If you use V × I without multiplying by PF for an air conditioner compressor, you are calculating VA, not W. Your kWh result will be 10% to 20% too high.
  3. Confusing kW with kWh: kW is a rate (like miles per hour); kWh is a volume (like total miles driven). A 7.2 kW EV charger does not use '7.2 kWh' when you plug it in. It uses 7.2 kWh for every hour it charges.

Realistic Answer Magnitudes

How do you know if your calculated answer is wrong? Use this sanity-check table based on typical US residential baselines.

Load Type Typical Power Draw Realistic kWh Magnitude
LED Lighting (Whole Home) 50W - 150W 1.0 - 3.0 kWh / day
Modern Refrigerator 150W (cycling) 1.5 - 2.5 kWh / day (approx 60 kWh/mo)
Electric Space Heater 1500W (constant) 1.5 kWh per hour of runtime
Level 2 EV Charger 7,200W (30A @ 240V) 35 - 55 kWh per charging session

Decision Path: Picking the Right kWh Meter

Calculating kWh on paper is fine for static loads, but real-world circuits have harmonics, voltage sags, and variable duty cycles. To get true empirical kWh data, you need hardware. Use this decision tree to select the exact meter for your application.

IF your scenario is... THEN choose this form factor... Concrete Pick & Cost (2026)
Testing a single 120V plug-in appliance on the bench (e.g., checking a freezer's daily draw). Inline plug-in LCD meter. Measures V, A, W, PF, and integrates kWh locally. P3 Kill A Watt P4400 (~$25). The industry standard for single-outlet bench testing.
Monitoring individual branch circuits in a 200A residential panel to find vampire loads. CT-clamp based panel monitor with WiFi app. Requires installing split-core transformers over breaker wires. Emporia Vue Gen 2 (~$120 for base + 8 sensors). Best value for granular, circuit-level tracking.
Whole-home monitoring where you cannot access the panel to install CT clamps (e.g., apartment or sealed utility panel). AI-disaggregation monitor. Clamps only to the main service entrance wires and uses machine learning to identify appliance signatures. Sense Energy Monitor (~$299). Excellent for non-invasive whole-home trend tracking, though less precise on small loads than CT-based systems.
Final Recommendation for Solar & Off-Grid Builders: Do not rely on nameplate wattage multiplied by estimated hours to size your LiFePO4 battery bank. Nameplates list maximum draw, not average draw. Buy an Emporia Vue Gen 2, install the CT clamps on your critical load breakers, and log the actual kWh for 7 days. Use that empirical data to calculate your required Ah capacity at your system voltage.