What this calculator does
This calculator sizes a solar panel array and a battery together, from the same daily energy balance. It starts with how much energy the panels produce in a day, subtracts how much the loads use, and returns the surplus or the shortfall. A surplus means the array covers the day and has energy left to charge the battery; a shortfall means the loads need more panels, less load, or battery energy carried over from an earlier day.
Short answer: daily solar harvest = panel power × peak sun hours × yield fraction. Daily surplus = harvest − daily loads. The battery must then cover the loads through the night and through cloudy days, which is why the article below sizes the battery from the same daily load figure. The practical value of Solar Panel and Battery Calculator depends on the accuracy of those inputs.
Sizing panels and battery separately is the most common mistake in solar planning. Panels sized for a sunny day leave the battery empty after two cloudy days; a battery sized for one night leaves nothing for winter, when the sun hours fall. This page keeps the two together: one daily load, one harvest figure, one battery size.
The formulas behind the result
Daily gross solar harvest (Wh) = solar array power (W) × effective peak sun hours (h/day) × overall yield fraction. Peak sun hours are the equivalent hours of full sun, not the hours of daylight: a site with 4.2 peak sun hours receives the same energy as 4.2 hours at full panel power. The yield fraction covers inverter, wiring, temperature and soiling losses in one figure.
With the workbench defaults — 1,000 W of panels, 4.2 peak sun hours, 78% yield — the harvest is 1,000 × 4.2 × 0.78 = 3,276 Wh per day. Subtract the daily load of 2,200 Wh and the surplus is 3,276 − 2,200 = 1,076 Wh per day. A negative result means a shortfall of that many watt-hours, and the system needs a larger array or smaller loads.
Battery size follows from the same load: battery energy (Wh) = daily load (Wh) × days of autonomy ÷ depth of discharge. For one day of autonomy at 80% depth of discharge, a 2,200 Wh load needs 2,200 ÷ 0.80 = 2,750 Wh of battery. Two days need 5,500 Wh. The workbench itself does not compute the battery size — it computes the daily surplus — so the battery figures below are arithmetic from the same inputs, labelled as such. A cautious interpretation of Solar Panel and Battery Calculator includes the relevant operating limits.
Battery size can also be read the other way, from the battery voltage. Two days of autonomy for the 2,200 Wh load needs 5,500 Wh of battery. At 51.2 V that is 5,500 ÷ 51.2 = 107 Ah, and at 12.8 V it is 5,500 ÷ 12.8 = 430 Ah. The energy is the same either way, but the 12 V bank needs four times the amp-hours and far heavier cabling for the same power, which is why larger solar systems usually move to 24 V or 48 V. The workbench does not do this conversion; it is arithmetic from the battery energy figure above.
Worked example: a 1,000 W array against a 2,200 Wh daily load
Take the workbench defaults: a 1,000 W solar array, 4.2 effective peak sun hours, a 78% overall yield fraction, and a daily load of 2,200 Wh. The steps below replay the workbench calculation, then size the battery for one and two days of autonomy at 80% depth of discharge.
| Step | Calculation | Result |
|---|---|---|
| Gross daily harvest | 1,000 W × 4.2 h × 0.78 | 3,276 Wh/day |
| Daily surplus | 3,276 − 2,200 Wh | 1,076 Wh/day |
| Battery, 1 day autonomy | 2,200 ÷ 0.80 | 2,750 Wh |
| Battery, 2 days autonomy | 2 × 2,200 ÷ 0.80 | 5,500 Wh |
| Array for the load alone | 2,200 ÷ (4.2 × 0.78) | 672 W |
Array and battery size for common daily loads
The table below applies the same assumptions — 4.2 peak sun hours, 78% yield, 80% depth of discharge, one day of autonomy — to four daily loads. Every figure can be reworked from the load in the first column: array watts = load ÷ 3.276, because 4.2 × 0.78 = 3.276 watt-hours per day for each watt of panels; battery watt-hours = load ÷ 0.80. Record these assumptions whenever you use Solar Panel and Battery Calculator with another system.
| Daily load | Array needed | Battery, 1 day | Battery, 2 days |
|---|---|---|---|
| 1,500 Wh | 458 W | 1,875 Wh | 3,750 Wh |
| 2,200 Wh | 672 W | 2,750 Wh | 5,500 Wh |
| 3,000 Wh | 916 W | 3,750 Wh | 7,500 Wh |
| 4,500 Wh | 1,374 W | 5,625 Wh | 11,250 Wh |
Read the table as a starting point, not a design. A small off-grid cabin can sometimes work with around 1 kW of solar and a 48 V 100 Ah-class LiFePO4 battery — about 5,120 Wh at 51.2 V nominal — but the right answer depends on the daily load and how much cloudy-weather reserve is wanted. In many systems, battery autonomy and winter solar conditions drive the design more than the average summer load.
What each input means
Solar array STC power is the rated wattage of the panels under standard test conditions, in watts. A 1,000 W array is four 250 W panels, or two 500 W panels — the workbench only needs the total. Real output is lower than this figure, which is what the yield fraction accounts for.
Effective peak sun hours are the equivalent full-sun hours per day at the site, not daylight hours. The workbench default is 4.2 hours. A site with 4.2 peak sun hours and a 1,000 W array receives the same solar energy as 4.2 hours at full power. Winter values are lower than summer values, so size for the worst season, not the annual average.
Overall solar yield fraction is the share of the panel rating that reaches the loads after inverter, wiring, temperature and soiling losses. The default is 78%. Daily electricity use is the total energy the loads consume in a day, in watt-hours — add up each load's watts × hours, including the fridge, lights, fans and laptop. This is the uncertainty that a Solar Panel and Battery Calculator worksheet should make visible.
Reading the result — and its limits
A positive surplus is a daily average, not a guarantee for any single day. Cloudy days produce far less than the average, which is why the battery autonomy figure matters: the surplus charges the battery on good days, and the battery carries the loads through the bad ones. A system with a small surplus and one day of autonomy will run short in a cloudy week.
Charging losses need headroom on top of the energy-equivalent array size. As a simple example from this page's earlier version, charging a 200 Ah 48 V battery from empty needs 48 × 200 = 9,600 Wh, which is 1,920 W of panels over 5 sun hours before any losses — and real systems usually need extra headroom for charging losses, weather variation and battery absorption time. Treat the 1,920 W figure as a minimum, not a design size.
The calculator cannot approve an installation. Panel orientation, shading, charge controller sizing, battery voltage, inverter capacity and wiring must agree with each other and with the equipment documentation. A correct daily-energy balance says nothing about whether the system is safe or correctly wired. A second Solar Panel and Battery Calculator scenario can reveal whether that difference matters.
Winter is the season that breaks solar sizing, so test the design against winter sun hours rather than the annual average. If peak sun hours fall from 4.2 to 2.5 in winter, the same 1,000 W array produces 1,000 × 2.5 × 0.78 = 1,950 Wh per day, which is 250 Wh short of the 2,200 Wh load. The array that covers the load in winter is 2,200 ÷ (2.5 × 0.78) = 1,128 W, against 672 W for the average day. A system built to the average figure runs short for months; a system built to the winter figure has a surplus all summer, which is the cheaper failure mode.
Sources and verification status
Author: Saqib Jillani · Reviewer: lithiumbattery.info Editorial Team
The worked numbers on this page are arithmetic from the inputs stated beside them — every figure can be reworked with a pocket calculator. The 4.2 peak sun hours and 78% yield defaults are planning assumptions, not measurements for any specific site; real sun hours and yield must come from local solar data and the panel and inverter datasheets. The 80% depth-of-discharge planning figure is a convention from this site's battery guides, not a datasheet value. The 48 V 100 Ah cabin example and the 1,920 W charging example are carried over from this page's earlier version. For background on how batteries store energy, see the U.S. Department of Energy battery reference linked below.