EV Cost per Mile Calculator

Work out what an electric car costs per mile or per kilometre for each way of charging — home off-peak, home standard, workplace, public AC and DC rapid — and compare it with gasoline, diesel and a hybrid.

Electric vehicle
17 verified variants · EPA data from FuelEconomy.gov
kWh/100 mi
Consumption measured
%
Used only for battery-side figures.
Electricity prices
/kWh
/kWh
/kWh
/kWh
/kWh

Default prices are examples. Replace them with your tariffs.

Fuel vehicles
/US gal
MPG (US)
/US gal
MPG (US)
MPG (US)
mi

Energy cost per distance

Home charging (standard rate)—
Gasoline
—
Break-even electricity price
—
Full comparison
OptionPer milePer kmPer 100 miPer 100 kmMonthlyAnnualvs gasoline

Energy cost only. The cheapest and most expensive rows are mathematical comparisons, not purchase recommendations.

How cost per mile is calculated

Energy cost per distance is the energy used per distance multiplied by the price of that energy. For an electric car, use consumption measured at the wall, because that is the energy on your bill. For a fuel car, use the fuel it burns per distance.

EV cost per km = (kWh per 100 km at the wall ÷ 100) × Electricity price
Fuel cost per km = (Litres per 100 km ÷ 100) × Fuel price per litre
Break-even electricity price = Gasoline cost per km ÷ EV kWh per km

Internally, every value is converted to kilometres, litres and kWh per 100 km, calculated, and converted back for display. That is why switching between miles and kilometres, US and Imperial gallons, or kWh/100 mi and mi/kWh gives consistent answers.

Worked example

An EV uses 30 kWh per 100 miles at the wall, or 0.30 kWh per mile. At 0.17 per kWh it costs 0.051 per mile (5.10 per 100 miles); at 0.45 on a DC rapid charger, 0.135 per mile. A 30 MPG gasoline car with fuel at 3.505 per gallon costs 3.505 ÷ 30 = 0.117 per mile. The break-even electricity price is 0.117 ÷ 0.30 ≈ 0.39 per kWh: charging below that is cheaper per mile than the gas car on energy alone.

Reading the results

Home charging is usually the cheapest per mile, and DC rapid charging the most expensive EV option. Whether public charging beats gasoline depends on local fuel prices and on the efficiency of both cars. Diesel cars often travel further per gallon, but diesel can cost more per gallon, so compare per mile rather than per gallon. The hybrid row is optional — leave it empty to hide it.

To turn per-mile costs into yearly savings including maintenance and purchase price, use the EV vs gas savings calculator. To convert between efficiency units such as mi/kWh and MPGe, use the EV efficiency calculator.

Limitations

Consumption varies with speed, temperature, terrain and driving style, so real per-mile costs differ from rated figures. Public charging prices may include session, idle or membership fees not reflected in a per-kWh rate. Fuel prices shown as presets are dated averages, not live prices.

Frequently asked questions

How do I calculate an electric car’s cost per mile?

Multiply the car’s consumption per mile (measured at the wall) by your electricity price. At 0.30 kWh per mile and 0.15 per kWh, each mile costs 0.045. If your consumption figure is measured from the battery, divide it by the charging efficiency first.

What electricity price makes an EV cost the same per mile as a gas car?

The break-even electricity price is the gas car’s fuel cost per mile divided by the EV’s kWh per mile. Charging below that price makes the EV cheaper to fuel per mile; above it, the gas car is cheaper on energy alone.

Can I see cost per kilometre?

Yes. Results always show both per mile and per kilometre, and switching units in the region settings converts every input and result.

Does cost per mile include maintenance or depreciation?

No. This page compares energy cost only. Use the EV vs gas savings calculator for maintenance and purchase price, or the total cost of ownership calculator for everything.

Related calculators

Last reviewed 2026-12-04. Read the methodology and data sources. Found an error? See corrections.

Region, currency & units

Choosing a region fills in its usual units and currency. You can override each one. Changing the currency only changes the symbol; it does not convert amounts.