EV vs Gas Cost per Mile Calculator

EV vs Gas Cost per Mile Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

Savings/mi=(Gas Price ($/gal)MPG)−(EV Eff (kWh/mi)×Electricity ($/kWh))Annual Savings=Savings/mi×Annual Miles\begin{gathered} \text{Savings/mi} = \left(\frac{\text{Gas Price (\$/gal)}}{\text{MPG}}\right) - \left(\text{EV Eff (kWh/mi)} \times \text{Electricity (\$/kWh)}\right) \\[1.5em] \text{Annual Savings} = \text{Savings/mi} \times \text{Annual Miles} \end{gathered}
Usage stats

Advertisement

Results

EV savings per mile
$0.0717
cheaper to drive electric per mile
EV cost per mile $0.045
Gas cost per mile $0.1167
Estimated annual savings $860

Report an error on this page

What this calculator does

The EV vs Gas Cost per Mile Calculator compares how much it costs to drive an electric vehicle versus a gasoline car for every mile you travel. It uses your local electricity and fuel prices along with the efficiency of each vehicle, then projects annual savings based on the miles you drive each year. Prices should be entered in your own currency and units (the examples use US dollars, kWh, and miles per gallon).

How to use it

Enter your EV efficiency in kilowatt-hours per mile (typical EVs use about 0.25–0.35 kWh/mi), your electricity price in dollars per kWh, the price of gasoline per gallon, and your gas car fuel economy in MPG. Optionally enter your annual mileage to estimate yearly savings. The calculator returns the cost per mile for each, the per-mile savings, and the projected annual difference.

The formula explained

Electric cost per mile is simply the energy consumed per mile multiplied by the electricity rate: \(\text{EV \$/mi} = \text{kWh/mi} \times \text{\$/kWh}\). Gasoline cost per mile is the price of a gallon divided by how many miles that gallon delivers: \(\text{Gas \$/mi} = (\text{\$/gal}) \div \text{MPG}\). Subtracting the EV cost from the gas cost gives the per-mile savings, and multiplying by annual miles gives the yearly savings.

$$\begin{gathered} \text{Savings/mi} = \left(\frac{\text{Gas Price (\$/gal)}}{\text{MPG}}\right) - \left(\text{EV Eff (kWh/mi)} \times \text{Electricity (\$/kWh)}\right) \\[1.5em] \text{Annual Savings} = \text{Savings/mi} \times \text{Annual Miles} \end{gathered}$$
Advertisement
Side-by-side comparison of EV and gas cost-per-mile formulas with two car icons
The two formulas: EV cost per mile from kWh and electricity price, gas cost per mile from price per gallon divided by MPG.

Worked example

Suppose your EV uses 0.30 kWh/mi at $0.15/kWh: EV cost = \(0.30 \times 0.15 = \$0.045/\text{mi}\). A gas car at $3.50/gal and 30 MPG costs \(3.50 \div 30 = \$0.1167/\text{mi}\). The EV saves about $0.0717 per mile. Over 12,000 miles that is roughly $860 saved per year.

Bar chart comparing cost per mile of EV versus gas car
A worked example visualized: the EV bar is much shorter than the gas bar, showing the per-mile savings.

Fuel prices this week: United States

Average retail prices of regular gasoline and diesel across the United States, week of 2026-11-09, taxes included, as published by the U.S. Energy Information Administration. Use them as the fuel price in the calculator above.

Regular gasoline (2026-11-09)
$3.995/gal +30.7% since 2025-11-10
Diesel (2026-11-09)
$6.127/gal +59.7% since 2025-11-10
Regular gasoline ($/gal)

World crude oil prices, October 2026

World market prices of crude oil in U.S. dollars per barrel, monthly averages from the World Bank. These are commodity prices, not pump prices: the price at the pump also includes refining, distribution and taxes, and it differs from country to country.

Crude oil, average of Brent, Dubai and WTI (2026-10)
$108.50/bbl +72.2% since 2025-10
Brent (2026-10)
$125.00/bbl +93.2% since 2025-10
WTI (2026-10)
$97.70/bbl +62.3% since 2025-10
Dubai (2026-10)
$102.70/bbl +59.7% since 2025-10
Crude oil, average of Brent, Dubai and WTI (2026-10) ($/bbl)

Pump prices in the EU, week of 2026-11-09

Pump prices of petrol (Euro-super 95) and diesel by EU country, week of 2026-11-09, taxes included. Use them as the fuel price in the calculator above.

EU average (petrol)
1.877 €/L
  1. Denmark2.391
  2. Netherlands2.196
  3. Finland2.144
  4. France2.088
  5. Germany2.067
  6. Greece2.042
  7. Italy1.995
  8. Ireland1.958
  9. Portugal1.922
  10. Latvia1.846
  11. Romania1.844
  12. Belgium1.844
  13. Lithuania1.843
  14. Estonia1.805
  15. Croatia1.749
  16. Spain1.730
  17. Cyprus1.699
  18. Slovakia1.691
  19. Hungary1.673
  20. Austria1.670
  21. Czechia1.653
  22. Slovenia1.634
  23. Luxembourg1.627
  24. Bulgaria1.582
  25. Sweden1.437
  26. Poland1.384
  27. Malta1.340
Petrol 95 (€/L)
CountryPetrol 95 (€/L)Diesel (€/L)
Denmark2.3912.435
Netherlands2.1962.361
Finland2.1442.485
France2.0882.178
Germany2.0672.253
Greece2.0422.099
Italy1.9952.218
Ireland1.9582.119
Portugal1.9222.135
Latvia1.8462.083
Romania1.8442.033
Belgium1.8442.357
Lithuania1.8432.225
Estonia1.8052.084
Croatia1.7492.025
Spain1.7301.898
Cyprus1.6992.000
Slovakia1.6911.965
Hungary1.6731.985
Austria1.6702.087
Czechia1.6531.899
Slovenia1.6341.950
Luxembourg1.6271.987
Bulgaria1.5821.896
Sweden1.4371.954
Poland1.3841.753
Malta1.3401.210

Latest figure: 2026-11-09 Data last updated 2026-11-11 · current

Source: U.S. Energy Information Administration (EIA), Gasoline and Diesel Fuel Update Public domain (U.S. government work); World Bank, Commodity Markets (Pink Sheet), modified CC BY 4.0; © European Union, Weekly Oil Bulletin (European Commission) CC BY 4.0

Prices per litre are converted by CalculatorLib from the bulletin's prices per 1,000 litres. Changes over one year are computed by CalculatorLib.

Source details and methodology

Fuel prices in United States: all figures and history

FAQ

Where do I find my kWh per mile? Most EVs display lifetime efficiency on the dashboard; otherwise divide miles driven by kWh consumed.

Does this include maintenance or charging losses? No, it covers energy cost only. Charging losses (5–15%) can be approximated by slightly increasing your kWh/mi figure.

Can I use it for any country? Yes—just enter prices in your local currency and matching units. The math is the same everywhere.

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators