Calculate generator electricity cost per kWh by dividing the operating expense for a period by the electrical energy actually delivered during that period. Match fuel consumption and output to the same load and time interval, then state whether maintenance and ownership costs are included.
Open the Generator Cost Per kWh Calculator.
Use energy delivered rather than generator nameplate size
A generator’s rated kW describes power capacity, not the energy it produces every hour regardless of load. A 20 kW machine supplying a steady 8 kW load for six hours delivers 48 kWh, not 120 kWh.
The relationship is energy in kWh = average real output in kW × operating hours. For changing loads, use an appropriate energy-meter reading or add the energy delivered during each operating interval. The EIA explains the distinction between kW and kWh in its electricity measurement guide.
Choose the measurement boundary before calculating. Energy recorded at the generator output may differ from useful energy arriving at the loads because cables, transformers, chargers, or other equipment can consume some of it. Either boundary can support a useful cost figure if you label it consistently.
Do not divide by generator kVA when seeking cost per electrical kWh. Apparent-power capacity is not the denominator for real energy delivered. Likewise, a household’s pre-outage electricity use is not a substitute for measured energy supplied by a smaller backup circuit.
The operating-cost equation
For a measured interval, use:
Cost per kWh = (fuel expense + maintenance expense + other included operating expense) ÷ delivered kWh
If a steady hourly fuel rate and output are known, the equivalent relationship is:
Cost per kWh = [fuel rate × fuel price + maintenance cost per hour] ÷ output kW
This works because hourly dollars divided by kW gives dollars per kWh. The operating hours cancel only when the numerator and denominator describe the same interval and conditions.
Keep fuel units consistent. A rate in US gallons per hour requires a price per US gallon. A rate in liters per hour needs a price per liter unless you convert first. Natural-gas volume and energy units require their own matched prices; a liquid-fuel gallon field should not be used for an arbitrary gas volume.
Fuel price should reflect the basis you are analyzing. You might use the invoiced price of fuel actually consumed, a weighted price for several deliveries, or an explicitly stated planning assumption. Do not describe an illustrative price as a current market quotation.
An illustrative eight-hour calculation
Suppose a backup generator delivers an average of 8 kW for eight hours. A fuel log shows that it consumed 7.2 US gallons during that interval. Use an illustrative fuel price of $4.20 per gallon and a maintenance reserve of $0.60 per operating hour.
Energy delivered is 8 × 8 = 64 kWh. Fuel expense is 7.2 × $4.20 = $30.24. The maintenance reserve is 8 × $0.60 = $4.80, bringing the included operating expense to $35.04.
| Item | Calculation | Amount |
|---|---|---|
| Delivered electrical energy | 8 kW × 8 h | 64 kWh |
| Fuel used | Fuel-log total | 7.2 US gal |
| Average fuel rate | 7.2 ÷ 8 | 0.90 gal/h |
| Fuel expense | 7.2 × $4.20 | $30.24 |
| Maintenance reserve | 8 × $0.60 | $4.80 |
| Included operating cost | $35.04 ÷ 64 | $0.5475/kWh |
The fuel-only figure is $30.24 ÷ 64 = $0.4725/kWh. Including the stated maintenance reserve increases it to about $0.55/kWh when rounded to cents.
Neither value includes the generator purchase or installation. They answer different questions from an ownership-cost calculation, so retain both the boundary and the unrounded working result in your worksheet.
Why the fuel rate must match the load
Using full-load fuel consumption at a lower output can distort the result. Conversely, assuming that half load consumes exactly half of full-load fuel can also be misleading. Use the actual model’s fuel curve or a measured interval rather than a universal proportional rule.
A manufacturer data sheet is useful because it can list different consumption values at several load points. For example, Cummins publishes a C25 D6 data sheet with separate load-point fuel entries. Those figures belong to that model and rating; they are not a conversion chart for all generators.
An illustrative comparison makes the denominator effect clear. Suppose a machine consumes 0.65 gal/h while supplying 4 kW and 0.90 gal/h while supplying 8 kW. The lighter-load setting uses fewer gallons each hour, but its fuel intensity is 0.1625 gal/kWh versus 0.1125 gal/kWh at the higher output.
At $4.20/gal, those fuel-only costs are $0.6825/kWh and $0.4725/kWh respectively. Lower hourly fuel spending therefore does not necessarily mean cheaper generated electricity.
This does not mean you should add unwanted loads simply to improve the ratio. Compare useful energy delivered and operate within the manufacturer’s rating and load guidance.
Understand what the embedded calculator assumes
The calculator multiplies fuel price by its fuel-consumption input and a selected operating-efficiency factor, adds hourly maintenance cost, and divides by rated output times load percentage.
Its fuel-consumption field is labeled Fuel Consumption at Full Load. However, the formula does not use load percentage to adjust that fuel rate. The load percentage changes only the electrical-output denominator. Consequently, a part-load result retains full-load fuel consumption unless the user deliberately supplies a matching measured rate instead.
For the eight-hour example, the relevant operating point is 8 kW on a hypothetical 20 kW generator, or 40% load. The direct calculation uses 0.90 gal/h, not an unrelated full-load rate.
If you use the tool for that comparison, recognize the label limitation and record that the entered 0.90 gal/h is the measured rate at 40% load. Select the neutral factor of 1, labeled “Good,” to preserve the measured rate, and enter $0.60/h maintenance. The arithmetic then gives approximately $0.55/kWh.
The other efficiency selections are broad multipliers on fuel expense. They do not represent measured thermal or electrical efficiency. Applying one to a measured fuel rate changes the evidence you entered; label that as a sensitivity scenario rather than a corrected measurement.
Account for maintenance without inventing a universal hourly fee
Maintenance expense can be recorded as actual costs within a long enough analysis period or as a clearly explained reserve. An hourly reserve should come from the owner’s anticipated service requirements, costs, and usage pattern rather than a default treated as authoritative.
For example, if the planned maintenance expense for a defined operating period is $180 over 300 operating hours, the allocated reserve is $0.60/h. That arithmetic does not establish a service interval or a manufacturer’s requirement. Follow the actual model manual for the work and timing involved.
Avoid mixing a future reserve with the same actual expenditure in the same total. If an oil service has already been charged in the measured period, adding a reserve intended to cover that identical service can double-count it.
Record unusual repairs separately if they would overwhelm a short outage’s calculation. A useful report can show routine operating cost alongside a broader period cost that includes repairs, with both labeled transparently.
Keep acquisition and installation separate
A fuel-and-maintenance figure is useful for deciding what an additional hour of operation costs. It does not tell you whether buying a generator is economical over its entire ownership period.
To estimate an ownership component, choose a justified allocation method and expected delivered energy. As an illustrative simple allocation, $6,000 of purchase and installation cost spread over 12,000 lifetime delivered kWh adds $0.50/kWh. Spread over only 2,000 kWh, the same amount adds $3.00/kWh.
Those examples ignore financing, resale, inflation, and the timing of expenditure. They demonstrate how expected use changes the allocation rather than proposing a standard lifetime. Keep the ownership calculation on a separate line so it does not become confused with immediate fuel expense.
For emergency backup, the value of maintaining essential service is another decision factor. A cost-per-kWh comparison alone does not price the consequences of losing refrigeration, communications, pumping, or heating.
Compare outage periods using consistent records
Log start and stop times, delivered energy, fuel added, starting and ending inventory where applicable, and the loads supported. Fuel purchased during an outage may remain in storage afterward, so purchase receipts alone may overstate fuel actually consumed in that interval.
For several operating sessions, add total included cost and total delivered kWh before dividing. Do not take an unweighted average of session cost-per-kWh values when session energy differs.
Suppose one session costs $20 for 20 kWh and another costs $30 for 60 kWh. Their combined cost is $50 ÷ 80 = $0.625/kWh. Averaging $1.00 and $0.50 would give $0.75/kWh and over-weight the smaller session.
If output is zero, cost per delivered kWh is undefined. Record no-load operation as expense and runtime, then include it in a broader period that actually delivers energy when that is the intended boundary. Preserve this distinction rather than entering a fictitious minimum load to force a calculator result.
References
- EIA: power and energy units.
- Cummins C25 D6 load-point fuel data.
- Cummins T-030 generator application manual.