
Quick answer: In most homes and businesses that already have a utility connection, grid electricity is much cheaper per kilowatt-hour than electricity from a diesel generator. Using current U.S. benchmarks, residential grid electricity has recently been around $0.18 per kWh, while a diesel generator can easily cost roughly $0.60 to $0.90 per kWh in fuel alone depending on generator size, load, and fuel price. Once I add oil changes, filters, repairs, depreciation, and capital cost, generator electricity usually costs even more. A diesel generator still makes sense for backup power, remote sites, temporary projects, or places where a grid connection is unavailable or extremely expensive.
Diesel Generator vs. Electricity Cost: The Basic Comparison
When I compare a diesel generator with utility electricity, I do not compare the price of a gallon of diesel directly with the price shown on an electric bill. I convert both options to the same unit: cost per kilowatt-hour, or $/kWh.
That is the only fair way to compare them. Your utility already charges you by the kilowatt-hour. A diesel generator, however, burns fuel by the gallon per hour while producing a certain number of kilowatts. I have to combine those numbers to determine the real electricity cost.
The basic generator fuel-cost formula is:
Generator fuel cost per kWh = (diesel price per gallon × gallons burned per hour) ÷ actual kW output
For example, if diesel costs $6.38 per gallon, a generator burns 0.75 gallon per hour, and the generator is actually supplying 7.5 kW:
($6.38 × 0.75) ÷ 7.5 = about $0.64 per kWh
That is fuel only. It does not yet include engine oil, filters, maintenance, repairs, depreciation, financing, installation, or the cost of owning the generator.
Current U.S. Electricity and Diesel Price Benchmarks
Electricity and diesel prices change constantly, so I always date the figures I use. According to the U.S. Energy Information Administration, the U.S. average residential electricity price was 18.34 cents per kWh in June 2026. The commercial average was 14.19 cents per kWh, and the industrial average was 9.17 cents per kWh. The EIA also reported a U.S. average on-highway diesel price of $6.382 per gallon for September 28, 2026.
These national averages are only benchmarks. Your actual utility tariff and local diesel price may be much higher or lower.
| Energy Cost Benchmark | Recent U.S. Figure | Date / Basis |
|---|---|---|
| Residential grid electricity | $0.1834/kWh | June 2026 U.S. average |
| Commercial grid electricity | $0.1419/kWh | June 2026 U.S. average |
| Industrial grid electricity | $0.0917/kWh | June 2026 U.S. average |
| On-highway diesel | $6.382/gallon | September 28, 2026 U.S. average |
For the latest numbers, I recommend checking the EIA Electric Power Monthly and the EIA diesel fuel price update.
Why Diesel Generator Electricity Usually Costs More
A utility power plant can produce electricity at enormous scale and distribute it across thousands or millions of customers. Your individual diesel generator has a small engine, alternator, cooling system, fuel system, starter, battery, filters, and other parts that you have to maintain yourself.
The generator also loses energy as heat. Not all of the chemical energy in diesel fuel becomes usable electrical energy. The engine loses energy through the exhaust, radiator, friction, pumps, fan, and other accessories. The alternator also has losses.
Most importantly, a generator still burns a meaningful amount of fuel even when it is lightly loaded. That is why generator cost per kWh usually becomes much worse at low load.
Example: Cost per kWh at Different Generator Loads
To show why load matters, I will use a simplified 10 kW diesel generator example. The fuel-consumption numbers below are illustrative rather than specifications for a particular model. For your generator, I would use the manufacturer’s fuel-consumption table.
| Generator Load | Actual Output | Example Fuel Burn | Fuel Cost/Hour at $6.382/gal | Fuel Cost/kWh |
|---|---|---|---|---|
| 25% | 2.5 kW | 0.35 gal/hr | $2.23 | $0.89 |
| 50% | 5.0 kW | 0.55 gal/hr | $3.51 | $0.70 |
| 75% | 7.5 kW | 0.75 gal/hr | $4.79 | $0.64 |
| 100% | 10.0 kW | 1.00 gal/hr | $6.38 | $0.64 |
This table shows one of the most important lessons I can give you about generator economics: a lightly loaded generator can produce very expensive electricity. Even though it burns fewer gallons per hour, it is producing far fewer kilowatt-hours to spread that fuel cost across.
If you want more detail on fuel use at different loads, see my guide to diesel generator burn rate and my broader explanation of how much fuel a diesel generator uses.
Grid Electricity vs. Generator Fuel Cost
Now I can compare the numbers directly. Using $0.1834 per kWh for residential utility electricity and about $0.64 per kWh for the better-loaded generator example:
| Power Source | Approximate Energy Cost | Cost for 100 kWh | Cost for 500 kWh | Cost for 1,000 kWh |
|---|---|---|---|---|
| Residential utility grid | $0.1834/kWh | $18.34 | $91.70 | $183.40 |
| Diesel generator, fuel only | $0.64/kWh | $64.00 | $320.00 | $640.00 |
| Difference | $0.4566/kWh | $45.66 | $228.30 | $456.60 |
At these example prices, diesel-generated electricity costs roughly three and a half times as much as average residential grid electricity before I add maintenance and ownership costs.
The Generator’s True Cost Is More Than Fuel
Fuel is usually the biggest operating cost, but it is not the whole cost. If I want a true generator cost per kWh, I include several additional items.
- Engine oil
- Oil filters
- Fuel filters
- Air filters
- Coolant service
- Battery replacement
- Belts and hoses
- Repair labor
- Injector or fuel-system repairs
- Generator depreciation
- Interest or financing
- Installation cost
- Fuel delivery or storage cost
I explain the calculation in more depth in Diesel Generator Cost per kWh: How to Calculate Your True Power Cost.
How Maintenance Changes the Cost per kWh
Suppose a generator service costs $120 and is performed every 250 operating hours. If the generator averages 7.5 kW during those 250 hours, it produces:
250 hours × 7.5 kW = 1,875 kWh
The service cost alone adds:
$120 ÷ 1,875 kWh = $0.064 per kWh
So a fuel cost of $0.64 per kWh could become about $0.70 per kWh before I even account for repairs, depreciation, or installation.
This is why I recommend tracking maintenance by engine hours. My article on how often diesel generators should be serviced explains that schedule in more detail.
What Diesel Price Would Make a Generator Equal to Grid Electricity?
This is one of the most useful calculations in the entire comparison. I can estimate the break-even diesel price if I know how many kilowatt-hours the generator produces from one gallon.
The formula is:
Break-even diesel price = grid electricity price × generator kWh produced per gallon
At a residential electricity rate of $0.1834/kWh:
| Generator Efficiency | Break-Even Diesel Price |
|---|---|
| 8 kWh per gallon | $1.47/gal |
| 10 kWh per gallon | $1.83/gal |
| 12 kWh per gallon | $2.20/gal |
| 14 kWh per gallon | $2.57/gal |
Remember that this is fuel-only break-even. The actual break-even diesel price would need to be lower after maintenance and ownership costs are included.
With diesel at $6.382 per gallon in the September 28, 2026 EIA benchmark, a conventional small diesel generator is nowhere near fuel-cost parity with average U.S. residential utility electricity in this example.
What If Your Electricity Rate Is Very High?
The comparison changes in areas with expensive grid electricity. Suppose your rate is $0.30 per kWh and your generator produces 10 kWh of electricity per gallon of diesel.
The fuel-only break-even price becomes:
$0.30 × 10 = $3.00 per gallon
If diesel costs more than $3.00 per gallon, grid electricity is still cheaper on a fuel-only basis. If diesel fell below that level, the generator could begin to look competitive before maintenance costs.
| Grid Rate | Break-Even Diesel at 10 kWh/gal |
|---|---|
| $0.10/kWh | $1.00/gal |
| $0.15/kWh | $1.50/gal |
| $0.20/kWh | $2.00/gal |
| $0.25/kWh | $2.50/gal |
| $0.30/kWh | $3.00/gal |
| $0.40/kWh | $4.00/gal |
Residential vs. Commercial vs. Industrial Electricity
Another important point is that not everyone pays the same utility rate. Large industrial customers often pay far less per kWh than residential customers. In the June 2026 EIA data, the national averages were 18.34 cents for residential customers, 14.19 cents for commercial customers, and 9.17 cents for industrial customers.
That means a business with a low industrial electricity tariff generally has an even stronger economic reason to use the grid whenever it is available. A diesel generator would normally be justified by reliability, outage protection, remote operation, or process requirements rather than by energy price alone.
Demand Charges Can Change the Business Calculation
Commercial and industrial electric bills can contain more than an energy charge. Some utilities also charge for peak demand in kilowatts. A facility that briefly reaches a high peak can face a significant demand charge even if total monthly energy consumption is moderate.
In some special cases, a generator may be used for peak shaving or demand management. I would not assume this automatically saves money. I would compare the avoided demand charge with diesel fuel, maintenance, emissions compliance, generator wear, and operating restrictions.
For a business, this becomes a tariff-specific calculation rather than a simple national-average comparison.
When a Diesel Generator Can Still Be the Better Economic Choice
Per-kWh cost is only one part of the decision. There are situations where I would still choose a diesel generator even when each kilowatt-hour costs more.
1. The Grid Is Not Available
A remote construction site, mine, farm pump, temporary event, telecommunications site, or off-grid cabin may have no utility service. If bringing power lines to the site costs tens of thousands of dollars, the generator may be the lower-cost total solution despite its higher operating cost.
2. You Need Emergency Backup
During an outage, the comparison is not really $0.18 grid electricity versus $0.64 generator electricity because the grid electricity is unavailable. The real comparison is often generator cost versus the financial cost of having no power.
If an outage can spoil food, stop a business, flood a basement, disable a well pump, interrupt medical equipment, or shut down a production process, paying more per kWh for backup electricity may be entirely reasonable.
3. Temporary Power Is Needed
A rental or trailer-mounted diesel generator can provide power for a few days or months without the time and capital required for permanent utility infrastructure.
4. Reliability Has a High Value
Hospitals, data centers, factories, emergency services, and critical infrastructure do not install diesel generators because diesel electricity is cheaper than grid electricity. They install them because power interruption can be far more expensive than the fuel.
Generator Cost per kWh Improves With Proper Loading
If you already need to run a diesel generator, one of the best ways to control cost is to operate it in an efficient load range rather than buying a generator that is massively oversized.
An oversized generator running at 10% or 20% load may burn a surprising amount of fuel relative to the electricity produced. Persistent light loading can also contribute to poor combustion and wet stacking on some diesel engines.
I size the generator for required running load, motor-starting load, future expansion, and manufacturer recommendations—not simply for the largest generator I can afford.
Is a Bigger Diesel Generator Cheaper per kWh?
Not automatically. Larger engines can be efficient at the right load, but an oversized generator serving a small load can be very inefficient on a cost-per-kWh basis.
For example, a 100 kW generator powering a 10 kW load may use much more fuel per delivered kWh than a properly sized generator operating closer to its efficient range.
That is why I look at the manufacturer’s fuel-consumption table at 25%, 50%, 75%, and 100% load rather than assuming that generator size alone tells me the operating cost.
How I Calculate Your Generator Cost per kWh
You can calculate your own number in a few minutes.
- Find your diesel price per gallon.
- Find the generator’s fuel consumption in gallons per hour at your actual load.
- Measure or estimate the actual kW being supplied.
- Multiply diesel price by gallons per hour.
- Divide that hourly fuel cost by actual kW output.
- Add maintenance cost per kWh.
- If you want a full ownership figure, add depreciation, financing, installation, and repair reserves.
| Input | Example |
|---|---|
| Diesel price | $6.382/gal |
| Fuel consumption | 0.75 gal/hr |
| Actual generator load | 7.5 kW |
| Fuel cost/hour | $4.79 |
| Fuel-only cost/kWh | $0.64/kWh |
| Example maintenance allowance | $0.06/kWh |
| Example operating cost before capital/repairs | $0.70/kWh |
What About Generator Depreciation?
Depreciation matters if the generator is purchased primarily to produce electricity. Suppose I buy and install a generator for $20,000 and expect to recover $5,000 when I eventually sell it. The depreciable cost is $15,000.
If I expect 10,000 lifetime operating hours at an average 10 kW load, the generator produces about 100,000 kWh over that period.
$15,000 ÷ 100,000 kWh = $0.15 per kWh
That $0.15 would be added on top of fuel, maintenance, and repair costs. This simple example shows why an owned generator can have a much higher true cost than fuel cost alone suggests.
Does a Used Diesel Generator Make the Electricity Cheaper?
A used generator can reduce capital cost, but it can also increase maintenance and repair risk. If you buy an inexpensive used unit with high engine hours and immediately need injectors, a starter, an alternator repair, batteries, hoses, or a cooling-system overhaul, the apparent savings disappear quickly.
If you are considering used equipment, see my guide to used diesel generator risks and benefits.
Diesel Generator vs. Battery Backup
Battery systems create a different comparison. Batteries do not generate energy; they store electricity that came from the grid, solar panels, or another generator. Their effective cost per kWh depends on battery purchase price, usable capacity, cycle life, charging losses, and replacement cost.
For short outages, batteries can avoid diesel fuel and engine maintenance. For long outages, a diesel generator may provide much longer runtime as long as fuel is available. Many modern backup systems combine batteries with a generator so the generator does not have to run continuously at a very light load.
You can see that comparison in my article on diesel generators versus battery backup.
Should You Run a Diesel Generator Instead of Using Grid Electricity?
If reliable utility service is already available, I generally would not run a diesel generator simply to reduce my normal electric bill. At current U.S. benchmark prices, the fuel cost alone is usually far higher than utility electricity.
I would use the generator when it solves a problem the grid cannot solve: outages, remote locations, construction power, temporary loads, resilience, or critical backup.
This is also why permanent standby-generator decisions should consider installation and ownership costs, not just fuel. My guide to the cost of installing a permanent diesel generator covers that side of the calculation.
Frequently Asked Questions
Is diesel generator power cheaper than electricity?
Usually not when utility electricity is already available. With current U.S. benchmark prices, grid electricity is generally much cheaper per kWh than electricity produced by a small or medium diesel generator.
How much does diesel generator electricity cost per kWh?
There is no single number. It depends on diesel price, generator fuel consumption, load, maintenance, and ownership cost. In a current illustrative example using $6.382-per-gallon diesel, fuel alone can easily land in roughly the $0.60-to-$0.90-per-kWh range.
Why does generator electricity cost more at low load?
The engine still consumes fuel just to stay running. At low load, fewer kilowatt-hours are produced to divide that fuel cost across, so cost per kWh rises.
Can a diesel generator ever beat the grid on price?
It can in unusual situations, such as very high electricity tariffs combined with unusually cheap diesel and efficient generator operation. It may also be cheaper on a total-project basis when the alternative is paying for an expensive utility-line extension to a remote site.
Does diesel generator fuel cost include maintenance?
No. A fuel-only calculation excludes oil, filters, repairs, coolant, batteries, depreciation, and installation. For a true comparison, I add those costs separately.
What is the easiest way to compare my generator with my electric bill?
Take your diesel price per gallon, multiply it by the generator’s gallons per hour at your real load, and divide by actual kW output. Compare the resulting $/kWh with the energy rate on your utility bill.
Final Answer: Which Is Cheaper per kWh?
For most customers with normal utility access, grid electricity is cheaper per kWh than diesel-generator electricity. Using June 2026 U.S. residential electricity at 18.34 cents per kWh and the September 28, 2026 U.S. diesel benchmark of $6.382 per gallon, a representative diesel-generator example can easily produce fuel-only electricity in the $0.60-per-kWh range or higher.
That does not make diesel generators a bad investment. I simply view them for what they do best: provide dependable electricity when the grid is unavailable, unreliable, impractical, or too expensive to extend to the site.
If your goal is to decide purely on operating cost, calculate your own fuel consumption at the actual load and compare the resulting cost per kWh with your exact utility tariff. If your goal is backup power, then I also factor in the economic cost of an outage, because the cheapest kilowatt-hour is not useful when it is unavailable.
