It depends on the car, whether it has a heat pump or not, and just how hot or cold it is. Here in Canada in cold winter weather you can lose more than half your range. This is due to not just heating the cabin, but also heating the battery, plus winter tires and snow have a lot more rolling resistance than summer tires on pavement.
That’s why I won’t consider an electric car with less than 300 miles of range. I don’t want to find myself in a snowstorm in -30 weather in a car that will only go 100 miles on a full charge, and if it got stuck or in a traffic jam I’d still be depleting battery just staying warm. That’s a recipe for constant range anxiety.
To be able to use your car battery to power your home or sell to the grid requires hardware most electric cars don’t have. The only ones I personally know of are the Ford F-150 Lightning, the Rivian Truck and the Hyundai Ioniq 5.
But solar panels on the roof of your car produce very little power. They won’t really add much in the way of range, and their best use would probably be to run a small fan in summer to keep the interior cool so you don’t need as much AC when starting out.
A 1m^2 solar panel in ideal conditions might produce about 200 watts at the equator. As you go north from there you lose solar insolation and the panel’s horizontal orientation gets less efficient. I’m guessing you’d be lucky to get 100W out of such a panel at noon parked in the sun in the northern US.
A Tesla uses 26 kWh to go 100 miles, so it would take such a panel about 260 full sun hours to enable 100 miles of driving, and a full day of charging would let you drive a little over two miles. Also, at say 20 cents per kWh, the electricity you save after 10 hours of charging in noontime sun would be worth about twenty cents.
Thi# ignores charging efficiency, and whatever power the vehicle uses when parked. A typical EV will lose about 2-3% of its charge per month when not being used.
In the real world, panels lose efficiency over time, get dirty, and the vehicle may be parked somewhere where it doesn’t get full sun. Also, clouds will cut down your power substantially, and power generated is lower in the morning and late afternoon when the sun is lower. So probably divide all those numbers in half for closer real world numbers.
Solar power for a typical car just isn’t worth it, other than for trickle charging a battery and running a cooling fan on the interior in summer. For a smaller vehicle that’s used rarely and for short periods, it might work. A little utility vehicle that sits for weeks or months at a time and then is used for a few chores around farm or something would maybe never need charging. But if you wanted that, it would be smarter to build a car cover with solar cells on top. Then you don’t have to lug them around and you can keep the vehicle itself out of the sun.