https://www.eia.gov/petroleum/gasdiesel/
Let's use $5/gallon.
According to random website https://motorask.com/semi-trucks-mileage/
> On average, semi-trucks get around 6.5 miles a gallon
But according to https://www.motorbiscuit.com/how-many-miles-per-gallon-do-se...
> Transporting freight from one location to another isn’t cheap. We all pay so much for shipping because semi-trucks are gas guzzlers. In the early ’70s, it was estimated that the average semi got about 5.6 MPG, but that amount has increased slightly. In 2014, new semi-trucks were required to get 7.2 MPG on average.
Heck, let's use 10 MPG.
500 miles ÷ 10 miles/gallon x $5/gallon = $250.
So even with liberal estimates in diesel's favor, unless my numbers are way off, electric comes out way ahead.