EV vs Gas Cost Calculator

Enter your driving and energy prices to compare EV vs gas cost.

How it is calculated

The tool compares the fuel cost of the two cars over one year. Gasoline: gas cost = (miles / mpg) × gas price, with miles driven per year, fuel economy in miles per gallon, and price per gallon. Electric: EV cost = (miles / 100) × kWh per 100 miles × price per kWh. Savings are gas cost − EV cost. Use the same miles for both cars. Fuel economy must be above zero. Negative savings, shown with a minus sign, mean the electric car costs more to run. Everything is in US units (miles, gallons) and the amounts are shown in dollars, so convert km/L or L/100 km first. The tool counts only fuel and electricity: it leaves out purchase price, insurance, maintenance, charger installation, public charging fees and battery wear.

Worked example

You drive 12,000 miles a year. The gasoline car does 30 mpg and fuel costs $3.50 per gallon. Gas cost: 12,000 / 30 = 400 gallons, and 400 × 3.50 = $1,400.00. The EV uses 30 kWh per 100 miles and electricity costs $0.15 per kWh. EV cost: 12,000 / 100 = 120, then 120 × 30 = 3,600 kWh, and 3,600 × 0.15 = $540.00. Yearly savings: 1,400 − 540 = $860.00 in favour of the EV. Divide the extra purchase price of the EV by this figure for a rough payback time.

Try this example →

Common mistakes

  • Entering the EV efficiency as miles per kWh. The field takes kWh per 100 miles, so a car that does 3.3 miles per kWh is about 30 kWh per 100 miles (100 / 3.3).
  • Using the price of public fast charging for all miles when most charging happens at home. Electricity price differs a lot between the two, so use a blended average cost per kWh.
  • Mixing units, such as km driven with mpg, or litres with a per-gallon price. All distance must be in miles and fuel in US gallons.
  • Using the manufacturer's rated efficiency for both cars while real driving, cold weather and charging losses raise the actual kWh used. Use real-world figures if you know them.
  • Reading the savings as total ownership savings. Insurance, maintenance and purchase price are not part of it.

About this calculator

Comparing fuel costs across an electric and a gasoline vehicle means normalizing both to cost per mile (or per year): for the EV, cost/mile = (kWh consumed per 100 miles ÷ 100) × electricity price per kWh; for the gas car, cost/mile = (gallons per 100 miles ÷ 100) × price per gallon, derived from its fuel economy in MPG. Multiplying each by annual mileage gives the yearly fuel spend for both, and the difference is the projected savings.

This calculator takes your annual driving distance, each vehicle's efficiency, and local electricity and gas prices, then compares the two yearly fuel costs. Car shoppers weighing an EV against a comparable gas model use it to find the yearly fuel savings — divide the extra EV purchase price by that figure to estimate the payback in years — while fleet managers use the same comparison across many vehicles to build the business case for electrifying a delivery or service fleet.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    This tool works in miles, gallons and kWh per 100 miles, so metric figures need converting first. Divide 235.2 by litres per 100 km to get US mpg: 8 L/100 km is about 29.4 mpg. Multiply kWh per 100 km by 1.609 for kWh per 100 miles: 18 becomes about 29. Which units does your car show, and which conversion would you like us to cover?

Popular calculators

All Calculators