Fuel Cost Calculator

Estimate the total fuel cost for any road trip. Enter distance, MPG, and gas price to calculate gallons needed and total cost.

miles
MPG
$
Total Fuel Cost
Gallons Needed
Cost per 100 Miles

How to Use This Calculator

  1. Enter the Distance of your trip in miles.
  2. Enter your vehicle's Fuel Efficiency in MPG.
  3. Enter the current Gas Price per gallon.
  4. The calculator shows total fuel cost, gallons needed, and cost per 100 miles.

Formula

Gallons Needed = Distance / Fuel Efficiency (MPG)

Total Fuel Cost = Gallons Needed × Gas Price

Example

Trip of 500 miles, car gets 30 MPG, gas costs $3.50/gallon.

  • Gallons Needed = 500 / 30 = 16.67 gallons
  • Total Cost = 16.67 × $3.50 = $58.33

Frequently Asked Questions

  • Fuel Cost = (Distance / MPG) × Gas Price. For example, a 500-mile trip in a 30 MPG car at $3.50/gallon costs (500/30) × $3.50 = $58.33.
  • Check your car's owner manual, the EPA window sticker, or fueleconomy.gov. You can also calculate it by dividing miles driven by gallons used at your last fill-up.
  • Yes. Most vehicles are most efficient at 50–65 mph. Driving at 70–80 mph can reduce fuel efficiency by 15–25%, significantly increasing trip cost.
  • This calculator uses miles and gallons. For metric: Fuel Cost = (Distance in km / L/100km) × Price per Liter.

Related Calculators