Are EVs really cheaper to run?

I live in Northern California. Here we pay high prices for gasoline and for electricity. Currently, I would say that average gas prices are around $5/gallon (regular). Electricity ranges from 0.25/kWh to 0.75/kWh — averaging about 0.47/kWh (PG&E).

So, for the purposes of this discussion, I put aside the higher depreciation and insurance rates for electric cars, higher repair costs (if you get in a wreck) and wearing out tires quicker on EVs, and also forget about oil changes and maintenance costs for gas cars, greater pollution, etc. I’m just focused on the fuel costs for the vehicles.

It seems that most EVs get around 3-3.5 miles per kWh. If I assume 50 cents as a cost per kWh, then I assume 6-7 miles per dollar. Since gas is $5/gallon, wouldn’t that mean I would be able to drive 30-35 miles on the equivalent of $5 cost. So a gas car getting 30-35 miles per gallon would be equivalent.

I currently drive a 2019 Avalon hybrid (XSE) and average around 45 mpg. So, my hybrid is much cheaper to run (from a fuel cost standpoint) than an EV. Am I missing something?