EV vs Gas Calculator
An EV vs gas calculator compares what you spend on fuel for an electric car against a gas car. It takes your yearly miles, electricity rate, EV efficiency, gas price, and gas car MPG, and returns the yearly cost of each and how much the electric car saves. This compares fuel and energy only, not the price of the car. Everything runs in your browser, with no signup.
Updated for 2026Your driving and prices
Fuel savings over time
How the electric cars lower fuel cost adds up at your numbers. This counts fuel and energy only, not the purchase price, insurance, or maintenance.
| Years | Electric fuel | Gas fuel | Saved |
|---|
How the comparison is calculated
Each car gets a yearly fuel cost. The electric car uses your rate and efficiency, adjusted for charging loss. The gas car uses its MPG and the gas price:
Gas per year = Miles ÷ MPG × Gas price
where charging efficiency is one minus the loss. The saving is the gas cost minus the electric cost. Cost per mile is each yearly cost divided by the miles.
- Miles per year12,000
- Electric: 12,000 ÷ (3.5 × 0.90) × $0.17$648
- Gas: 12,000 ÷ 28 × $3.30$1,414
- EV cost per mile$0.054
- Gas cost per mile$0.118
- Yearly saving$766
- Saved over 5 years$3,830
Frequently asked questions
Is an electric car cheaper to run than gas?
How much can I save per year?
What is the cost per mile, EV versus gas?
Does this include the price of the car?
Does this calculator store my numbers?
More free energy calculators
One job per tool, each on its own page, all free and browser based.