Formula and method
Include the user-supplied recurring cost difference before dividing the purchase premium by annual savings.
Annual net savings = annual energy savings − EV-minus-gas other cost
Simple payback = purchase premium / positive annual savings
Understanding your inputs
- Annual travel
- Enter mi/year. Accepted input range: 0.000001–1000000.
- Gas vehicle fuel economy
- Enter mpg (US). Accepted input range: 0.000001–200.
- Gasoline price
- Enter USD/US gal. Accepted input range: 0–20.
- EV battery consumption
- Enter kWh/100 mi. Accepted input range: 0.000001–200.
- EV charging efficiency
- Enter %. Accepted input range: 0.000001–100.
- Grid tariff
- Enter USD/kWh. Accepted input range: 0–10.
- EV purchase-price premium over gas vehicle
- Enter USD. Accepted input range: 0–1000000000.
- Annual EV other-cost minus gas other-cost
- Enter USD/year. Accepted input range: -100000–100000.
Worked example
Example inputs: Annual travel: 12000 mi/year; Gas vehicle fuel economy: 30 mpg (US); Gasoline price: 3.5 USD/US gal; EV battery consumption: 30 kWh/100 mi; EV charging efficiency: 90 %; Grid tariff: 0.2 USD/kWh; EV purchase-price premium over gas vehicle: 8000 USD; Annual EV other-cost minus gas other-cost: -200 USD/year. Annual operating savings including supplied difference: 800.00 USD. Independent companion modules use their separately labelled inputs.
Example inputs
- Annual travel
- 12000 mi/year
- Gas vehicle fuel economy
- 30 mpg (US)
- Gasoline price
- 3.5 USD/US gal
- EV battery consumption
- 30 kWh/100 mi
- EV charging efficiency
- 90 %
- Grid tariff
- 0.2 USD/kWh
- EV purchase-price premium over gas vehicle
- 8000 USD
- Annual EV other-cost minus gas other-cost
- -200 USD/year
Default result: Annual operating savings including supplied difference: 800.00 USD.
Assumptions
- Use consistent units and measurements from the same operating point.
- Displayed example quantities demonstrate arithmetic and are not prescriptions.
Limitations
- This is simple undiscounted payback, excluding resale and financing. If annual savings are nonpositive, no finite payback is available.
Common mistakes
- Entering an outside dimension when the field requires a pitch, internal or effective dimension.
- Treating supplied rates, coefficients, quotes or appraisals as a live database.
- This is simple undiscounted payback, excluding resale and financing. If annual savings are nonpositive, no finite payback is available.
Sources and methodology
Method reviewed October 1, 2026. Formulas are implemented independently; references explain the dimensions, ratings or application requirements.
- US EPA — automotive efficiency reporting ↗
MPGe compares energy with a gasoline-equivalent energy quantity; this implementation explicitly rounds that quantity to 33.7 kWh. Grid/battery energy boundaries, prices and loss fractions are declared inputs.
- NIST — SI conversion factors ↗
Declared mechanical horsepower, length, mass, volume and pressure unit conversions; dimensional calculations are derived independently.
Frequently asked questions
What does this gas vs electric car cost result represent?
Include the user-supplied recurring cost difference before dividing the purchase premium by annual savings.
Which application limits should I check?
This is simple undiscounted payback, excluding resale and financing. If annual savings are nonpositive, no finite payback is available.
Can I reuse the displayed example as a specification?
Use the example to understand the arithmetic. Replace all assumptions with measurements, applicable manufacturer specifications or current transaction quotes.