I just came across this calculator and did not find it mentioned here yet so here it is
Alternative Fuels Data Center: Vehicle Cost Calculator
If you have the kWh/100mi value for an electric car you can create your own entry. According to Tesla accidentally reveals Model 3 efficiency hinting at...