Vehicles · Free calculator

EV vs Gas Total Cost Calculator

Compare the all-in cost per mile of an electric car against a petrol car at your own mileage and energy prices.

Short answer

EV vs Gas Total Cost Calculator

$0All-in cost per mile

At $0.19 per mile you lose $1,640 a month. You need $0.327 per mile just to break even.

How it's calculated: 12,000 miles a month, $3,200 of it fixed Adjust the inputs below to recalculate for your own numbers.

New here? Watch it work in 2 seconds — then tweak it for you.
12,000
$3,200

Insurance, registration, depreciation difference and finance

$0.06
$0.19
Try it like this

Tap a scenario to load realistic numbers, then tweak the sliders.

Formula used

Cost-per-mile formula

EV savings are real on fuel and maintenance but are frequently wiped out by depreciation and insurance, so the comparison only works at total cost per mile. The calculator applies this formula to your own numbers so the answer reflects your situation rather than a generic example.

Cost per mile = (fixed costs ÷ miles) + variable cost per mile; Margin = rate per mile − cost per mile
Model
Cost-per-mile operating model
Planning benchmark
EV energy costs typically run 4–7 cents a mile at home rates; petrol cars run 12–18 cents on fuel alone
Updated
2026
Use this elsewhere

Embed or cite it

Backlink-friendly embed

Embed this calculator

Free to embed on any site. Inputs preserved, link back to RevenueLab. Each format trades polish for SEO juice.

<script async src="https://www.revenuelab.fyi/embed.js"
  data-calculator="ev-vs-gas-total-cost-calculator"
  data-title="EV vs Gas Total Cost Calculator"
  data-query="miles=12000&fixedCost=3200&variableCost=0.06&ratePerMile=0.19"></script>

Recommended — auto-resizes to fit, no scrollbars, and drops a crawlable link in your page.

Cite this calculator

Writing about this topic? Grab a citation — every link helps keep these tools free.

APA
RevenueLab. (2026). EV vs Gas Total Cost Calculator. Retrieved from https://www.revenuelab.fyi/ev-vs-gas-total-cost-calculator
HTML
<p>Source: <a href="https://www.revenuelab.fyi/ev-vs-gas-total-cost-calculator" target="_blank" rel="noopener">EV vs Gas Total Cost Calculator — RevenueLab</a> (2026).</p>
Markdown
Source: [EV vs Gas Total Cost Calculator — RevenueLab](https://www.revenuelab.fyi/ev-vs-gas-total-cost-calculator) (2026).

Why the ev vs gas total cost calculator matters

EV savings are real on fuel and maintenance but are frequently wiped out by depreciation and insurance, so the comparison only works at total cost per mile. This page turns that decision into a handful of inputs you can defend in a budget review: volume, unit cost, rate of adoption, and time. The output is a planning baseline, not a promise — it tells you whether the idea deserves a vendor quote, a pilot, or a pass.

  • Biggest swing factor: annual mileage, which is what converts a per-mile saving into real money
  • Second-order factor: home charging price versus public rapid charging
  • Often ignored: insurance and depreciation, which often favour the petrol car

What actually changes the answer

annual mileage, which is what converts a per-mile saving into real money moves this number first, then home charging price versus public rapid charging. Run a conservative case and an upside case before you commit. If the maths only works in the upside case, treat it as a time-boxed test with a kill date rather than a line in next year's plan.

What to do with the result

If you cannot charge at home, rerun with public rapid charging prices — the saving usually shrinks to near zero.

FAQ

What does the ev vs gas total cost calculator work out?

It applies Cost per mile = (fixed costs ÷ miles) + variable cost per mile; Margin = rate per mile − cost per mile to the values you enter for annual miles driven, annual fixed costs ($), energy and maintenance cost per mile ($), cost per mile of the car you are replacing ($). EV savings are real on fuel and maintenance but are frequently wiped out by depreciation and insurance, so the comparison only works at total cost per mile.

How accurate is this ev vs gas total cost calculator?

A total-cost-per-mile model from your inputs. Battery replacement risk and resale uncertainty are not priced in. Replace the defaults with your own invoice, usage export, payroll data, statement, or vendor quote before making a commitment — the maths is exact, so the answer is only as good as the inputs you feed it.

Which input should I stress-test first?

annual mileage, which is what converts a per-mile saving into real money. Re-run with a pessimistic value for it; if the decision flips, that assumption is the thing you need real data on before signing anything. After that, check home charging price versus public rapid charging and insurance and depreciation, which often favour the petrol car.

Which scenario should I start from?

Start with the preset closest to your situation — low mileage, typical year, high mileage — then edit the sliders. Presets are realistic starting points, not benchmarks to match, and every change updates the result instantly.

What should I do after running the numbers?

If you cannot charge at home, rerun with public rapid charging prices — the saving usually shrinks to near zero. A useful planning benchmark to compare against: EV energy costs typically run 4–7 cents a mile at home rates; petrol cars run 12–18 cents on fuel alone.

Can I share or save this calculation?

Yes. Your inputs are written into the page URL, so copying the link shares the exact scenario you are looking at — the person who opens it sees the same numbers. You can also export the inputs and results to CSV or PDF from the result card and keep it with the rest of your workings.

How this calculator is built

Independently maintained

Written by Sam Doshi and the RevenueLab editorial team. We don't sell the data feeds this tool is built on.

Sourced from primary data

Benchmarks come from public AdSense / Stripe / IRS disclosures and reader-submitted data — never third-party "$X per view" claims. Full methodology.

Last editorial review

Reviewed on a rolling quarterly cycle. Dated reviews are published on the methodology record for each calculator.

Editorial standards

See our editorial policy and disclaimer. Results are estimates, not advice.

Helpful?