Fuel Cost Calculator

Trip fuel cost.

Inputs

mi
mpg
$/gal

Result

Gallons Needed10.71
Trip Cost$38.57

About the Fuel Cost Calculator

The Fuel Cost Calculator estimates the fuel cost of a trip or a year of driving from distance, vehicle MPG, and fuel price.

Calculation method

Cost = Distance ÷ MPG × Price per gallon.

Cost = (Miles / MPG) × Price

How to use this calculator

  1. Enter the total distance in miles.
  2. Enter your vehicle's MPG (combined city/highway).
  3. Enter the current fuel price per gallon.

Example

A 1,200-mile trip in a 28-MPG vehicle at $3.50/gallon uses about 43 gallons and costs $150 in fuel.

Frequently asked questions

Should I use city or highway MPG?

For a long highway trip use highway MPG; for daily commuting use combined or city MPG. The EPA sticker lists all three.

How much does driving speed affect fuel cost?

Fuel economy drops sharply above 55–60 mph. Every 5 mph above 60 costs roughly 7% in MPG.

Do EVs have equivalent fuel cost?

Yes — divide miles by MPGe and multiply by electricity price per kWh (÷ 33.7 kWh per gallon equivalent). EVs typically cost half as much per mile as gasoline.

Disclaimer: This calculator is for informational and educational purposes only and does not constitute financial, tax, or legal advice. Consult a qualified professional for decisions specific to your situation.