Gas Calculator

Find gallons and cost for a trip.

Gallons needed (gal) 17.857
Trip cost ($) 62.5

Formula: gallons = distance ÷ mpg

Step-by-step with your numbers:
1. Values used:
2. Distance = 500
3. Fuel economy = 28 mpg
4. Fuel price = 3.5 $/gal
5.
6. Gallons needed = Distance / Fuel economy = 500 / 28 = 17.857gal
7. Trip cost = 62.5$
Did we solve your problem today?

Estimate gasoline needed and cost for a trip.

The math behind it

gallons = distance ÷ fuel economy; cost = gallons × price.

Worked example

500 mi at 28 mpg → ~17.9 gal ($62.50).

FAQ

Round trip?

Double the distance for there-and-back.