Running a diesel generator costs about three times as much per unit as grid power in Nigeria, Kenya and South Africa, on fuel alone. At late-2026 diesel prices, a well-loaded generator burns about ₦613 of fuel per unit in Nigeria, KSh 76 in Kenya and R10.53 in South Africa, by our calculation. Solar panels have no fuel cost at all, so every unit they replace from a generator saves far more than a unit replaced from the grid.
Diesel is a big part of why solar is spreading so quickly in Africa, as our solar costs guide explains.
At a glance: diesel fuel cost per unit
| Country | Diesel price | Fuel cost per unit, at 3 units a litre | Range, 2.5 to 5 units a litre | Grid price per unit |
|---|---|---|---|---|
| Nigeria | ₦1,840 a litre, Dangote gantry | About ₦613 | ₦368 to ₦736 | About ₦225 on Band A, with VAT |
| Kenya | KSh 227.76 a litre, Nairobi pump | About KSh 76 | KSh 46 to KSh 91 | About KSh 27.74 on DC3, all in |
| South Africa | R31.60 a litre, 50ppm wholesale inland | About R10.53 | R6.32 to R12.64 | R3.56 on Eskom Homepower, plus fixed charges |
Our calculation. Diesel prices: Dangote's gantry price from late October 2026, EPRA's Nairobi cap for 15 October to 14 November 2026, and South Africa's inland wholesale price from 4 November 2026. Generators typically use 0.2 to 0.4 litres per unit, according to generator supplier Depco, which is 2.5 to 5 units a litre. Fuel only: the generator, servicing and repairs are extra.
How we worked it out
A generator turns litres of diesel into units of electricity. Generator supplier Depco says most diesel generators use 0.2 to 0.4 litres per unit, and are most efficient at 70% to 80% of their rated load. We've used 3 units a litre as a central figure.
So divide the diesel price by 3. In Nigeria, ₦1,840 ÷ 3 = about ₦613 a unit.
A small generator running at light load, such as a few lights at night, will do worse than that. Petrol generators are generally less efficient than diesel ones too.
Nigeria: three times Band A
▶ The value of a solar panel depends on what it replaces. Watch why, in Nigeria, that's often a diesel generator.
Many Nigerian homes and businesses run on the grid when it's on and a generator when it's not. Band A customers, promised at least 20 hours of supply a day, pay ₦209.50 a unit before VAT. Bands B to E pay much less, because their tariffs have been frozen since December 2022.
At about ₦613 a unit, diesel costs almost three times Band A. Against Bands B to E, the gap is wider still.
Africa runs on generators more than you'd think
The Energy for Growth Hub estimates that about 170 GW of diesel generators were active across 50 African markets in 2024. In sub-Saharan Africa outside South Africa, that's nearly 1.5 times as much capacity as the grid. In 26 sub-Saharan economies, it found more diesel capacity than grid capacity.
Businesses feel it most. World Bank surveys of firms found that 51% of businesses in sub-Saharan Africa own or share a generator, against 31% worldwide.
What solar saves when it replaces diesel
Solar has no fuel cost, so the value of each solar unit depends on what it replaces. As an illustration, 1 kWp of panels in Lagos makes about 1,396 units a year, according to PVGIS. If every one of those units replaced diesel at ₦613, that would save about ₦856,000 of fuel a year. That's our calculation, and real savings depend on how much of the output you can use.
The catch is timing. Generators often run at night, when panels produce nothing. To replace night-time diesel, you need a battery, which adds a lot to the cost. One answer is a hybrid: solar and a battery for most of the load, and the generator as backup.
Our guide to solar costs across Africa compares solar with backup generation and grid power. Against backup generation, it puts the simple payback at about two years.
Before you switch
- Work out what your generator really costs. Track litres bought and hours run for a month, and add servicing.
- Size the system to what the generator powers. A home that runs its generator for a few hours each evening needs a battery more than extra panels.
- Keep the generator for emergencies. A hybrid system can cut fuel use without leaving you exposed in a long cloudy spell.
- Check your direction and roof. See which direction solar panels should face.
See what electricity really costs
We publish electricity tariffs line by line, starting in South Africa, with more countries coming soon.
In South Africa? Our free solar calculator prices solar on your own supplier's tariff, for homes billed by City Power, the City of Cape Town or Eskom. It currently covers South Africa only.
Sources
- Legit.ng, Price war: depot owners cut diesel prices below Dangote's new rate (₦1,840 gantry price, October 2026)
- Citizen Digital, More pain for motorists as Super Petrol price increases (Nairobi diesel, October 2026)
- Business Day (South Africa), Petrol price barely changes in November, diesel gets bigger relief (November 2026)
- Depco, How efficient are diesel generators? (litres per unit, best load)
- Calculators NG, Generator fuel cost calculator Nigeria (diesel versus petrol efficiency)
- Energy for Growth Hub, Sizing Africa's shadow power system (August 2026)
- European Commission Joint Research Centre, PVGIS (Lagos output, queried November 2026)
- tariffs.africa, Eskom tariffs 2026/27 and Kenya Power tokens (grid prices)
- tariffs.africa, The Number: 15 7.6 Power Cuts A Month (World Bank Enterprise Surveys)
- tariffs.africa, Does Solar Pay Here: 03 Solar Versus Diesel
Figures as of November 2026. Diesel prices change often, so divide today's price by the units your own generator makes per litre.

