Home › Inverters, loads & power

Generator vs solar and battery cost calculator

Enter your daily energy use and the costs of each option. The calculator compares total cost and cost per kWh over the period you choose, including fuel, generator wear, servicing and battery replacements.

kWh
L
Inverter petrol generators at light load: 0.4–0.6 L/kWh. Diesel: 0.3–0.4 L/kWh. Big generators at light load waste much more.
hours
Small petrol inverter generators: 2,000–5,000 hours; diesel: 10,000+.
kW
years
%
The rest comes from the generator. Northern winters often need a generator top-up.

Results

Generator only—
Solar and battery, generator backup—
Grid at today's price—
Cheapest—

How it's worked out

Generator cost = purchase + fuel (kWh × L/kWh × price) + wear (hours ÷ life × price) + servicing Hours run = kWh ÷ average load Solar cost = panels and electronics + batteries × replacements + generator for the share solar doesn't cover

Size each option with the generator fuel calculator, the off-grid solar system calculator and the battery cost per cycle calculator. See also the generator guide.

Frequently asked questions

Is solar cheaper than a generator?

Over several years, usually yes. A small petrol generator run at light load often costs £0.80–£1.30 ($1–1.70) per kWh in fuel, wear and servicing. Solar with batteries costs more up front but has almost no running cost, so it gets cheaper per kWh the more you use it and the longer you keep it.

How much does generator electricity cost per kWh?

Fuel alone is litres per kWh × fuel price: at 0.5 L/kWh and £1.45 a litre, about 73p per kWh, before wear and servicing.

Should I keep a generator with off-grid solar?

In northern climates, usually yes: a small generator covering dull winter weeks is far cheaper than sizing solar and batteries for December.

Related calculators

Calculations and formulas last checked 8 November 2026. Spotted a problem? Tell us.

More in Inverters, loads & power · all calculators