An 15 mpg gasoline truck might use $100,000 in fuel over its lifetime. Buying a $40,000 electric truck pays off really quick. Selling power back to the grid is just gravy.
That is 300,000 miles at $5/gallon. I don't know what gas prices will go to, but very few trucks go that far before they are scrapped - they absolutely can go a a lot more than that, but most do not.
Yes, "might" is carrying a lot of weight in my comment. A good number of trucks do hit 300,000 miles.
Electricity isn’t free. You should include that in your comparison costs.
It also varies. It can be over 50 cents some places and under 5 cents in others. In comparison, people complain how much more gasoline costs in California compared to elsewhere, but the difference between $6 and $4 doesn't really affect my $100,000 figure all that much.
So I can do the electricity math for myself, but not for others.
Overnight in Texas it often is free in the wholesale markets.