The formula of kWh (kilowatt-hour) is the foundational math behind every electricity bill and solar array sizing calculation. At its core, the formula is kWh = (Watts × Hours) / 1000, or equivalently, kWh = Kilowatts × Hours. It calculates total electrical energy consumed by multiplying the rate of power draw by the duration of use, then scaling the result to match utility billing units.
The Core Formula of kWh and Symbol Definitions
Before plugging in numbers, we must define the variables. Energy is the integral of power over time. In the SI system, power is measured in Watts (Joules per second) and energy in Joules. However, a Joule is a tiny amount of energy. A 100W incandescent bulb burning for one second uses 100 Joules. Over a month, that translates to hundreds of millions of Joules. To keep billing numbers manageable, utility companies use the kilowatt-hour. One kWh equals exactly 3.6 million Joules (3.6 Megajoules).
| Symbol | Variable Name | Standard Unit | Definition & Notes |
|---|---|---|---|
| E | Energy | kWh | Total electrical energy consumed or generated over a specific period. |
| P | Power | Watts (W) or Kilowatts (kW) | The instantaneous rate of energy transfer. Must be Real Power (W), not Apparent Power (VA). |
| t | Time | Hours (h) | Total duration the load is active. Must be converted from minutes or days before calculating. |
| 1000 | Scaling Factor | W/kW | Constant used to convert Watts to Kilowatts. Omitted if P is already entered in kW. |
Real-World Appliance Data and Realistic Magnitudes
A common failure point for DIYers and students is lacking an intuition for what a "normal" kWh value looks like. If you calculate that your television uses 45 kWh a day, you have made a math error. According to the U.S. Energy Information Administration (EIA), the average American home consumes about 899 kWh per month, which breaks down to roughly 29.5 kWh per day.
Below is a data-dense reference table of common household loads. Use this to sanity-check your own calculations. Note that the monthly cost assumes a national average residential rate of $0.16 per kWh.
| Appliance | Power Rating (W) | Daily Run Time (h) | Daily Energy (kWh) | Monthly Cost (@ $0.16/kWh) |
|---|---|---|---|---|
| Space Heater (High) | 1500 W | 4.0 h | 6.00 kWh | $28.80 |
| Modern Refrigerator | 400 W (avg) | 8.0 h (cycled) | 3.20 kWh | $15.36 |
| Whole-Home LED Lighting | 60 W (total) | 5.0 h | 0.30 kWh | $1.44 |
| EV Level 1 Charger (120V/12A) | 1440 W | 10.0 h | 14.40 kWh | $69.12 |
| Well Pump (1 HP, 240V) | 746 W (mech) | 1.5 h | 1.35 kWh* | $6.48 |
*Note: The well pump calculation assumes an 85% motor efficiency, drawing roughly 877 electrical Watts to produce 746 mechanical Watts (1 HP).
Rearranged Forms: Solving for Power, Time, and Cost
The base formula is highly adaptable. On the bench or in the field, you rarely know all three variables. Here are the algebraically rearranged forms you need for practical troubleshooting and system sizing.
- Solving for Power (Watts):
P = (kWh × 1000) / t
Use case: You see a solar battery dropped by 2.4 kWh over 6 hours and need to identify which parasitic load is draining it. (Answer: 400W). - Solving for Time (Hours):
t = (kWh × 1000) / P
Use case: You have a 5 kWh backup battery and a 1500W microwave. How long can you cook? (Answer: 3.33 hours, theoretically, ignoring inverter losses). - Solving for Cost ($):
Cost = kWh × Rate
Use case: Calculating the ROI of upgrading to a high-efficiency heat pump. Multiply the kWh savings by your local utility's specific $/kWh rate. - Solving for Battery Capacity (Ah to kWh):
kWh = (Ah × V) / 1000
Use case: Converting a 12V, 100Ah LiFePO4 battery's capacity into usable energy. (Answer: 1.2 kWh nominal).
Worked Examples with Strict Unit Tracking
The most common reason calculations fail is sloppy unit tracking. Below are two solved problems demonstrating strict intermediate steps.
Problem 1: Sizing a Generator for an AC Window Unit
Scenario: A 120V window air conditioner draws 12A on its nameplate. You run it for 8 hours a day during a summer heatwave. Calculate the daily kWh consumption and the monthly cost at $0.18/kWh.
- Calculate Real Power (W):
P = V × I
P = 120V × 12A = 1440W - Convert Watts to Kilowatts:
P(kW) = 1440W / 1000 = 1.44 kW - Apply Time to find Energy (kWh):
E = P(kW) × t(h)
E = 1.44 kW × 8 h = 11.52 kWh - Calculate Monthly Cost (30 days):
Monthly E = 11.52 kWh/day × 30 days = 345.6 kWh
Cost = 345.6 kWh × $0.18/kWh = $62.20
Problem 2: Off-Grid DC LED Strip Sizing
Scenario: You are wiring a 12V DC LED strip for a van build. The strip draws 3A continuously. You plan to leave it on for 14 days straight. How many kWh must your battery bank supply?
- Calculate DC Power (W):
P = V × I
P = 12V × 3A = 36W - Convert Total Time to Hours:
t = 14 days × 24 h/day = 336 hours - Apply the Core Formula:
E = (W × h) / 1000
E = (36W × 336h) / 1000 = 12.096 kWh
Bench Note: In a real 12V van system, you must account for inverter inefficiency if converting to AC, or wire voltage drop. A 12.1 kWh draw on a 12V system requires pulling over 1000Ah from the batteries. This is why off-grid builds step up to 24V or 48V architectures to keep current manageable.
Critical Assumptions and Unit Mistakes That Break the Math
The basic E = P × t formula is deceptively simple. It relies on strict assumptions that, if violated, will result in drastically oversized solar arrays or unexpectedly high utility bills.
When the Formula Applies (and When It Doesn't)
The standard formula assumes constant power draw. This is true for resistive loads like incandescent bulbs or basic space heaters. It is false for appliances with compressors, thermostats, or variable frequency drives (VFDs).
A refrigerator nameplate might read 400W. If you multiply 400W by 24 hours, you get 9.6 kWh/day. In reality, the compressor cycles on and off to maintain temperature, operating at roughly a 30% to 40% duty cycle. The true consumption is closer to 3.2 kWh/day. To fix this, you must use Average Power rather than Nameplate Power, or apply a duty cycle multiplier: E = P_nameplate × Duty_Cycle × t. For exact measurements, bypass the math and use a hardware monitor like the Emporia Vue 2 or a Kill-A-Watt meter, which integrate the area under the power curve automatically.
Unit Mistakes That Ruin Calculations
For AC inductive loads (motors, transformers, fluorescent ballasts), V × A does not equal Watts. It equals Volt-Amps (VA), also known as Apparent Power. Real Power (Watts) is calculated as W = V × A × PF. If you calculate kWh using VA instead of W, you will overestimate energy consumption and utility billing, because utility meters only bill for Real Power (kW), while ignoring Reactive Power (kVAR). Always check the nameplate for a PF rating (typically 0.8 to 0.95 for motors) or use a True RMS wattmeter. Read more on this distinction via the Department of Energy's appliance estimation guide.
- Using Minutes Instead of Hours: The formula demands time in hours. If you run a 2000W welder for 45 minutes, plugging "45" into the t variable yields 90 kWh. The correct input is 0.75 hours, yielding 1.5 kWh.
- Multiplying Instead of Dividing by 1000: When converting Watts to Kilowatts, you must divide by 1000. Multiplying shifts your decimal the wrong way, inflating your result by a factor of one million.
- Confusing kW and kWh: Kilowatts (kW) measure the size of the pipe (instantaneous capacity). Kilowatt-hours (kWh) measure the volume of water that flowed through it. You cannot bill or size a battery in kW; you must use kWh.
Mastering the formula of kWh requires more than memorizing P × t. It demands strict unit tracking, an understanding of duty cycles, and a respect for the difference between real and apparent power in AC circuits. Keep the reference tables above on your bench, and your energy calculations will remain grounded in reality.






