EVs usually have a kilowatt hour(kWh) rating, and the battery pack has a kWh storage rating
If an EV has a 3mile/kWh rating and battery pack has 80kWh capacity then "in theory" you could go 240 miles on a full charge, 3 x 80 = 240, but there are other electrical usages in any vehicle, so................
Teslas are rated at 2.5mile/kWh
Leaf is rated as 5mile/kWh<<< impressive, but have seen 4mile/kWh which is still pretty good
kWh is also how electric companies sell electricity so..........the math is simple, on cost to recharge, say an 80kWh battery pack, and to estimate how many kWh were used that day so how many kWh it will take to "fill it back up"
Solar panels/chargers also have a kWh rating, if you have a 10kWh solar system then it would take 8 hours to charge up a drained 80kWh battery fully in full sun light
And/Or you would need another battery pack to store the kWh during the day to recharge EV at night
Battery packs are not cheap
Again its just math, to see what you need
Or you could setup the 10kWh solar system to power home devices(frig/freezers) while you are away during the day, when electricity is usually higher priced, so saving the electrical cost and then use electrical power to charge EV at night when power is cheaper
No extra battery pack needed
There are a few EVs coming out with almost every surface on the vehicle covered with solar panels, and nice looking, well for what they are, lol
Can't even imagine what insurance companies will charge for coverage on these, a "fender bender" could cost ALOT to repair
And the inconvenience of not using covered parking or "parking in the shade" to keep vehicle cooler