Solar + EV Planner

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

Your Driving

Pick how much you drive and how efficient your EV is. Defaults match an average US driver in a Tesla Model 3.

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 2024 avg rate + NREL sun hours.

¢/kWh

Editable — check your latest bill.

hrs

NREL state average.

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 loses 8–15% along the way. To get the kWh you actually pull from the wall, divide by one minus that loss fraction. That's the number your solar (or your utility) has to supply.

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

kWh to Solar kW

Solar capacity is measured in kW DC. To turn the kWh you need into kW of panels, divide by what one kW produces in a year — that's peak sun hours × 365 × an efficiency factor (0.8 covers temperature, inverter, and wiring losses).

Peak sun hours come from NREL PVWatts state averages. They're not the same as daylight hours — one peak sun hour represents 1,000 W/m² of irradiance sustained for an hour.

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.

400 W is the 2024 residential standard; premium high-efficiency panels reach 450–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. Even at $3.50/gal, a 28 MPG gas car costs 12.5¢/mile — roughly 3× grid charging and over 10× owned-solar charging.

¢/mi grid = ($/kWh ÷ mi/kWh) × 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 — six to eight 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 — even at $3.50/gallon, a 28 MPG gas car costs 12.5¢/mile.

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

Not if your utility offers net metering at or near the retail rate. 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.

Does the 30% federal tax credit cover panels added for an EV?

Yes. The federal Investment Tax Credit applies to the full installed cost of any residential solar system you own through 2032 — including capacity added specifically to cover EV charging. The credit doesn't care what the kWh are used for; it cares that you own the system.

A separate federal EV tax credit (up to $7,500) may apply to the car itself if income, price, and assembly requirements are met. The two credits stack — they cover different things.

What about the Level 2 charger — do I size for the charger or the car?

Size for the car's annual usage, not the charger's peak draw. 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