Offgrid Atlas

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

Formula

Total Wh/day = DC Wh + (AC Wh ÷ inverter efficiency)

Each load contributes watts × hours per day × quantity. Inverter efficiency defaults to 0.92 and applies only to AC loads, once.

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

Formula

Array W = daily Wh ÷ (design sun hours × derate)

Design sun hours are the worst month by default. The derate defaults to 0.80 for wiring, dust, heat, and controller losses. Inverter loss is not included here because the load step already counts it.
Formula

Monthly kWh = installed W × sun hours × derate × days ÷ 1000

Uses a 365-day year. Shortfall is the load minus production in months where production is lower.

Battery Bank

Formula

Nameplate Wh = daily Wh × days ÷ (DoD × round-trip efficiency × temperature factor)

Capacity in Ah is nameplate Wh ÷ system voltage.
ChemistryDepth of dischargeRound-trip efficiencyTypical life used for 10-year cost
LiFePO40.900.9512 years
AGM0.500.855 years
Flooded lead-acid0.500.806 years
Gel0.500.856 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

Formula

MPPT amps = array W ÷ battery V × 1.25

Rounded up to 10, 20, 30, 40, 50, 60, 80, or 100 A. Above 100 A the planner suggests several controllers.
Formula

PWM amps = Isc × parallel strings × 1.25

Formula

Cold Voc = Voc × series × (1 + |coef %/°C| ÷ 100 × (25 − lowest °C))

Must stay below the controller maximum PV input (75, 100, 150, 200, or 250 V). When the lowest temperature is above 25 °C the factor is held at 1, so the check never gets easier in warm climates. The string helper also keeps Vmp at least 5 V above the charge voltage, estimated as 14.4 V per 12 V of battery (14.6 V for LiFePO4).

Inverter

Formula

Continuous W = simultaneous AC running W × 1.25

Rounded up to 300, 600, 1000, 1500, 2000, 3000, 4000, 5000, 6000, 8000, or 10000 W. DC loads skip the inverter and do not count.
Formula

Surge W = largest single surge (W × multiplier) + other simultaneous running W

One unit of a load starts at a time. The surge check allows about twice the continuous rating for a few seconds.
Formula

DC input A = continuous W ÷ (system V × inverter efficiency)

Wiring and Protection

Formula

Drop % = (2 × one-way length m × current A × 0.0172 ÷ area mm²) ÷ system V × 100

Limits are 2 % from panels to controller and 3 % from battery to inverter. For panel runs, the circuit voltage is the string Vmp, not the battery voltage. The planner picks the smallest standard copper size that meets the drop limit and carries the protecting fuse rating.
Formula

PV fuse = 1.25 × Isc per string. Battery fuse = 1.25 × inverter DC amps

Rounded up to standard fuse sizes. Ampacity values are conservative figures for 60 °C insulation. Local electrical codes always apply.

Generator

Formula

Hours per month = max(0, load kWh − production kWh) ÷ (generator kW × 0.85)

0.85 is the assumed charger efficiency.

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.