The maths, in the open
Cost per mile for an EV is simply the electricity price divided by your efficiency:
- Cost per mile = price (p per kWh) / efficiency (miles per kWh)
For petrol the equivalent is the fuel price converted through your mpg:
- Cost per mile = petrol price (p per litre) x 4.54609 / mpg
The defaults use current UK prices from one editable config, so the comparison stays honest as prices move.
Where you charge decides what you pay
The spread is dramatic. At a typical overnight EV tariff, a mile costs around 2 to 3 pence. At the standard price cap it is around 7 pence. On a public rapid charger it can pass 20 pence, which is petrol territory.
The practical takeaway: charge at home whenever you can, use an overnight tariff if you have a smart meter, and treat rapid charging as the motorway exception rather than the routine.
Assumptions and accuracy
Defaults come from one editable config file with current UK prices: home 25p per kWh (price cap), overnight EV tariff 8.5p, public rapid 79p, petrol 158p per litre, 45mpg. Fuel and electricity only.
These figures are estimates, not a guarantee. Last updated 2026-07-18.