Fuel Cost Calculator
Estimate the fuel cost of any trip.
Results update as you type.
How it works
Knowing what a drive will cost before you turn the key makes budgeting road trips, commutes, and deliveries far easier, and this fuel cost calculator turns three familiar numbers into a clear dollar figure. You supply the distance you plan to travel, your vehicle's fuel economy in miles per gallon, and the current price of fuel, and it returns the total cost, the gallons you will burn, and the cost of every mile. Fuel is one of the largest running expenses of owning a car, yet drivers rarely translate a route into an actual price until they reach the pump. Seeing the number in advance changes decisions: whether to combine errands, take the more efficient vehicle, or reconsider a long weekend drive when prices spike. Fleet operators and rideshare drivers lean on the same math to price jobs and protect their margins. The calculation is grounded in a simple chain: distance divided by MPG gives gallons, gallons times price gives cost, and cost divided by distance gives a per-mile rate. Because each step is transparent, you can adjust any input and instantly watch the total respond, making it easy to test a cheaper fuel station, a more economical car, or a shorter route against your budget.
gallons = distance ÷ mpg · total cost = gallons × fuel price
The trip first converts distance into fuel used by dividing miles by your vehicle's miles-per-gallon, since MPG is exactly how far each gallon carries you. Multiplying those gallons by the price per gallon gives the total spend. Dividing that spend back by distance yields cost per mile, a rate that lets you compare journeys of any length on equal footing.
Source:U.S. EPA fuel economy
We review all our tools from time to time to ensure accuracy.
Worked example
How to use this calculator
- 1
Enter your values
Enter trip distance, fuel economy and fuel price.
- 2
Adjust the options
Fine-tune any options to match your situation.
- 3
Read your result
Total fuel cost updates instantly as you type — no button to press.
Frequently asked questions
What information do I need to estimate fuel cost?
You need three numbers: the trip distance in miles, your vehicle's fuel economy in miles per gallon, and the current price of fuel per gallon. From these the calculator works out how many gallons the journey consumes and multiplies by price to reach the total. Your MPG can come from the trip computer, the window sticker, or your own tracking of miles driven per tank.
How is cost per mile useful?
Cost per mile expresses fuel spending as a rate that is independent of how far you drive, so you can compare a short city hop against a long highway haul fairly. It is especially handy for rideshare drivers, couriers, and anyone reimbursing mileage, because multiplying the rate by any distance gives an instant fuel estimate without repeating the full calculation each time.
Does this include maintenance or depreciation?
No, this tool estimates fuel cost only. Total cost of ownership also includes insurance, maintenance, tyres, depreciation, and financing, which vary widely by vehicle and driver. Treat the fuel figure as one important line in a larger budget. If you need a full running cost, add your own estimates for those other categories on top of the fuel number shown here.
Why does real-world fuel cost sometimes differ from the estimate?
Actual MPG shifts with driving style, traffic, terrain, weather, cargo weight, and tyre pressure, so a highway rating rarely matches stop-and-go city driving. Fuel prices also change between stations and over time. For the most accurate estimate, use the MPG you personally observe over recent tanks rather than the manufacturer figure, and enter the price you expect to actually pay.
How can I lower my fuel cost per trip?
Improving fuel economy is the most direct lever: keep tyres properly inflated, remove excess weight, drive smoothly, and avoid long idling. Choosing a shorter or less congested route cuts distance, and filling up at cheaper stations lowers the price input. Combining several errands into one trip spreads warm-engine efficiency across more miles, reducing the cost of each individual journey overall.