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
Your annual driving total.
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.
Editable — check your latest bill.
NREL state average.
400 W is residential standard.
For the gas comparison.
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.
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)
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)
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)
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.
| Vehicle | mi/kWh | kWh per 1K mi |
|---|---|---|
| Tesla Model 3 Long Range | 4.0 | 250 |
| Tesla Model Y Long Range | 3.7 | 270 |
| Chevy Bolt EUV | 3.6 | 278 |
| Hyundai Ioniq 5 | 3.4 | 294 |
| Ford Mustang Mach-E | 3.0 | 333 |
| Rivian R1T | 2.1 | 476 |
| Ford F-150 Lightning | 2.0 | 500 |
FAQ
Common Questions About Solar EV Charging
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
Home Solar Savings
Size a rooftop system from your monthly electric bill — with the 30% ITC and 25-year savings projection.
↳ $180/mo bill, CA → 9.2 kW system
Solar Payback & ROI
Simple payback, IRR, NPV, and 25-year savings chart — with federal and state incentives.
↳ $18K system, 30% ITC → 8.4 yr payback
Battery Bank Sizing
Usable and gross capacity needed for any backup duration, chemistry, and load.
↳ 10 kWh, 24 hr backup → 12.5 kWh gross