
Rex says
Money math without the spreadsheet headache. Plug in your numbers and I'll show you exactly where the dollars land.
Try a scenario
Click to load — tweak from there.Inputs
Result
Annual savings with the EV
$1,241
Years to pay back the premium
6.4
Gas cost per mile
$0.120
Electricity cost per mile
$0.046
Break-even miles
107,692
Net saving over 10 years
$4,414

Psst — share this and help Rex grow
One click, a permanent link with your numbers baked in.
How to use this
- 1Enter ev price premium ($).
- 2Enter annual miles.
- 3Enter gas car mpg.
- 4Enter gas price per gallon ($).
- 5Enter ev efficiency (miles per kwh).
- 6Enter electricity price per kwh ($).
- 7Enter annual maintenance savings on ev ($).
- 8Read your annual savings with the ev on the right — it updates as you type.
- 9Hit Share to keep the scenario or send it to someone.
About this calculator
An EV usually costs less per mile in energy but more up front. The break-even depends almost entirely on your electricity rate and how much you charge at home versus on public DC fast chargers.
Worked example
Using the values the calculator loads with:
Inputs
- EV price premium: 8000 $
- Annual miles: 12000
- Gas car MPG: 30
- Gas price per gallon: 3.6 $
- EV efficiency (miles per kWh): 3.5
- Electricity price per kWh: 0.16 $
- Annual maintenance savings on EV: 350 $
Results
- Annual savings with the EV: $1,241.43
- Years to pay back the premium: 6.4
- Gas cost per mile: $0.12
- Electricity cost per mile: $0.046
- Break-even miles: 107,692.31
- Net saving over 10 years: $4,414.29
What each field means
Inputs
- EV price premium ($)
- The ev price premium used in the calculation, measured in $. Starts at 8000 $ so you have a working example on load.
- Annual miles
- The annual miles used in the calculation. Starts at 12000 so you have a working example on load.
- Gas car MPG
- The gas car mpg used in the calculation. Starts at 30 so you have a working example on load.
- Gas price per gallon ($)
- The gas price per gallon used in the calculation, measured in $. Starts at 3.6 $ so you have a working example on load.
- EV efficiency (miles per kWh)
- The ev efficiency (miles per kwh) used in the calculation. Starts at 3.5 so you have a working example on load.
- Electricity price per kWh ($)
- The electricity price per kwh used in the calculation, measured in $. Starts at 0.16 $ so you have a working example on load.
- Annual maintenance savings on EV ($)
- The annual maintenance savings on ev used in the calculation, measured in $. Starts at 350 $ so you have a working example on load.
Results
- Annual savings with the EV
- Returned as a money amount in US dollars and shown as the headline result. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Years to pay back the premium
- Returned as a decimal number. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Gas cost per mile
- Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Electricity cost per mile
- Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Break-even miles
- Returned as a whole number. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
- Net saving over 10 years
- Returned as a money amount in US dollars. It recalculates instantly whenever you change an input, so you can compare scenarios without reloading.
FAQ
How does the ev vs gas car cost calculator work?
An EV usually costs less per mile in energy but more up front. The break-even depends almost entirely on your electricity rate and how much you charge at home versus on public DC fast chargers. The underlying maths is: Break-even miles = Price premium ÷ (Gas cost per mile − Electricity cost per mile).
What do I need to enter?
7 values: ev price premium, annual miles, gas car mpg, gas price per gallon, ev efficiency (miles per kwh), electricity price per kwh, and annual maintenance savings on ev. Each field starts with a sensible default, so you can change one number at a time and watch the result move.
What does the annual savings with the ev result mean?
It is returned as a money amount in US dollars and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds.
Is this calculator free, and do I need an account?
Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser.
How accurate is the result?
It applies the standard formula exactly, so the arithmetic is precise. Results are estimates before tax, fees, and inflation unless an input explicitly covers them.
Who is this tool for?
It's built for anyone comparing money scenarios before committing — budgeting a payment, sanity-checking a quote, or seeing what a change in rate or term actually costs.
Accuracy and limitations
- Results are estimates before tax, fees, and inflation unless an input explicitly covers them.
- Rates are treated as fixed for the whole period — variable-rate products will drift from this projection.
- This is educational maths, not financial advice. Check anything contractual with the lender or your accountant.
Related tools
Cite this calculator
Writing about this topic? Grab a citation — every link helps keep these tools free.
RevenueLab. (2026). EV vs Gas Cost Calculator. Retrieved from https://www.revenuelab.fyi/toolbox/ev-vs-gas
<p>Source: <a href="https://www.revenuelab.fyi/toolbox/ev-vs-gas" target="_blank" rel="noopener">EV vs Gas Cost Calculator — RevenueLab</a> (2026).</p>
Source: [EV vs Gas Cost Calculator — RevenueLab](https://www.revenuelab.fyi/toolbox/ev-vs-gas) (2026).
