How to calculate
Divide your distance by miles per gallon to estimate gallons. Multiply by the price per gallon.
Worked example
Use Trip distance (mi) 300 · Fuel economy (mpg US) 30 · Price per US gallon (USD) 4. The result is 40.00 USD.
Input and result notes
Enter numbers using the same units. Rounded results are marked with ≈.