Electricity costs · United States
Solar vs grid cost calculator
Contrast a year of grid energy cost with a solar-assisted scenario. Start from your state average rate, then use your bill.
Results
Methodology
Grid-only = usage × price. Offset = min(usage, generation × self-consumption). Import cost = (usage − offset) × price. Net solar scenario = import + O&M − export credit.
Worked example
5,000 kWh/year at USD 0.20/kWh is USD 1,000 on grid alone. With 4,000 kWh solar and 75% self-consumption, 3,000 kWh is offset; import falls to 2,000 kWh before export credits and O&M.
Assumptions and limitations
No fixed customer charges, demand charges or TOU periods.
Pair with the solar panel calculator for generation and the payback calculator for capital recovery.
FAQ
Is the state average my rate?
No — it is an EIA statewide average where labelled. Override with your bill.
What if I have no export credit?
Set export rate to 0.
Does this include NEM 3.0 etc.?
Only through the export rate you enter.
Related calculators
- Solar payback calculator — Estimate annual savings and simple payback from system cost, generation and utility-rate assumptions.
- Electricity cost calculator — Convert watts and hours into daily, monthly and annual dollar costs.
- Solar panel requirement calculator — Estimate array size and panel count from daily kWh and peak sun hours.
Related guides
- Net metering and export credits for US solar — Why you should separate avoided retail imports from export credit when comparing solar to the grid.
Sources and review
Energy-balance comparison. State defaults from data/electricity/us-states.json.
Last reviewed: 23 November 2026