EV vs Gas Cost Calculator
Compare fueling costs of an electric vs gas car.
Reviewed by the Calculation Machine team · Updated 24 October 2026 · How we check our maths
Your values
ⓘ Live results
- Annual EV savings
- $985.71
- Gas car annual fuel cost
- $1,500.00
- EV annual charging cost
- $514.29
- 10-year savings estimate
- $9,857.14
Quick answer
To compare EV and gas running costs, divide annual miles by each car's efficiency and multiply by the energy price. Gas: miles ÷ mpg × gas price. Electric: miles ÷ mi/kWh × electricity price. At 12,000 miles a year, a 28 mpg car at $3.50/gal costs $1,500 in gas; an EV at 3.5 mi/kWh and $0.15/kWh costs about $514, saving about $986 a year.
What the EV vs Gas Cost calculator does
This calculator compares the annual fuel bill of a gas car with the charging bill of an electric car driven the same distance, and projects the difference over ten years. Enter your own mileage, the gas car's mpg, the EV's efficiency in miles per kWh, and local gas and electricity prices.
It compares energy costs only. Purchase price, financing, insurance, depreciation, maintenance and incentives also matter, and can outweigh fuel savings. EVs skip oil changes and tend to wear brakes more slowly, but tires can wear faster and insurance can cost more. For those pieces, use the car depreciation calculator and lease vs buy calculator.
The electricity figure uses the EV's efficiency directly, without charging losses. Real charging loses roughly 10% between the wall and the battery, so add about 10% to the EV cost for a conservative comparison – or use the EV charging cost calculator, which builds that in.
The formula
Gas cost per year = miles ÷ mpg × gas price EV cost per year = miles ÷ (mi/kWh) × electricity price Annual savings = gas cost − EV cost 10-year savings = annual savings × 10
| Symbol | Meaning | Unit |
|---|---|---|
| miles | Miles driven per year | miles |
| mpg | Real-world fuel economy of the gas car | miles per gallon |
| mi/kWh | EV efficiency; 100 ÷ (kWh/100 mi) if your car shows that instead | miles per kWh |
| gas price, electricity price | Local prices, including taxes and delivery charges | $/gal, $/kWh |
This follows the cost-per-mile method used on the US Department of Energy and EPA's fueleconomy.gov comparisons. The 10-year figure assumes prices and mileage stay constant and is not discounted, so treat it as a rough order of magnitude rather than a forecast. EPA window stickers list EV efficiency in kWh/100 mi: 30 kWh/100 mi equals 3.33 mi/kWh.
Worked examples
Low-mileage driver with cheap home charging
Someone driving 8,000 miles a year, comparing a 30 mpg sedan at $3.20 gas with an efficient EV at 4 mi/kWh charged at $0.13/kWh.
Inputs
- Miles driven per year8000
- Gas car MPG30
- Gas price per gallon3.2
- EV efficiency4 mi/kWh
- Electricity price per kWh0.13
Result
- Annual EV savings$593.33
- Gas car annual fuel cost$853.33
- EV annual charging cost$260.00
- 10-year savings estimate$5,933.33
The EV saves about $593 a year on fuel. At low mileage, savings take longer to offset any higher purchase price, so the price gap between the two cars matters more.
High-mileage commuter in an SUV
A 20,000-mile-a-year driver comparing a 22 mpg SUV at $3.60 gas with an electric SUV at 3 mi/kWh and a $0.22/kWh rate.
Inputs
- Miles driven per year20000
- Gas car MPG22
- Gas price per gallon3.6
- EV efficiency3 mi/kWh
- Electricity price per kWh0.22
Result
- Annual EV savings$1,806.06
- Gas car annual fuel cost$3,272.73
- EV annual charging cost$1,466.67
- 10-year savings estimate$18,060.61
Annual savings are about $1,806, or roughly $18,000 over ten years at constant prices. High mileage and a thirsty gas vehicle are where switching saves the most.
Hybrid versus EV on expensive public charging
A driver with no home charger who would pay $0.40/kWh at public stations, comparing a 50 mpg hybrid at $3.50 gas.
Inputs
- Miles driven per year12000
- Gas car MPG50
- Gas price per gallon3.5
- EV efficiency3.5 mi/kWh
- Electricity price per kWh0.40
Result
- Annual EV savings-$531.43
- Gas car annual fuel cost$840.00
- EV annual charging cost$1,371.43
- 10-year savings estimate-$5,314.29
The result is negative: the EV costs about $531 more a year to fuel than the hybrid. Without access to home or workplace charging, an efficient hybrid can be the cheaper option to run.
Break-even prices: when gas and electric cost the same
An EV and a gas car cost the same per mile when gas price ÷ mpg = electricity price ÷ mi/kWh. Rearranged, the break-even electricity price is gas price × (mi/kWh ÷ mpg). The table uses $3.50 gas and an EV at 3.5 mi/kWh; if you pay less than the break-even rate for electricity, the EV is cheaper to fuel.
| Gas car mpg | Gas cost per mile | Break-even electricity price |
|---|---|---|
| 20 mpg (pickup, large SUV) | 17.5¢ | $0.61/kWh |
| 28 mpg (midsize sedan) | 12.5¢ | $0.44/kWh |
| 35 mpg (compact car) | 10.0¢ | $0.35/kWh |
| 50 mpg (hybrid) | 7.0¢ | $0.245/kWh |
Getting realistic inputs
- EV efficiency: use the EPA combined figure, then reduce it 15–30% for winter driving if you live somewhere cold. Highway driving at 75 mph also lowers efficiency.
- Electricity price: divide your total monthly electric bill by the kWh used to get an all-in rate. If you will charge partly at public fast chargers, use a blended rate – for example 80% home and 20% fast charging.
- Gas mpg: the EPA combined figure is a reasonable start; your own fill-up records are better.
- Solar owners: if home solar covers charging, your marginal cost may be close to the export rate you give up, not the retail rate. The solar panel calculator helps size a system.
Costs this comparison leaves out
A Level 2 home charger and its installation is a one-off cost that varies widely with your electrical panel. Purchase price differences, federal and state incentives (which change often), insurance, registration fees – some states charge EV owners an annual fee to replace gas tax – and resale value all affect total cost of ownership. Add them alongside the fuel savings before deciding.
How to use the EV vs Gas Cost Calculator
- 1Enter the miles you drive per year – check two service records or your odometer a year apart.
- 2Enter the gas car's real-world mpg and your local gas price per gallon.
- 3Enter the EV's efficiency in miles per kWh (100 ÷ the sticker's kWh/100 mi).
- 4Enter your all-in electricity price per kWh, then read annual and 10-year savings. A negative result means the gas car is cheaper to fuel.
Frequently asked questions
Is it cheaper to charge an EV than to buy gas?
For most drivers who charge at home, yes – typically half or less of the per-mile fuel cost of a comparable gas car. Relying on high-priced public fast charging can erase the advantage, especially against a hybrid.
How much does an EV save per year?
It depends on mileage and prices. At 12,000 miles, 28 mpg, $3.50 gas, 3.5 mi/kWh and $0.15/kWh, the fuel saving is about $986 a year.
How do I convert kWh/100 mi to miles per kWh?
Divide 100 by the kWh/100 mi figure. A car rated at 28 kWh/100 mi gets about 3.57 miles per kWh.
Does this include charging losses?
No. It uses the car's efficiency as entered. Wall-to-battery losses of about 10% would raise the EV cost in the default example from $514 to roughly $571 a year.
What electricity price makes an EV not worth it?
When your price per kWh exceeds gas price × (mi/kWh ÷ mpg). With $3.50 gas, a 3.5 mi/kWh EV and a 28 mpg car, that is about $0.44/kWh.
References
- fueleconomy.gov – Compare Side-by-Side and Electric Vehicle cost information — US Department of Energy and US Environmental Protection Agency
- Alternative Fuels Data Center — US Department of Energy
About this calculator
- Built and reviewed by the Calculation Machine team · How we build and test calculators
- Last reviewed: October 24, 2026
- Report an error