Fuel cost calculator

Enter the distance, your car’s fuel economy and the local fuel price. Works in miles and gallons or kilometers and liters.

Your answer

Fuel cost$60.71
Fuel used17.86 US gallons
Distance driven500 mi
Cost per mile$0.12

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. Fuel = distance ÷ miles per gallon (or distance × L/100 km ÷ 100). Cost = fuel × price.

Method and assumptions

Fuel used is the distance divided by fuel economy. Real-world economy varies with speed, load, weather and terrain; highway driving is usually better than the combined rating.

Questions

How much does a 500-mile round trip cost at 28 mpg and $3.40 a gallon?

About $60.71 for 17.9 gallons.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and sends nothing to us.

Related calculators