Should You Get Solar Panels, an EV, or Both?
A financial model showing why solar panels and electric vehicles are worth more together than apart — especially now that electricity prices are rising and the cost of going green is declining.
Why this calculator exists
Electricity prices have risen sharply in recent years and projections suggest more of the same. At the same time, the cost of rooftop solar continues to fall every year. Moreover, electric vehicle prices continue to fall, while gas prices remain high. The result is that the financial case for going green is stronger than it has been at any point in history, and the landscape is shifting fast enough that an evaluation from even two or three years ago may already be out of date. This necessitates a tool that can consider the changing price landscape and help you make an informed decision about whether to buy now or wait for prices to fall further. Importantly, the savings shown here are not just inflation-adjusted — they represent returns above and beyond what your money would earn in a financial portfolio. A net benefit of $0 means the solar or EV investment ties that return, and anything positive means it beats it.
Additionally, the tool must capture the fact that solar and EVs are complements: an EV charged with rooftop solar has zero fuel cost, and the EV's battery can replace expensive standalone home battery storage for solar. The tool below quantifies that synergy, so you can see whether the combined package makes financial sense for your situation, even if each investment alone looks marginal.
Your Inputs
Adjust these parameters to match your situation. The defaults are for Spring, TX.
☀️ Solar & Home
🔋 Battery Storage
🚗 EV & Driving
📈 Price Projections
⚙️ System Details
💰 Financial Preferences
🌱 Non-Financial Preferences
📉 Price Decline Rates
Your Results
These figures represent the value of each investment — Solar Only —, EV Only —, Solar + EV — in upfront cash — over and above a portfolio earning 9% annually. A result of $0 means parity with the portfolio — anything positive means solar/EV beats it.
Complementarity: Why Both > Each Alone
How It Works
Click to expand the methodology behind each part of the model.
Capacity (kW) = monthly_kWh × 12 ÷ (sunlight_hours × inverter_efficiency%)Panel production each year accounts for degradation — panels start at 100% efficiency, drop to 97% in year 2 (initial burn-in), then decline 1% per year thereafter.
Real annual savings = monthly production × electricity price × 12, deflated by CPI growth. Each year's electricity price compounds at the growth rate you set.
Discounted savings = real savings ÷ (1 + discount_rate)^(year−1). The discount rate reflects your opportunity cost of capital, adjusted for liquidity and impatience preferences.
annual_miles ÷ MPG × gas_price, with gas prices compounding at the gas growth rate, deflated by CPI.EV electricity cost (grid charging):
monthly_EV_kWh × electricity_price × 12, also deflated by CPI. Monthly EV kWh = annual_miles ÷ 12 ÷ EV_efficiency.Grid-charging savings = ICE cost − EV electricity cost. Notice these decrease over time when electricity rises faster than gas.
Solar-charging savings = full ICE cost (EV electricity is free). These increase over time with gas prices.
$3,000 + $2.20/W × capacity. The $3K fixed component (permits, design, mobilization) means larger systems cost less per watt — a 15 kW system is ~$2.40/W vs ~$2.95/W for a 4 kW system. Source: EnergySage and a1solarstore 2026 pricing data.Tax credits default to $0. The federal 30% Residential Clean Energy Credit (Section 25D) expired December 31, 2025 under H.R. 1. Check DSIRE for state/local incentives.
Battery cost is sized at a configurable ratio per kW of solar (default 1.25 kWh/kW). Installed cost averages ~$1,000/kWh in 2026 (EnergySage/Tesla Powerwall 3 data).
Independence benefit: If battery storage exists (standalone or EV V2H), the model credits an independence value equal to the independence preference % × the financial NPV. This reflects the value of guaranteed electricity access during grid outages.
Net Benefit(C) − Net Benefit(A) − Net Benefit(B) and comes from three sources:1. Avoided EV electricity costs: When charging from solar instead of the grid, the EV's electricity cost drops to zero. The NPV of those avoided grid charges is the largest financial component of the synergy.
2. Avoided battery cost (V2H): A typical EV has 60-80 kWh of battery. Vehicle-to-Home (V2H) technology lets the EV replace a standalone home battery (typically 13-17 kWh). This saves $13,000-17,000 in battery costs.
3. Concave solar costs: Adding EV capacity to the solar array increases total kW but the incremental cost per watt is lower than the average (fixed costs already paid). This partially offsets the extra panels needed.
"Buy now or wait" answers: if equipment prices decline at X%/year, how many years until the cost drops enough that buying later is better? The formula is
log(NPV / Cost) ÷ log(1 − decline_rate). A negative number means the net benefit is already positive — buy now. A positive number means wait that many years.The practical implication: the net benefit figures in this tool are not savings relative to doing nothing. They are savings relative to investing the same money in a portfolio earning your counterfactual rate. A net benefit of $0 means solar or EV exactly matches your portfolio return — making it a remarkably high bar to clear.
Limitations
Federal ITC expiration: H.R. 1 signed July 4, 2025.
This tool is for informational purposes only and does not constitute financial advice. Consult a financial advisor for personalized recommendations.