How we calculate
One calculation engine powers every tool on this site. Here is what goes in, what comes out and where the limits are.
Units
Power is in W or kW (panel ratings in kWp); energy is in Wh or kWh. Battery charge is in Ah, which we convert to energy with Wh = Ah × V. Areas can be entered in m² or ft² (1 m² = 10.7639 ft²).
Solar output
With a location, we use PVGIS 5.3 (European Commission JRC), which models output from satellite-derived hourly irradiation for a crystalline-silicon system with a 14 % system loss, including temperature and low-light effects. We use its monthly results and its year-to-year standard deviation (SD) for the range: central ± √((1.65 × SD/E)² + 0.05²). If PVGIS cannot be reached, a much rougher built-in clear-sky model is used and every result is labelled as rough.
Without a location: yearly kWh = kWp × peak sun hours × 365 × performance ratio (default 0.75).
Planner layout
Roof outlines are projected to local metres. Panels are placed in rows parallel to the longest roof edge, inside the outline minus the edge margin, outside marked obstacles, trying several grid offsets and keeping the layout with the most panels. On sloped roofs the panel's footprint seen from above is shortened by cos(tilt); flat-roof frames add row spacing to limit self-shading.
Money
Year-one saving = self-consumed kWh × electricity price + exported kWh × export payment. The cash flow applies price change, panel degradation (default 0.5 %/year, the median in NREL's 2013 review of field data), maintenance and an optional inverter replacement. Payback is interpolated within the year; ROI = (lifetime net savings − cost) ÷ cost; NPV discounts each year.
Batteries and electrical
Battery capacity = daily energy × days ÷ (depth of discharge × inverter efficiency). Backup time = Ah × V × DoD × inverter efficiency ÷ load. Voltage drop = 2 × L × I × ρ ÷ A with copper ρ = 0.017241 Ω·mm²/m at 20 °C. These are educational estimates, not electrical designs.
Checker
Expected daily output = Σ (face kWp × PVGIS average daily kWh per kWp for that month). When NASA POWER daily irradiance is available (usually a few days later), the expectation is scaled by the day's irradiance ÷ the long-term mean for that month. Health compares at least 5 days, never a single day. Possible causes are listed with wording that reflects how certain they are; equipment faults are never "confirmed" from numbers alone.
Testing
Every formula has automated tests with hand-calculated reference values, and every worked example on a calculator page is checked against the engine.
Data sources
- PVGIS © European Union, 2001-2026
- NASA Langley Research Center POWER Project
- OpenStreetMap contributors (maps and place search via Nominatim)
- Satellite imagery: Esri and its data providers