How to use this calculator
Replace the example values with your own measurements or specifications. Keep the units shown beside each label. Results update as you type; reset restores the example.
Enter the total distance, including the return leg if needed. This estimate excludes tolls, parking, wear, and lodging. Use your measured mileage for a more realistic estimate; weather, speed, and traffic can change consumption.
The formula
A worked example
U.S. example: 300 miles at 30 mpg uses 10 gallons and costs $35 at $3.50/gallon. Metric example: 500 km at 8 L/100 km uses 40 liters. At $1.60/liter, the trip costs $64, or $32 each for two people.
Common questions
Is the default gas price current?
No. It is an example, not a live fuel price. Replace it with the price at your station.
Should I use highway or combined MPG?
Use the value that best matches your trip, or measured mileage from similar driving.
Can I enter kilometers and liters?
Yes. Choose Metric, then enter distance in km, consumption in L/100 km, and price per liter. Use the fuel-economy converter if your vehicle figure is in MPG or km/L.
Does switching systems convert my inputs?
No. It changes which units describe your inputs. Replace the numbers with readings in the selected system.
Sources & calculation method
Related guidance: U.S. DOE / EPA: fuel economy and driving. Accessed September 9, 2026. The equation above describes this tool’s model; the reference provides practical context and does not endorse this site.
Prepared with AI assistance. Formula examples and input validation have automated checks. This page has not received an independent automotive professional review. Read our review standards.