Total fuel cost and gallons consumed for any trip, given distance, your car's MPG, and current gas price. Round-trip and monthly commute math too.
A 5 MPG difference matters more at the low end than the high end. Going from 20 to 25 MPG saves more fuel than going from 35 to 40 MPG over the same miles. Use gallons per 100 miles as a better mental model:
That's why fleet operators care more about the jump from a 15 MPG truck to a 20 MPG truck than from a 30 MPG sedan to a 35 MPG sedan.
To compare an EV's electricity cost to gas, convert kWh per 100 miles to gallons per 100 miles:
EV-vs-gas savings depend heavily on your local electricity rate. California ($0.30+/kWh) closes the gap; Texas/Tennessee ($0.10-0.13/kWh) makes EVs dirt-cheap to operate.