EV vs Gas & Diesel Cost Calculator

Compare annual electricity, fuel, maintenance and purchase-price differences using metric or imperial consumption.

All prices, performance and usage are your assumptions. Location supplies no live tariff, incentive, vehicle or product data. Currency formats values without conversion.

Use the unit and measurement boundary selected below.
Used only for battery-side consumption.
Use the selected consumption unit.
Negative means the EV costs less initially.
Constant nominal annual costs; no discounting.

About this tool

Compare the running-cost arithmetic of an electric vehicle and a petrol or diesel alternative. Enter annual travel, measured consumption, charging losses, fuel prices, maintenance and the purchase-price difference. Metric and both US and imperial gallon conventions are explicit.

How the calculation works

Annual distance is converted to kilometres using 1 mile = 1.609344 km. EV consumption is converted to kWh for that distance; battery-side consumption is divided by charging efficiency, while purchased-energy consumption is used directly. Fuel consumption converts to litres using 1 US gallon = 3.785411784 L and 1 imperial gallon = 4.54609 L. Annual running cost adds energy and maintenance. Ownership difference = cumulative fuel running cost - EV running cost - EV purchase-price premium.

Worked example

At 15,000 km/year and 18 battery-side kWh/100 km with 90% charging efficiency, the EV buys 3,000 kWh. At 0.25/kWh that is 750, plus 400 maintenance = 1,150/year. A 7 L/100 km vehicle uses 1,050 L; at 1.60/L plus 700 maintenance, it costs 2,380/year. Running-cost saving is 1,230/year. A 5,000 EV premium has 4.07-year simple payback and a 10-year entered-cost advantage of 7,300.

Keep consumption units consistent

Litres per 100 kilometres, US miles per gallon and imperial miles per gallon describe different conventions. Choose the fuel-consumption unit independently from the unit used to quote fuel price. Exact conversion occurs before cost calculation, so changing a display currency never changes litres or kWh.

For electric vehicles, a dashboard battery-side figure may exclude charging losses. A measured electricity-meter figure normally describes purchased energy. Select that measurement boundary explicitly to avoid applying an efficiency correction twice.

Compare EV and gas cost per mile

Drive 12,000 miles a year. Use 30 battery-side kWh per 100 miles, 90% charging efficiency and $0.15 per purchased kWh for the EV. Use 30 miles per US gallon and $3.60 per gallon for the gas car.

The EV buys 4,000 kWh per year for $600, or $0.05 per mile. The gas car uses 400 gallons for $1,440, or $0.12 per mile. With $360 in annual EV maintenance and $600 for the gas car, the running costs shown are $0.08 and $0.17 per mile, a difference of $1,080 per year.

Load the example and select Calculate. Then enter your own energy prices and maintenance costs. The per-mile running-cost figures exclude the purchase-price difference, which appears in the ownership comparison.

Load the 12,000-mile example

Read the purchase-price comparison correctly

The fuel vehicle purchase price is the common baseline; only the EV price difference is added to the EV line. A positive fuel-minus-EV result means the EV has lower cumulative costs under these entered assumptions. Negative means the fuel vehicle is lower.

Simple premium payback is shown only for a positive EV premium and positive annual running-cost saving. It ignores discounting and changes in prices. If either condition fails, use the annual table rather than interpreting a missing payback as a universal conclusion.

Assumptions and limitations

One constant annual driving pattern, energy price and maintenance allowance are repeated for the chosen horizon. Fuel type is represented through your consumption and price inputs. The EV consumption boundary determines whether charging losses are added; purchased-energy figures must not receive losses twice. Currency selection does not convert exchange rates.

This is an entered-cost comparison, not a recommendation or a complete total-cost-of-ownership forecast. Insurance, financing, registration, depreciation, resale, incentives, tax changes, replacement batteries and infrastructure are excluded. Use a separate sensitivity scenario for each uncertain input. A lower purchase price can be offset by higher future running costs.

Sources and editorial responsibility

Maintained by Renvoro Pty Ltd. Sources inform the methods and assumptions shown here; outputs have the limitations described on this page.

Guide updated 2026-11-19. Calculation method and source dates remain separate.

Method reviewed 2026-10-21. Calculation standards · Report an issue