According to the prices from the chamber of commerce [1] that means everywhere but california, new england & new york it's cheaper for electric as long as your charging at home (which you should be doing as much as you can anyways for convenience/battery health)
Additional Notes
- diagram maxes at $0.15, so some of those states may be lower than the $0.23 cut off
- you're taking national average gas prices and comparing to highest price of electricity, but so-cal also tends to have higher gas prices in comparison so I imagine the math ends up working more often than first glance may indicate.
- Your also ignoring the convenience/time saving of charging electric, I've maybe spent an hour waiting on my car to charge in the last year, but I would have been stopping at those points for meals anyways so there was very little "waiting" on my part whereas with gas I had 10/15 minutes a week of time going out of my way to fill up with gas. Just pull in at home plug in and I'm topped up next time I go someone was actually my #1 reason for going electric.
[1] https://www.globalenergyinstitute.org/2022-average-us-electr...
While I know anecdote isn't data my cost last year in Western WA for charging my car was ~$300, it would have been closer to $2000-2200 for gas.