When sizing a solar battery bank, estimating off-grid runtime, or figuring out how long a portable power station will run your gear, you need to convert energy capacity into time. A kWh to hours calculator bridges this gap by dividing your total energy reserve by the power draw of your load. The direct answer is simple: Hours (t) = Energy (kWh) ÷ Power (kW).
However, real-world electrical systems are rarely 100% efficient, and mixing up Watts with kilowatts is the most common reason DIY solar builds fail to meet runtime expectations. Below is the complete derivation, symbol definitions, and bench-tested worked examples to ensure your calculations match reality.
The Core Formula and Symbol Definitions
The fundamental relationship between energy, power, and time is derived from the definition of a Watt. Since a Watt is one Joule per second, a kilowatt-hour (kWh) represents the energy consumed when a 1,000-Watt load runs for exactly one hour. The base formula is:
t = E ÷ P
| Symbol | Variable | Standard Unit | Definition & Bench Notes |
|---|---|---|---|
| t | Time | Hours (h) | The duration the load can be sustained or the time required to charge a battery. |
| E | Energy | Kilowatt-hours (kWh) | Total energy capacity of the battery or total energy consumed. 1 kWh = 1,000 Wh. |
| P | Power | Kilowatts (kW) | The rate of energy transfer. Must be in kW to match the kWh numerator. 1 kW = 1,000 W. |
Rearranged Forms
Depending on what you are trying to size, you will need to rearrange the formula to solve for each variable:
- Solving for Time (t):
t = E ÷ P(Use when sizing runtime for a known battery and load). - Solving for Energy (E):
E = P × t(Use when sizing a battery bank to run a specific load for a target number of hours). - Solving for Power (P):
P = E ÷ t(Use when determining the maximum continuous load a battery can support for a required duration).
Real-World Appliance Runtime Data Table
Theoretical math assumes 100% efficiency, but in practice, inverters lose 10-15% of energy as heat, and battery management systems (BMS) prevent you from draining cells to absolute zero. The table below provides real-world runtime data for common off-grid and backup scenarios, factoring in an 85% inverter efficiency and standard Depth of Discharge (DoD) limits. According to the U.S. Department of Energy, understanding these adjusted loads is critical for accurate home energy auditing.
| Power Source (Capacity) | Appliance / Load | Power Draw (W) | Power Draw (kW) | Theoretical Runtime (h) | Real-World Adjusted Runtime (h) |
|---|---|---|---|---|---|
| Portable Power Station (1.0 kWh) | CPAP Machine (no heater) | 40 W | 0.04 kW | 25.0 h | 21.2 h (85% inverter eff.) |
| LiFePO4 Server Rack (4.8 kWh) | Full-Size Refrigerator | 150 W (avg) | 0.15 kW | 32.0 h | 21.7 h (80% DoD, 85% eff.) |
| Tesla Powerwall 3 (13.5 kWh) | 240V Baseboard Heater | 1,500 W | 1.50 kW | 9.0 h | 7.6 h (Continuous high-draw derating) |
| Golf Cart Bank (5.7 kWh) | Well Pump (1/2 HP) | 750 W | 0.75 kW | 7.6 h | 3.8 h (50% DoD for Lead-Acid) |
Step-by-Step Worked Examples with Unit Tracking
Let's walk through two common scenarios. Tracking your units through the calculation is the best way to catch order-of-magnitude errors before you buy the wrong equipment.
Example 1: Sizing Runtime for a 12V LiFePO4 Battery
Scenario: You have a 12V 200Ah LiFePO4 battery and want to run a 600W microwave during a grid outage. How many hours will it last?
- Convert Energy to kWh: The battery is rated in Amp-hours (Ah). First, find Watt-hours (Wh) by multiplying Volts × Amps.
12V × 200Ah = 2,400 Wh
Now convert to kWh by dividing by 1,000.
2,400 Wh ÷ 1,000 = 2.4 kWh (E) - Convert Power to kW: The microwave draws 600W.
600 W ÷ 1,000 = 0.6 kW (P) - Apply the Formula:
t = 2.4 kWh ÷ 0.6 kW
Notice how the 'k' cancels out, leaving just hours (h).
t = 4 hours - Apply Real-World Derating: Microwaves are high-surge resistive loads. Assuming a 90% inverter efficiency and an 80% safe DoD for the BMS:
4 hours × 0.90 × 0.80 = 2.88 hours of practical runtime.
Example 2: Calculating EV Charging Time
Scenario: You are charging a 14.4 kWh PHEV battery (like a Chevy Volt) using a standard 120V Level 1 charger pulling 12A. How many hours to charge from 0 to 100%?
- Calculate Power in kW: Use the DC/AC power formula (P = V × I).
120V × 12A = 1,440 W
1,440 W ÷ 1,000 = 1.44 kW (P) - Identify Energy: The battery capacity is already in kWh.
14.4 kWh (E) - Apply the Formula:
t = 14.4 kWh ÷ 1.44 kW
t = 10 hours
Note: The U.S. Energy Information Administration (EIA) notes that Level 1 charging is highly inefficient for large EV batteries due to parasitic vehicle loads (computers, thermal management) running during the charge cycle, which can extend this 10-hour baseline by 15-20%.
Assumptions, Unit Traps, and Realistic Magnitudes
A raw kWh to hours calculator assumes a perfectly linear, constant power draw. Understanding where this assumption breaks down is what separates a theoretical student from a competent system designer.
When the Formula Applies (and When It Doesn't)
This formula is highly accurate for constant resistive loads like incandescent lights, space heaters, or basic DC water pumps. It is also accurate for averaged cyclical loads like refrigerators or freezers, provided you use the compressor's average duty-cycle wattage rather than its peak running wattage.
The formula fails when applied to highly dynamic loads without integration. For example, an electric vehicle motor draws 0 kW at a stoplight and 80 kW during hard acceleration. You cannot use a single 'P' value for this; you must rely on the vehicle's stated Wh/mile efficiency metric instead.
Unit Mistakes That Break the Math
Another common trap is confusing Amp-hours (Ah) with kWh. Ah is a measure of electrical charge, while kWh is a measure of energy. A 100Ah battery at 12V (1.2 kWh) holds vastly less energy than a 100Ah battery at 48V (4.8 kWh). Always multiply Ah by the nominal system voltage and divide by 1,000 to get true kWh.
What a Realistic Answer Magnitude Looks Like
Developing an intuition for realistic magnitudes will save you from wiring errors.
- Small Electronics (Laptops, Routers): A 1 kWh battery should run a 50W router for roughly 17 to 20 hours. If your math says 170 hours, you missed a decimal.
- Heavy Appliances (Space Heaters, Well Pumps): A 1.5 kW space heater will drain a standard 5 kWh DIY LiFePO4 bank in just over 2.8 hours (accounting for inverter losses). High-wattage thermal loads destroy battery reserves rapidly.
- Whole Home Backup: The average American home uses about 29 kWh per day (roughly 1.2 kWh per hour averaged). A 13.5 kWh Tesla Powerwall will theoretically run the entire house for 11 hours without load shedding, but practical runtime with HVAC cycling is closer to 6 to 8 hours.
By anchoring your calculations to the t = E ÷ P formula and aggressively tracking your units, you can confidently size inverters, battery banks, and solar arrays without relying on guesswork or oversimplified online calculators.






