Energy Prices as Inputs: Notes on the Solar Payback Calculator
This guide explains how oil and fuel prices form. Readers sometimes ask how those prices compare with the cost of producing power at home. The calculator below, kept from an earlier version of this site, estimates the payback on a home solar system. The notes here explain its formula and assumptions so you can tell which inputs drive the answer. It is an educational tool, not a quote, and nothing on this page is financial advice.
What the calculator does
- System cost = system size in kilowatts × 1,000 × cost per watt.
- Net cost = system cost minus a federal credit fixed in the script at 30 per cent, minus any state rebate you enter.
- Yearly output = size × daily sun hours for the region you choose × 365 × an 85 per cent system factor, adjusted for panel efficiency.
- Yearly savings = output × your electricity rate, with the rate rising by the annual increase you enter and output falling by half a per cent a year.
- Payback year = the first year in which cumulative savings exceed the net cost.
The inputs that matter most
Two inputs dominate the result. The first is the electricity rate: the higher your price per kilowatt-hour, the faster the payback. The second is the annual rate increase. An assumption of a few per cent a year compounds over 25 years into a large difference, so try the calculator with a low, middle and high value rather than a single guess. Electricity prices, like fuel prices, depend on fuel costs, network costs, taxes and regulation, and their history is a better guide than any single assumption.
Assumptions to check before trusting a result
- The tax credit. The 30 per cent figure is written into the script. It reflected the federal residential clean energy credit under the rules in place for many recent years, but Congress changed those rules in 2025. Check current IRS guidance before using this line; for most new home systems the result may be too optimistic.
- Sun hours. The region buttons use broad averages. Roof angle, shading and local weather can change output a lot. The National Renewable Energy Laboratory’s PVWatts tool gives a location-specific estimate.
- Cost per watt. Installed costs vary by market and installer. The default is only a placeholder; use written quotes.
- Net metering. The tool assumes every kilowatt-hour you produce is worth your full retail rate. Many utilities credit exported power at a lower rate, which lengthens payback.
- Financing and maintenance. Loan interest, inverter replacement and insurance are not included.
How this relates to oil prices
In the United States very little electricity is generated from petroleum, so home solar mainly competes with power from natural gas, coal, nuclear, wind and hydro, not with gasoline. The link to oil is indirect: electric vehicles charged at home turn gasoline spending into electricity spending, and that is where pump prices enter a household’s solar sums. If you want to compare the two, use the fuel and CO2 notes on the footprint calculator page to estimate your yearly gallons, then compare that cost with the electricity an equivalent electric vehicle would use.
Saved calculations stay in your browser. The tool does not contact installers and this site does not sell or recommend any product.
Sources
- Internal Revenue Service, residential clean energy credit guidance
- National Renewable Energy Laboratory, PVWatts calculator
- EIA, Electric Power Monthly and “Electricity explained”