Gas Calculator

Calculate fuel cost for a trip based on distance, fuel efficiency, and gas price.

mi
mpg
$/gal
Gallons Needed
Fuel Cost
Cost Per Mile
Recent Calculations

What Is Gas?

A gas calculator estimates fuel costs for any trip based on distance, your vehicle's MPG, and current gas prices.

Formula

Gallons = Distance / MPG, Cost = Gallons × Price

Example

A 300-mile trip at 28 MPG with gas at $3.50/gal costs $37.50 and uses 10.7 gallons.

Frequently Asked Questions

How do I find my car's MPG?

Check your car's window sticker, owner's manual, or fueleconomy.gov. Track actual MPG by dividing miles driven by gallons filled.

Does highway vs city driving matter?

Yes. Highway MPG is typically 20-30% higher than city. Use the appropriate rating for your trip type.

Related Topics