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.

How the Math Works

The Gas Calculator uses the formula gallons = distance ÷ mpg to determine fuel needs. Here, 'distance' is the total trip length in miles, and 'mpg' stands for miles per gallon, representing your vehicle's fuel efficiency. Dividing distance by mpg calculates how many gallons of gasoline are required for the journey. For example, a 300-mile trip in a car that gets 25 mpg would need 300 ÷ 25 = 12 gallons of fuel.

Practical Applications

To use the calculator, input the planned trip distance (in miles) and your vehicle's mpg rating. The tool then computes the gallons needed and multiplies this by the current gas price per gallon to show the total cost. This helps you quickly estimate fuel expenses before a road trip, compare costs between different routes, or evaluate the financial impact of driving less-efficient vehicles.

Day-to-Day Use

This calculation simplifies everyday travel planning, helping you budget for gas expenses and avoid surprises. Whether planning a weekend getaway, daily commute, or long-distance move, knowing fuel costs in advance allows you to choose cost-effective routes, compare vehicle efficiency, or adjust your travel plans to save money. It also aids in determining if renting a fuel-efficient car is more economical than using your own for specific trips.

Worked example

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

FAQ

Round trip?

Double the distance for there-and-back.