Auto and travel calculators
How to work out fuel cost for a trip
The fuel for a trip is the distance divided by your car's miles per gallon, and the cost is that fuel times the price you pay per gallon. Enter the distance, your mpg and the gas price, and the calculator returns the fuel needed and the cost.
How the method works
Divide the distance you plan to drive by your miles per gallon to get gallons. Multiply the gallons by the price per gallon you enter.
The calculator uses the fuel-cost method, with the US gallon and mile from NIST Handbook 44.
A worked example
Inputs: a 412-mile round trip for a holiday weekend, a car averaging 29 mpg, and gas at $3.19 a gallon. The calculator returns the gallons and the cost.
What it assumes
Your mpg holds for the whole trip, and the price you enter holds at every stop.
Where it does not apply
Speed, load, weather, idling and air conditioning all change real mileage. Tolls and parking are separate costs.
Questions about fuel cost
Where do I find my mpg? The gas mileage guide works it out from two fill-ups: miles driven divided by gallons added.
Is the distance one way or round trip? Enter the total distance you plan to drive.
Can I split the cost among passengers? Divide the cost by the number of people sharing it.
Further reading
Keep exploring
- How to work out your gas mileageGas mileage is miles driven divided by gallons used. Fill the tank twice and divide. See the method, an example and its limits.
- How to work out the cost of charging an electric carCharging cost is the energy added, plus charging loss, times your electricity rate. See the method, an example and the inputs it needs.