How this calculator works
Estimate gasoline needed and trip fuel cost from distance and efficiency.
The formula and calculation steps
Gallons needed = trip distance ÷ miles per gallon (US). Estimated fuel cost = gallons × dollars per US gallon.
Worked example
A 240-mile trip at 28 mpg uses about 8.57 US gallons. At $3.50 per gallon, that is about $30 of fuel.
What this result includes — and excludes
Vehicle efficiency and fuel price are fixed assumptions. Congestion, weather, idling, detours and actual pump prices can change the total.
How to use the estimate responsibly
For a round trip, include both directions in the trip distance.
Try changing one input at a time to see what affects the calculation. When you use a result for a purchase, a health decision, a financial choice or an official record, compare it with the relevant source documents and professional guidance where appropriate.
A travel estimate depends on fuel economy
For a U.S.-style miles-per-gallon estimate, divide the route distance by the assumed miles per gallon, then multiply by the entered per-gallon price. The result models fuel only, not the full cost of a trip.
Driving conditions, towing, weather and actual pump prices can cause meaningful differences. For a return trip, include both legs in the distance.
| Input or output | What it represents |
|---|---|
| Trip distance | Miles you expect to travel |
| Fuel economy | Miles driven per U.S. gallon |
| Pump price | Dollars charged per U.S. gallon |
Methods and references
Standard arithmetic, calendar conventions and defined measurement conversion factors. See our calculation methodology and important limitations.
Independent educational tool. No personalized financial, health, legal or tax advice is provided. Rounding is for display; real-world outcomes can differ.