EV Charging Cost vs Gas Cost Calculator

Compare EV charging cost with gas cost for the same miles using local electricity and fuel prices.

Save

Inputs

mi
mi/kWh
$/kWh
MPG
$/gal

Your values stay on this device.

Results

Lower Cost Option
EV Charging Cost$48.19
Gas Cost$148.40
Estimated Savings$100.21
EV Cost per Mile$0.05
Gas Cost per Mile$0.15

Report

Export and share

Document

Copy and share

Assumptions

  • All prices and vehicle assumptions are user-entered.
  • Charging loss is modeled as a simple percentage.
  • Calculations run locally in your browser and are not stored by Calwarden.

Sensitivity preview

Miles Driven -10%: Lower Cost Option EV charging is lower

Miles Driven Current: Lower Cost Option EV charging is lower

Miles Driven +10%: Lower Cost Option EV charging is lower

Formula: EV cost = miles / mi per kWh / (1 - loss) * electricity price. Gas cost = miles / MPG * gas price.

Related Tools

View All

About this EV Charging Cost vs Gas Cost Calculator

This calculator compares EV electricity cost with gas cost over the same number of miles, using your own efficiency and price assumptions.

Who this calculator is for

  • EV shoppers comparing real-world driving costs.
  • Drivers deciding whether charging, gasoline, or hybrid fuel use fits their budget.
  • Households testing commute, trip, and ownership assumptions before changing vehicles.

When to use it

  • Compare two or more vehicle energy-cost scenarios with the same mileage.
  • Replace national averages with local utility, charger, and fuel prices.
  • Run conservative and optimistic assumptions before making a car-shopping decision.

How to use this calculator

  1. Enter the miles, efficiency, and price assumptions that match your scenario.
  2. Use local electricity, public charging, and gas prices where possible.
  3. Review the lower-cost option, then adjust one assumption at a time to compare cases.

Key assumptions

  • All prices and vehicle assumptions are user-entered.
  • Charging loss is modeled as a simple percentage.
  • Calculations run locally in your browser and are not stored by Calwarden.
  • Results are planning estimates, not financial, tax, insurance, legal, or mechanical advice.

Dataset sources

EIA retail electricity price data
Effective date
2024
Last reviewed
2026-05-05

State and national average retail rates are planning references, not a utility tariff or time-of-use schedule.

Public U.S. Energy Information Administration data.

EV efficiency planning presets
Effective date
2026-05-05
Last reviewed
2026-05-05

Actual EV efficiency varies with speed, temperature, tires, terrain, battery age, and driving behavior.

Curated planning presets derived from public vehicle-efficiency references and rounded for calculator use.

EIA weekly retail gasoline prices
Effective date
2026-05-04
Last reviewed
2026-05-06

Fuel prices are weekly regional averages for planning only. Pump prices, fuel grade, taxes, fees, and station pricing can differ materially.

Public U.S. Energy Information Administration weekly retail gasoline price data.

FuelEconomy.gov vehicle MPG estimates
Effective date
2026
Last reviewed
2026-05-06

EPA MPG estimates are planning references. Real-world fuel economy varies with speed, weather, load, maintenance, route, and driving behavior.

Public EPA/DOE FuelEconomy.gov vehicle fuel-economy estimates.

Accuracy and testing

Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.

View accuracy page

How this calculator works

EV wall kWh = miles / miles per kWh / (1 - charging loss). EV cost = wall kWh x electricity price. Gas cost = miles / MPG x gas price.
EV cost = miles / mi per kWh / (1 - loss) * electricity price. Gas cost = miles / MPG * gas price.

Inputs explained

Mileage

Use the same miles for each option so the comparison stays apples-to-apples.

Vehicle efficiency

Enter EV miles per kWh and gas or hybrid MPG from EPA estimates or your own driving history.

Energy prices

Use your home utility rate, public charger price, or local fuel price.

Charging loss

EV energy from the wall is higher than battery energy because charging is not perfectly efficient.

Understanding your results

The primary result names the lower-cost option for the assumptions entered. Supporting outputs show each scenario cost and the estimated difference.

Example scenarios

Example comparison

Driving 1,000 miles at 3.5 mi/kWh and $0.16/kWh costs far less than a 28 MPG gas vehicle at $3.80/gal under the default assumptions.

Key Features

  • Side-by-side cost comparison
  • User-entered local rates
  • Private client-side calculation

Tips & Best Practices

  • Use off-peak electricity rates for home charging if that is when you charge most often.
  • Use actual trip or commute efficiency when your vehicle reports it.
  • Run high-price and low-price cases for gas and public charging before relying on one scenario.

Frequently Asked Questions

Does this include maintenance or insurance?
No. This page compares energy and fuel cost only. Use the EV vs gas car cost calculator for broader annual ownership costs.
Should I use home charging or public charging rates?
Use the rate that matches your scenario. If you split charging between home and public chargers, run both cases or use a blended rate.
Why include charging loss?
The charger draws more energy from the wall than the battery stores, so wall kWh is a better basis for electricity cost.