FUEL / CHARGING / COMMUTE · THE DRIVING COST CONSOLE

Vehicle costs TOOL

Gas vs EV Calculator

Compare energy costs for identical miles. Use the calculator below with your own numbers.

Interactive calculator

Gas vs EV Calculator

Compare energy costs for identical miles.

Estimated result—

Change the example inputs to your own values. Check the method and limitations below.

How to use this calculator

Enter Annual miles, Gas MPG, Gas per gallon ($), EV kWh/100 miles, Electricity per kWh ($). The result updates in your browser as you edit an input. The prefilled values are examples only.

How the estimate works

Calculate gasoline and EV electricity cost over the same miles. Ownership costs are excluded.

What can change the answer?

The comparison is limited to energy. Charging losses, purchase price, insurance, financing, maintenance, and resale value need separate treatment.

Before relying on the result

Use miles with miles per U.S. gallon, or kWh per 100 miles as labeled. Match the distance period and check prices against your fuel receipt, electricity tariff or charging bill. The result includes only the cost categories and assumptions described on this page.

Further reference

For source data or a more detailed method, see U.S. Department of Energy: vehicle cost comparison. The calculator does not automatically import data from this source.

Worked example with the default inputs

At 12,000 equal miles, 30 MPG and $3.50 per gallon, gasoline costs $1,400. At 30 kWh per 100 miles and $0.17 per kWh, EV energy costs $612 before losses. The energy difference is $788.

Interpret the result in a planning record

The gas-versus-EV calculator compares gasoline and electricity spending over identical annual miles. It is designed to hold distance constant while you change efficiency and rates. This comparison does not add charging losses or purchase-price differences automatically. Keep those limitations visible when comparing it with the more detailed charging tool.

Save the input values, units and result together. Change one uncertain input at a time so you can see which assumption moves the answer. A displayed decimal is arithmetic precision, rather than evidence that the measurements or rates are equally precise.

More tools