How the calculators work
This page lists every figure the calculators start from, where each one comes from, and how often it changes. The figures below are the live values the site is using now, each with its own date.
Sources and current values
- Electricity price by state: 18.16¢/kWh U.S. average
EIA Electric Power Monthly, Table 5.6.A (August 2026 data). Updated: monthly, about two months behind. Used in: all calculators. - Household electricity use: 869 kWh a month U.S. average
EIA 2025 retail sales divided by customers, divided by 12. Updated: yearly. Used in: solar. - Gasoline: $4.00/gal
EIA weekly U.S. regular retail price, November 9, 2026. Updated: weekly. Used in: EV. - Gasoline by state: $3.26 to $5.92/gal
National price above × each state's AAA average relative to AAA's national average, November 17, 2026. Updated: weekly. Used in: EV state pages. - Public charging: $0.42/kWh
AAA national average, November 17, 2026. Updated: weekly. Used in: EV. - Natural gas: $1.69/therm
BLS average price, utility (piped) gas, U.S. city average, October 2026. Updated: monthly. Used in: heat pump. - Natural gas by state: $0.96 to $5.70/therm
National price above × each state's 2024 average residential price relative to the U.S. (EIA). Updated: yearly. Used in: heat pump state pages. - Propane: $2.57/gal
EIA Short-Term Energy Outlook, November 2026: average of the October to March residential forecasts for winter 2026–27. Updated: monthly. Used in: heat pump. - Heating oil: $5.64/gal
EIA Short-Term Energy Outlook, November 2026, same method as propane. Updated: monthly. Used in: heat pump. - Solar installed cost: $2.80/W
2026 residential marketplace averages, before incentives. Updated: by hand, when quotes shift. Used in: solar. - Solar output per kW by state: 1,350 kWh/kW a year U.S. average
MeterMath estimate for a south-facing fixed roof system, rounded. Updated: by hand. Used in: solar. - Heating degree days by state: 4,200 U.S. average
MeterMath rounded estimate, 65°F base. Updated: by hand. Used in: heat pump.
How state prices are built
Electricity prices are published for every state, so each state page uses its own EIA figure directly. Gasoline and natural gas are published weekly or monthly as national figures, and by state on a different schedule or by a different source. To keep every page on the same date, a state's price is the latest national price multiplied by how that state compares with the nation in the state-level source. If gasoline in a state averaged 8% above the national average at AAA, the calculator starts that state at 8% above the latest national price.
Two figures are estimates rather than published statistics: yearly solar output per kW and heating degree days. Both are rounded state values, and each calculator labels them and lets you enter your own.
The formulas
EV vs gas. Miles divided by the EV's miles per kWh gives the energy the battery needs. Home charging loses about 10% between the outlet and the battery, so the home kWh are divided by 0.9. Public charging is priced at the AAA national average. The gas car's cost is miles divided by its mpg, times the gas price. The break-even gas price is the EV's yearly charging cost divided by the gallons the gas car would burn.
Solar payback. Each year for 25 years, the panels' output (size × output per kW, falling 0.5% a year) is valued at the electricity price, which rises 3% a year by default. Output used at home as it is made counts at the full price; the rest is credited at the export rate, 75% of retail by default and lower in California and Hawaii, where the state utility commissions set lower credits. Payback is the first year the running total of savings covers the system's cost, with a $2,000 inverter replacement in year 12.
Heat pump. The heat a home needs is its yearly fuel times the energy in each unit (100,000 Btu per therm, 91,452 per gallon of propane, 138,500 per gallon of heating oil) times the furnace's efficiency. A heat pump delivers that heat using electricity divided by its seasonal coefficient of performance (COP), which the calculator sets from the state's climate: higher in mild states, lower in cold ones. Payback divides the extra upfront cost by the yearly saving.
Checks before anything goes live
- Each weekly update is limited in how far a price can move: 15% for gasoline and public charging, 20% for natural gas, propane, heating oil and any state's electricity, and 10% for a state's gasoline relative to the nation. Anything larger waits for a person to review.
- A price cannot change unless its source date changes with it.
- Automated tests check the formulas against hand-worked cases and load every calculator in a browser before each update is published.
What the calculators leave out
They compare running costs at average prices. They do not include purchase prices beyond what you enter, financing, maintenance, insurance, resale value, time-of-use rates or local rebates, though most of these have an input you can fill in. Your own bills and a local quote will always beat an average.
Spotted something wrong? See the contact page.