Everyday life

Gas Calculator

Find gallons and cost for a trip.

Parameters Live Compute
Calculated Output
Gallons needed (gal) 17.857
Trip cost ($) 62.5
Formula: gallons = distance ÷ mpg
Step-by-Step Breakdown
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 this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

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).

Frequently Asked Questions

Round trip?

Double the distance for there-and-back.

Advertisement