FuelAndFix Open cost toolsCost tools

Fuel Cost Calculator

Work out what a trip costs in gas from the distance, your MPG and the local gas price — per trip, per month and per year.

Your numbers

Reset

Result

Your result — Fill in the fields and press Calculate: the result appears here, with the formula below.

How it works

Cost per trip = distance ÷ MPG × gas price; per year = cost per trip × trips per month × 12

Distance divided by fuel economy gives the gallons the trip burns; gallons times the price per gallon gives the cost. A 360-mile trip in a car that averages 25 MPG uses 14.4 gallons, which at $3.25 a gallon is $46.80. Make that trip four times a month and fuel costs $187.20 a month or $2,246.40 a year. The cost per mile — gas price ÷ MPG — is 13 cents.

For a commute, enter the round-trip distance and the number of working days as trips per month. A 30-mile round trip at 28 MPG and $3.50 a gallon costs $3.75 a day; over 22 working days that is $82.50 a month and $990 a year.

Worked examples
TripMPGGas priceFuel cost
360 mi road trip 25 $3.25/gal $46.80
30 mi round-trip commute 28 $3.50/gal $3.75
Commute, 22 days a month 28 $3.50/gal $82.50 a month

Frequently asked questions

Which MPG should I enter?

Your own measured MPG is best — the gas mileage calculator works it out from two fill-ups. Otherwise use the EPA combined rating for mixed driving and the highway rating for a long highway trip.

Does it include the return trip?

Only if you enter it. For a round trip, enter the total distance there and back.

Is this the full cost of driving?

No. It counts fuel only. Depreciation, insurance, maintenance and tires are separate costs — the guide on cost per mile explains how they add up.

Related tools & guides