Skip to content
HomeEnergyTools

Calculation Methodology

Last updated

Units and precision

Calculators work internally in fixed base units — metres, square metres, watts, kilowatt-hours, degrees Celsius — and convert only when reading your inputs and displaying results. Kilowatt-hours are used for energy because tariffs, meters and datasheets use them; 1 kWh is exactly 3.6 MJ, so no precision is lost. Full floating-point precision is kept throughout; numbers are rounded only for display.

Validation

Every input has a defined range and type, checked with a schema before any calculation runs. Invalid, missing or non-finite values produce a clear message instead of a result. Results that would be undefined — for example, a payback period when savings are zero or negative — are shown as “—” with an explanation, never as a misleading number.

Formulas and references

Each calculator page states its formula, variables, a worked example, assumptions and limitations, and cites references such as NREL, Sandia National Laboratories, PVEducation, the U.S. Department of Energy and the European Commission’s PVGIS documentation. Shared formulas (for example peak-sun-hour energy, battery capacity or discounted cash flow) are implemented once and reused, so the same physics is never coded twice in different ways.

Testing

Formulas are pure functions with automated tests: hand-calculated reference examples, minimum and maximum inputs, zero and negative values, unit-conversion round trips and non-finite guards. The Monthly Solar Production Calculator is also checked against PVGIS’s own published result for a reference location.

Simplified estimates vs. simulations

Many calculators use simplified methods (for example energy = kWp × peak sun hours × performance ratio). These are useful for planning but cannot capture shading, hourly weather or equipment behaviour. Where available, location lookups use PVGIS, which simulates PV output from satellite-derived hourly data. We state which kind of result you are looking at.

Engineering and safety

Electrical, cable, protection and structural results are preliminary estimates. They do not establish compliance with any electrical, building or fire code. Always have designs checked by a qualified professional.

Country-specific values

We do not assume tariffs, net-metering rules, incentives or emissions factors for your country. You enter them. Any country-specific reference values added in future will cite their source and effective dates.

Corrections

If you find an error, please contact us. Each calculator shows its last review date and formula version.