the price of electric to charge those batteries will kill it..
Speaking from ignorance?
Is easy to research power consumption of EVs. The EPA's website
Fuel Economy estimates high, contrary to their gasoline/diesel MPG ratings. My old 2013 Tesla Model S 85 power hog is rated 0.380 kWh/mile as measured from the 240V 40A outlet. 40A is all one can draw at 100% duty cycle from a 50A nominal circuit.
Now I know in this modern computerized TV-fed generation that math is impossibly hard. If there isn't an app, you can't do it, so I'll do the math for you and show my work.
My electric rate is essentially $0.10/kWh. That is to draw 1000 Watts for an hour cost 10¢. My car will go 1 mile on 380 Wh. Note I'm freely flipping between Watts and kiloWatts.
0.380 kWh at 10¢/kWh is 0.380 * 0.10 = $0.0380 per mile. In the expression: kWh/mile * $/kWh the first kWh is canceled by dividing the 2nd kWh into it leaving $/mile.
If gasoline costs $2.50/gallon then for the same cost as a gallon of gasoline my Tesla will go $2.50/0.0380 = 65.8 miles.
At $0.18/kWh others mention: 2.50 / ( 0.18 * 0.380 ) = 36.5 miles
Or at $4/gallon: 4 / ( 0.18 * .380 ) = 58.5 miles
The Tesla Model 3 gets 0.260 kWh/mile, significantly better than my S. I'll let you do that math.