EV Charge Nexa
Home / Calculators / Gas vs. Electric Cost Calculator
Vehicle running-cost comparison

Gas vs. Electric Cost Calculator

Compare the energy cost of a gasoline vehicle with an electric vehicle. This is an energy-cost comparison, not a full ownership-cost analysis.

Enter your details

Use your own figures for a more relevant estimate. Example values are starting points, not promises.

Your estimate

Estimated result

Estimated annual EV energy savings$—
Gas vehicle annual fuel cost
$—
EV annual electricity cost
$—
Gas cost per mile
$—
EV cost per mile
$—

Change an input to update the estimate.

Compare gasoline and EV energy costs

Compare the annual gasoline bill for a conventional vehicle with the estimated electricity bill for an EV over the same annual mileage. The result focuses on fuel and energy expense—not purchase price or total ownership cost.

How to use the comparison

  1. Enter the gasoline vehicle's combined fuel economy in miles per gallon (MPG).
  2. Enter the gasoline price per gallon and the EV's energy use in kWh per 100 miles.
  3. Enter your electricity rate and the EV charging efficiency.
  4. Enter annual driving distance. Both vehicles are compared over this same mileage.

Formula used

Gas cost per mile = gasoline price ÷ MPG

EV grid kWh per 100 miles = EV kWh/100 mi ÷ charging efficiency

EV cost per mile = (EV grid kWh/100 mi × electricity rate) ÷ 100

Annual energy cost = cost per mile × annual miles

Estimated EV savings = gas annual cost − EV annual cost

Worked example

Assume a 30 MPG gasoline vehicle, $3.50 per gallon, an EV using 30 kWh/100 miles, electricity at $0.16/kWh, 90% charging efficiency and 12,000 miles per year. The gasoline vehicle's estimated annual fuel cost is $1,400. The EV's estimated annual electricity cost is about $640, producing an estimated energy-cost difference of about $760 in favor of the EV.

MeasureGas vehicleEV
Energy input30 MPG30 kWh/100 mi
Energy price$3.50/gallon$0.16/kWh
Annual miles12,00012,000
Estimated annual energy cost$1,400$640

Make the comparison fair

Use current local energy prices and realistic efficiency figures for the vehicles and routes being compared. Home charging may cost less than public fast charging, while time-of-use rates can shift the price depending on when you plug in. For gasoline, use a recent local pump price rather than a national average if you want a personal estimate.

What is not included?

This calculator does not include vehicle purchase price, financing, depreciation, insurance, registration, taxes, maintenance, tires, home charger installation, incentives or resale value. It should not be interpreted as a total cost-of-ownership comparison. For a broader analysis, use our EV Total Cost of Ownership Calculator.

Frequently asked questions

Does this compare the total cost of owning each vehicle?

No. It compares gasoline and electricity expense for the same annual distance. Ownership costs such as purchase price, insurance and depreciation are excluded.

Should I use EPA-rated or real-world efficiency?

For a personal budget, use real-world figures from similar driving where possible. EPA ratings are useful for standardized comparisons but may differ from your driving conditions.

Does EV charging efficiency matter?

Yes. The calculator divides vehicle energy use by the charging-efficiency fraction to estimate grid electricity required.

Can public charging change the result?

Yes. A higher public charging rate can increase EV energy cost. Use a blended rate if you regularly use several charging sources.

Sources and related calculators

See FuelEconomy.gov for official vehicle fuel-economy information, DOE AFDC alternative fuel price data for fuel-price context, and DOE EV consumer information for electric-vehicle basics.