Gas Cost Calculator

Calculate the cost of gasoline for a trip based on distance, fuel efficiency, and fuel price.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

How to Use the Gas Cost Calculator

This calculator estimates the total fuel cost for a trip based on distance, fuel efficiency, and fuel price. All inputs must be positive numbers.

  • Step 1: Enter the Distance in miles (e.g., 150).
  • Step 2: Enter your vehicle's Fuel Efficiency in miles per gallon (mpg) (e.g., 25).
  • Step 3: Enter the Fuel Price per gallon in dollars (e.g., 3.50).
  • Step 4: Click the Calculate button.

The result shows the total cost. Below it, you'll see the step-by-step calculation: gallons used = distance ÷ efficiency, then total cost = gallons × price per gallon. Invalid inputs (zero or negative) will be highlighted in red.

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

Divide the distance by your vehicle's fuel efficiency (mpg) to get gallons needed, then multiply by the fuel price per gallon.

It uses miles for distance, miles per gallon (mpg) for efficiency, and dollars per gallon for price. The result is in dollars.

Yes, just enter the fuel price in your currency per gallon. The result will be in that currency.

Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0