Works on this device
Off-Grid Power Calculator
Size an off-grid solar system as a whole: list your loads, and the page works out the energy you use each day, the battery bank, the solar array and the charge controller. It also sizes an inverter and a backup battery, and the time panels take to charge a battery. You type the sun hours of your place and the figures of your own equipment.
Enter your values
Check these values
This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Whole system from a list of loads. Add one row for each load: its watts, how many, the hours it runs each day, and whether it runs on AC through the inverter or on DC from the battery.
- Type the peak sun hours of your place for the worst season you need power. Find them in a solar map or the data of a weather service. No location data is built in.
- Set the system voltage, the days of autonomy and the usable share of the battery. The other figures are examples: change them to the figures of your own battery, panels and inverter.
- Choose Calculate. To see how the page works first, choose Try an example: it fills in made-up loads.
- Tick the box to save your entries on this device, download them as a file to open later, or print the result.
What each option does
- Whole system from a list of loads gives the energy each day, the battery bank, the solar array, the number of panels, the charge controller current and the number of batteries.
- Whole system from your energy use each day does the same from one figure in kWh, for example from a meter.
- Inverter and backup battery sizes an inverter for the AC loads that may run at the same time, with starting surges and VA, and the battery for a backup time such as a power cut.
- Charge controller size gives the current rating of an MPPT or PWM controller, and checks the voltage of a string of panels in the cold.
- Charge a battery from solar panels gives the charge time from an array, or the array that fills a battery in a number of days.
The formulas
- Energy each day from the battery = energy of the AC loads ÷ inverter efficiency + energy of the DC loads. The energy of one load = watts × how many × hours each day.
- Battery bank (nominal energy) = energy each day from the battery × days of autonomy ÷ usable share (depth of discharge). Capacity in Ah = bank energy ÷ system voltage.
- Solar array (W) = energy each day from the battery ÷ (peak sun hours × (1 − losses) × battery round-trip efficiency). Number of panels = array ÷ power of one panel, rounded up.
- MPPT charge controller (A) = array power ÷ system voltage × (1 + safety factor). PWM controller (A) = short-circuit current of one panel × strings in parallel × (1 + safety factor).
- Voc in the cold = Voc × (1 + temperature coefficient ÷ 100 × (lowest temperature − 25 °C)). The string voltage is this × panels in series.
- Inverter: running watts + the largest single starting surge, each × (1 + headroom). VA = watts ÷ power factor. Current from the battery = watts ÷ (efficiency × battery voltage).
- Charge time from solar panels (days) = energy to store ÷ (panel power × peak sun hours × (1 − losses) × round-trip efficiency − energy the loads take each day).
- One peak sun hour is one hour of sun at 1000 W/m², the light at which panels are rated. The number of peak sun hours in a day equals the solar energy in kWh/m² on the panels that day.
Worked example
Example loads: 6 LED lights of 10 W for 5 hours (300 Wh), a refrigerator of 150 W that runs 8 hours (1,200 Wh) and a laptop of 60 W for 4 hours (240 Wh), all on AC, and a 24 V water pump of 60 W for 1 hour (60 Wh) on DC. With an inverter efficiency of 90%, the battery gives 1,740 ÷ 0.9 + 60 = 1,993.3 Wh each day.
For 2 days of autonomy and a usable share of 50%, the bank needs 1,993.3 × 2 ÷ 0.5 = 7,973.3 Wh, which is 332.2 Ah at 24 V. Four 12 V batteries of 200 Ah (2 in series, 2 strings) hold 9,600 Wh and cover 2.41 days.
With 4 peak sun hours, 15% losses and a round-trip efficiency of 90%, each watt of panels stores 4 × 0.85 × 0.9 = 3.06 Wh a day. The array needs 1,993.3 ÷ 3.06 = 651.4 W: two panels of 400 W. An MPPT controller then needs 800 ÷ 24 = 33.3 A, or 41.7 A with a safety factor of 25%.
These loads and figures are made up for the example. They are not data of any appliance, place or product.
The parts in depth
This page sizes the system as a whole. Each part has its own tool for the details:
- The Battery Calculator for the runtime of a battery you have, Peukert's law, packs of cells and charging from a mains charger.
- The Wire Gauge Calculator and the Voltage Drop Calculator for the cables between the panels, the controller, the battery and the inverter.
- The Generator Sizing Calculator for a backup generator, and the UPS Runtime Calculator for a UPS.
- The Solar Panel System Calculator for a grid-tied system, panel output and strings for an inverter.
- The Wind & Hydro Power Calculator for a wind turbine or a small water turbine.
Example values used on this page
The starting values (24 V, 90% inverter efficiency, 2 days, 50% usable share, 15% losses, 90% round-trip efficiency, 400 W panels) and the menu of example depths of discharge are there to try the page. They are not rules and not the data of your equipment. The peak sun hours, the safety factor and the loads start empty, because they depend on your place, your code and your appliances.
Limits you should know
- This result is arithmetic for planning and estimating. It is not a design. Electrical work must follow your local code and be done or checked by a qualified electrician.
- The array is sized for the peak sun hours you type, so for one place and one season. Shade, snow and a run of cloudy days are not modelled. Days of autonomy are your safety margin for bad weather.
- A battery gives less than its rated capacity in the cold, at a high current and when it is old. The page does not model this; the Battery Calculator has Peukert's law for lead-acid batteries.
- The whole battery loss is counted, as if all the energy passes through the battery. Loads that run in the day straight from the panels need a little less.
- No factor of an electrical code is built in. The safety factor for the controller, the headroom of the inverter and the sizes of cables and fuses come from your code and the makers of your equipment.
- The page does not price the parts. Prices of panels, batteries and inverters change often.