Plan with a clearer number
How to calculate fuel cost for a trip
You need three numbers: how far you’ll drive, your vehicle’s fuel economy and the price of fuel. This gas cost calculator works out the fuel needed and multiplies it by the price.
Fuel cost = distance ÷ MPG × price per gallon
For example, a 300-mile trip at 30 MPG needs 10 US gallons. At an illustrative price of $4 per gallon, the fuel cost is $40. A round trip costs $80 if the distance and fuel economy are the same in both directions.
Using kilometers and liters
Multiply distance in kilometers by consumption in L/100 km, divide by 100, then multiply by the price per liter. A 500-km trip at 7 L/100 km uses 35 liters.
Make your estimate more useful
Use fuel economy that reflects your actual driving. Traffic, speed, hills, weather and vehicle load can change consumption. If you know the price at your station, enter it instead of the national average.
A few useful answers
Fuel cost calculator FAQ
Is the estimated fuel price today’s price?
No. It is the latest weekly average available from EIA. We show the price date beside the field. Our daily data check does not turn weekly data into daily prices.
Can I calculate diesel costs?
Yes. Select Diesel to use the US weekly average on-highway diesel price, or enter your own diesel price. Enter the fuel economy of the vehicle you’ll drive.
Does this calculator use US or UK gallons?
US gallons and US MPG are the defaults. UK MPG and UK gallons are available as separate options. A US gallon is 3.785411784 liters; a UK gallon is 4.54609 liters.
Can I split the trip cost with friends?
Yes. Open “Round trip & split costs” and enter the number of people sharing. The result shows an equal share of the fuel cost for each person.
Does it calculate driving distance between cities?
For this version, enter the driving distance yourself. Use the road distance from your preferred map service, rather than the straight-line distance.