Methodology
Every calculator on this site uses the formulas below. Each loss factor is applied once, and every default is shown and editable.
Last updated 2026-11-17
Data Sources
- Sun hours. NASA POWER climatology API, parameter ALLSKY_SFC_SW_DWN, community RE. Monthly values in kWh/m²/day equal peak sun hours. These are long-term averages, not forecasts.
- Lowest temperature. NASA POWER T2M_MIN, the coldest monthly average minimum. Actual record lows can be colder, so users can edit it.
- City search. Open-Meteo Geocoding API.
- Caching. Responses are cached in the browser by coordinates rounded to two decimals for 30 days. Nothing is stored on a server.
Loads
Total Wh/day = DC Wh + (AC Wh ÷ inverter efficiency)
System Voltage
Arrays under 1,000 W default to 12 V, 1,000 to 3,000 W to 24 V, and over 3,000 W to 48 V. Higher voltage lowers current, wire size, and cost. The planner warns when a manual choice pushes controller current past 100 A.
Solar Array
Array W = daily Wh ÷ (design sun hours × derate)
Monthly kWh = installed W × sun hours × derate × days ÷ 1000
Battery Bank
Nameplate Wh = daily Wh × days ÷ (DoD × round-trip efficiency × temperature factor)
| Chemistry | Depth of discharge | Round-trip efficiency | Typical life used for 10-year cost |
|---|---|---|---|
| LiFePO4 | 0.90 | 0.95 | 12 years |
| AGM | 0.50 | 0.85 | 5 years |
| Flooded lead-acid | 0.50 | 0.80 | 6 years |
| Gel | 0.50 | 0.85 | 6 years |
Lead-acid temperature factor by lowest battery temperature, linear between points: 25 °C = 1.00, 10 °C = 0.90, 0 °C = 0.80, −10 °C = 0.70, −20 °C = 0.60, −30 °C = 0.50. LiFePO4 is 1.00 at 0 °C and above and 0.85 below. LiFePO4 must not be charged below 0 °C without built-in heating.
Charge Controller
MPPT amps = array W ÷ battery V × 1.25
PWM amps = Isc × parallel strings × 1.25
Cold Voc = Voc × series × (1 + |coef %/°C| ÷ 100 × (25 − lowest °C))
Inverter
Continuous W = simultaneous AC running W × 1.25
Surge W = largest single surge (W × multiplier) + other simultaneous running W
DC input A = continuous W ÷ (system V × inverter efficiency)
Wiring and Protection
Drop % = (2 × one-way length m × current A × 0.0172 ÷ area mm²) ÷ system V × 100
PV fuse = 1.25 × Isc per string. Battery fuse = 1.25 × inverter DC amps
Generator
Hours per month = max(0, load kWh − production kWh) ÷ (generator kW × 0.85)
Costs
Part cost is quantity times an editable unit price. Default prices are rough examples, not current market prices. Cost per kWh over 10 years divides the total, plus any battery replacements, by ten years of daily energy. Payback is the system cost divided by the yearly saving against a grid or diesel price the user enters.
Known Limitations
- Sun data is a long-term monthly average. A cloudy week can run well below it, which is why days of autonomy matter.
- Panel tilt, shading, and orientation are not modeled. The 0.80 derate is a general allowance.
- Wire sizes use copper at about 20 °C and ignore bundling and high-temperature derating.
- Appliance wattage and surge values are typical, not measured. Check nameplates.
- The schematic is illustrative and is not a wiring diagram.
Changelog
- 2026-11-17. First release. Formulas as listed above.