As far as your comparison to operating costs, ICE (gasoline) vs EV (electricity), you're just factoring in the cost of gas, but you forgot to consider the cost of electricity.
Here in the San Diego area, where we're forced to buy ours from the rip-off company SDG&E, (the highest price of anywhere in CA and the nation, including Hawaii), it's a much different equation. I'm a hyper-miler and started driving a Prius over 10 years ago and was able to average about 70 mpg on the non-PHEV Prius hybrids that I owned (a 2013 and 2016). In 2019 I decided to start buying a new EV every year to take advantage of the state and federal incentives and since that time I've owned a Prius Prime, Honda Clarity, and a 2022 and 2023 Leaf. With my driving techniques I'm able to average 5.6m/kWh with the Leafs. This is the
indicated miles per kWh, i.e. from the car's computer, my actual is 4.7m/kWh.
I only use the Leaf for local driving and I'm able to charge at home during super-off peak hours, but were I to drive a distance necessitating charging on the road, the price per kilowatt runs as high as $.58 in SoCal. Last night I bought gas for the cheapest I've paid in 3 years here in our area, $3.99 per gallon at Costco. So if you crunch these numbers, I was getting over twice the miles per gallon with the Prius hybrids, including the plug-in Prime, compared to my Leafs if I were charging away from home at peak times. When gas was around $6 per gallon and I was buying electricity at home for around $.25 per kilowatt, the equation, gasoline vs EV is much better.
Of course I realize that most Leaf owners will be getting closer to the 3.1m/kWh that
FuelEconomy.gov rates the 2nd gen Leafs at. I'm able to get the 4.7m/kWh using my techniques and living in a moderate temperature area of the country and not having to use climate control, which is a much bigger factor for any EV compared to gas vehicles.