Solar + EV Planner

How many extra panels do you need to drive on sunshine? Annual kWh, panel count, and ¢/mile vs grid and gasoline.

kWh/yr

3,810 kWh

Panels

6 × 400W

vs Gas

$442/yr

Your Driving

Pick how much you drive and how efficient your EV is. Defaults match an average US driver in a mid-size EV.

Driving Preset

mi/yr

Your annual driving total.

mi/kWh

Model 3 ≈ 4.0, Mach-E ≈ 3.0, Lightning ≈ 2.0.

%

AC→DC + cable losses; 8–15% typical.

Solar & Costs

EIA 2026 avg rate + NREL sun hours.

¢/kWh

Editable. Check your latest bill.

hrs

NREL state average.

W

400 W is residential standard.

mpg

For the gas comparison.

$/gal

Local pump price.

The Math

How It Works

Four steps from miles driven to panels installed. The math is the same the installers use, just with your numbers.

/01

Miles to kWh at the Wall

Every EV is rated in miles per kWh, the EV equivalent of MPG. Divide your annual mileage by the rating and you get the kWh the battery has to deliver to the wheels over a year.

Charging from AC to the DC battery adds 8–15% to the kWh drawn from the wall. Divide the battery kWh by the charging efficiency to get the total kWh your solar or utility needs to supply.

kWh/yr = miles ÷ (mi/kWh) ÷ (1 − losses)
/02

kWh to Solar kW

Solar capacity is measured in kW DC, and a kW of panels yields a fixed budget of energy per year wherever you live: peak sun hours × 365 × an efficiency factor (0.8 covers temperature, inverter, and wiring losses). Divide the kWh your car needs by that yearly budget to get the kW of panels to add.

Peak sun hours come from NREL PVWatts state averages. One peak sun hour packs the energy of 1,000 W/m² sustained for an hour, a standardized way to compare locations rather than counting daylight hours.

kW DC = annual kWh ÷ (sun hours × 365 × 0.8)
/03

Sizing the Panels

Panels come in fixed wattages. Multiply your required kW by 1,000 to get watts, then divide by the panel wattage and round up. You can't install a fractional panel, and rounding up gives a small margin for cloudier-than-average years.

Residential panels today typically run 400–450 W; premium high-efficiency models reach 500 W in the same physical footprint. More wattage per panel means fewer panels but more cost per panel.

panels = ceil(kW × 1000 ÷ panel watts)
/04

Cost Per Mile: Solar vs Grid vs Gas

Grid charging costs your utility rate per kWh divided by your EV's efficiency, scaled up for charging losses. Solar charging on a paid-off system is essentially free per mile; the upfront panel cost is captured separately in the payback calculator.

Gasoline costs pump price divided by MPG. At $4.00/gal, a 28 MPG gas car costs about 14.3¢/mile, roughly 3x grid charging and over 10x owned-solar charging.

¢/mi grid = ($/kWh ÷ mi/kWh) ÷ (1 − losses) × 100
¢/mi gas  = ($/gal ÷ mpg) × 100

Reference

Common EV Efficiencies

Real-world mi/kWh ratings for popular models. Cold weather, highway speeds, and roof racks all push these lower; gentle city driving pushes them higher.

Vehiclemi/kWhkWh per 1K mi
Tesla Model 3 Long Range4.0250
Tesla Model Y Long Range3.7270
Chevy Bolt EUV3.6278
Hyundai Ioniq 53.4294
Ford Mustang Mach-E3.0333
Rivian R1T2.1476
Ford F-150 Lightning2.0500

FAQ

How many solar panels do I need to charge my EV?

An average US driver covers about 12,000 miles per year. At 3.5 mi/kWh and 10% charging losses, that's roughly 3,800 kWh per year at the wall. In a sunny state with 5.5 peak sun hours, you need about 2.4 kW DC of solar, roughly six 400 W panels.

Heavier drivers, less efficient EVs (trucks, large SUVs), or cloudier states all push the panel count higher. Use the calculator above with your actual numbers; the math scales linearly with miles and inversely with efficiency.

Is it cheaper to charge an EV with solar or from the grid?

Once your solar panels are paid off, charging from solar is essentially free: just a small share of inverter and panel maintenance spread across the kWh. Grid charging costs your utility rate per kWh divided by your EV's efficiency.

At 14¢/kWh and 3.5 mi/kWh that's about 4¢/mile from the grid versus less than 1¢/mile from owned solar. Both beat gasoline by a wide margin; at $4.00/gallon, a 28 MPG gas car costs about 14.3¢/mile.

Do I need a battery to charge my EV at night with solar?

With net metering at or near the retail rate, you can skip the battery. Your daytime solar exports get credited against your overnight charging draws; the grid effectively acts as your battery for free.

If your utility uses export rates well below retail (California NEM 3.0 credits exports at roughly 25% of retail), a home battery starts to pay back faster, especially paired with time-of-use rates. Our battery sizing tool walks through a full sizing pass.

Are there federal tax credits for solar panels or EVs anymore?

Not for purchases made now. The 30% residential solar credit (Section 25D) was terminated for installations completed after December 31, 2025, and the $7,500 federal EV credit (Section 30D) ended for vehicles acquired after September 30, 2025, both under the One Big Beautiful Bill Act.

Leased solar systems and leased EVs can still carry commercial credits claimed by the leasing company, which sometimes shows up as a lower monthly payment. State incentives for both solar and EVs vary widely; check the DSIRE database for your area.

Do I size for the Level 2 charger or for the car?

Size for the car's annual usage. A 7.2 kW Level 2 charger can pull power faster than your solar produces in the moment, but it only runs a few hours a day. The annual kWh is what determines panel count.

Net metering smooths the moment-to-moment mismatch between when the sun shines and when you plug in. If you're fully off-grid, sizing changes; see our off-grid calculator.

How does cold weather affect EV charging from solar?

Cold weather hits both sides: EV efficiency drops 20–40% in winter (battery heating, cabin heat, denser air resistance), and solar production drops with shorter days and lower sun angles. We use annual averages, so winter dips and summer peaks roughly cancel for a fixed rooftop system.

If you live somewhere with brutal winters and you charge mostly overnight, bump the miles-driven figure up 10% or efficiency down 10% to stress-test the math. Snow-covered panels also lose a few weeks of production each year, typically less than 5% annually.

Related Tools