Step by step
- Enter the trip distance in miles for your route.
- Input the first vehicle's fuel economy in MPG and the price per gallon.
- Tick Round trip and add any tolls, then note the total trip cost.
- Clear the efficiency and price fields, enter the second vehicle's MPG and fuel price, and compare the totals.
At a glance
| Vehicle type | Main cost factor | Best for |
|---|---|---|
| Gasoline | Fuel price per gallon and highway MPG | Lower upfront cost and short trips |
| Diesel | Higher highway MPG vs diesel price | Long highway drives and heavy loads |
| Hybrid | High city and combined MPG | Stop-and-go traffic and mixed driving |
| Electric (EV) | kWh per mile and charging rate | Home charging and predictable daily routes |
Related questions
How do I compare petrol vs diesel fuel costs?
Enter the same trip distance for both vehicles, then swap in each car's MPG and local fuel price per gallon. Comparing the two total trip costs shows which fuel is cheaper for that specific route.
Can I use this for hybrid vs gas cost?
Yes. Enter the hybrid's combined or highway MPG alongside the regular gas price, then run the same distance with the conventional gas car's MPG to see the savings.
How do I compare a gas car vs an EV?
Our calculator uses MPG and price per gallon, so it fits gas, diesel, and hybrid cars directly. For an EV, divide trip miles by miles per kWh and multiply by your electricity rate per kWh.
More questions: gas cost calculator
- How Do You Calculate Gas Cost for a Trip?
- Ethanol vs. Gas: Which Is Cheaper for Your Car?
- How to Calculate Trip Fuel Cost with Tolls
- How to Find Your Car’s Real MPG
- Gas cost calculator for your commute: daily, monthly and yearly
- How much does it cost to fill up your tank?
- Convert MPG, km/l, L/100 km and price per gallon to per liter
Open the full gas cost calculator →
Updated November 14, 2026.