Gas Cost Calculator

Calculate gasoline trip expenses for one-way or round-trip journeys based on driving distance, vehicle fuel economy (MPG), and current pump prices.

Calculation Results

Trip Gasoline Cost Formula

Gas Cost = (Trip Distance / Vehicle MPG) × Gas Price per Gallon (× 2 for Round-Trip)
  • Gallons Consumed = Total Miles Driven / Vehicle EPA Combined MPG rating.
  • Total Fuel Cost = Gallons Consumed × Current Price per Gallon.
  • Cost per Mile = Gas Price per Gallon / Vehicle MPG.

Step-by-Step Worked Example

Scenario: Calculating gas cost for a 450-mile round-trip at 30 MPG with gas at $3.65/gallon

Calculation Steps:

  1. Total Round-Trip Distance = 450 × 2 = 900 miles
  2. Total Gallons Required = 900 miles / 30 MPG = 30.0 gallons
  3. Total Gas Cost = 30.0 gallons × $3.65 = $109.50
  4. Fuel Cost per Mile = $109.50 / 900 = $0.122 / mile
Result: The round-trip requires 30 gallons of gasoline and costs $109.50.

How to Use This Calculator

  1. 1Enter your one-way driving distance in miles.
  2. 2Toggle the Round-Trip switch if returning by the same route.
  3. 3Input your vehicle’s fuel efficiency (MPG) and local fuel price per gallon.

Assumptions & Limitations

  • Assumes steady driving conditions matching your vehicle’s combined or highway MPG.

Frequently Asked Questions

How do I find my vehicle’s real MPG rating?

You can check your vehicle window sticker, look up your car on FuelEconomy.gov (official US EPA data), or use our Gas Mileage Calculator to measure your real-world odometer consumption.

Related Cost Calculators

Cars & VehiclesInteractive

Fuel Cost Calculator

Calculate fuel fill-up costs, cruising range per tank, and cost per 100 miles across multiple fuel grades.

Cars & VehiclesInteractive

Gas Mileage Calculator (MPG)

Calculate real-world miles per gallon (MPG) from odometer readings and gallons pumped at fill-up.

Cars & VehiclesInteractive

Road Trip Cost Calculator

Budget total road trip expenses: gasoline, tolls, parking, lodging, food, and passenger cost splits.