Free tools

Trip fuel cost calculator

Enter how far you're going, your MPG and the price of fuel to see what the trip will cost, how many gallons you'll burn and the cost per mile. Works for gas or diesel, one way or round trip, and splits the cost if you're sharing the ride.

— for fuel

Miles driven
—
Gallons
—
Cost per mile
—
Each person pays
—

Starting prices are US averages from the EIA: regular $3.995 (week of Nov 9, 2026), diesel $5.937 (week of Nov 16, 2026). Change them to what you'll pay. Nothing you enter leaves your browser.

How it's worked out

Example: a 500-mile drive at 22 MPG uses about 22.7 gallons. At $4.00 a gallon that's about $90.91, or about 18¢ a mile. Round trip, double it.

Getting a closer number

Let FuelPilot pick the cheap stops

This calculator tells you what a trip costs at one price. FuelPilot checks prices along your actual route, picks the cheapest stations you can reach with your tank and real MPG, and gives you turn-by-turn directions to each one. Navigation is free; Autopilot fuel stops come with FuelPilot Pro.

Download on the App Store Get it on Google Play

Questions

How do I calculate the fuel cost of a road trip?

Divide the miles by your MPG to get gallons, then multiply by the price per gallon. A 500-mile trip at 22 MPG and $4.00 a gallon is about 22.7 gallons, or about $90.91.

How do I work out fuel cost per mile?

Divide the price per gallon by your MPG. At $4.00 a gallon and 22 MPG, fuel costs about 18¢ a mile. At $5.94 diesel and 10 MPG, it's about 59¢ a mile.

Is the calculator accurate for diesel?

Yes. The math is the same for any fuel. Pick Diesel to start from the national average diesel price, then change it to the price you expect to pay.

Does it work in Canada?

The calculator uses miles and US gallons. For litres and kilometres, convert first: 1 US gallon is 3.785 litres and 1 mile is 1.609 km.