Fuel Cost Calculator — Plan Any Trip in Seconds

Enter distance, MPG, and gas price to see your exact fuel cost. Works for any road trip or daily commute. Free instant results.

🧮

Enter your values and click Calculate

Knowing the fuel cost of a trip before you leave helps you budget accurately, compare route options, decide whether to drive or fly, and fairly split costs with passengers. This calculator takes the three key variables — distance, fuel efficiency (MPG), and current gas price — and returns the total fuel cost, the per-person share for carpoolers, the exact gallons needed, and a cost-per-mile figure you can use to compare against alternative transport. It covers everything from a grocery run to a cross-country road trip. Enter the number of passengers to automatically calculate the cost split, making it ideal for arranging travel expenses with friends or colleagues.

How It Works

Three sequential formulas produce all outputs. Gallons needed = Distance ÷ MPG: this tells you how much fuel the trip consumes at your vehicle's efficiency. Total fuel cost = Gallons × Price per gallon: the dollar cost of that fuel at current pump prices. Per-person cost = Total cost ÷ Passengers: evenly splits the total among all occupants. Cost per mile = Total cost ÷ Distance: a normalised figure useful for comparing against other transport modes or a more fuel-efficient vehicle. All dollar values are rounded to the nearest cent; gallons are rounded to two decimal places.

Examples

Weekend road trip
250 miles at 30 MPG, $3.50/gallon, 2 passengers.
Result: Total $29.17 — $14.58 per person. 8.33 gallons used.
Daily commute
40 miles round trip at 28 MPG, $3.80/gallon, solo driver.
Result: Total $5.43 per day. $0.136 per mile.
Cross-country drive
2,800 miles at 25 MPG, $3.60/gallon, 4 passengers.
Result: Total $403.20 — $100.80 per person. 112 gallons needed.

Frequently Asked Questions

How do I find my MPG?
Fill your tank, drive normally, then refill and note the gallons used and miles driven. MPG = miles driven ÷ gallons used. Your car manual, the fuel economy sticker, or the fueleconomy.gov database also lists EPA estimates for your specific model year.
Does this account for city vs. highway driving?
No — it uses a single MPG figure for the whole trip. For mixed driving, use your vehicle's combined EPA rating. For long highway trips, use the highway MPG, which is typically 20–30% higher than the city figure.
How can I reduce my fuel cost?
Use the cost-per-mile output to compare your current vehicle against a more efficient alternative. Even a 5 MPG improvement on a 15,000-mile/year driver saves over $100 per year at average fuel prices. Maintaining proper tyre pressure and avoiding rapid acceleration each improve fuel economy by a few percent.
What formula does the fuel cost calculator use?
The formula is: (Distance ÷ MPG) × Price per gallon = Fuel cost. For example, a 300-mile trip in a car getting 30 MPG at $3.50 per gallon costs (300 ÷ 30) × $3.50 = $35. The calculator also divides the total cost by the number of passengers to show each person's share, making it easy to plan and split road trip expenses between carpoolers.
How much does fuel efficiency affect trip cost?
A vehicle getting 25 MPG costs 40% more in fuel than one getting 35 MPG over the same distance. Checking your actual real-world MPG — rather than relying on the manufacturer's estimate — gives more accurate trip cost projections. You can measure your actual MPG by filling your tank, driving normally, then calculating miles driven divided by gallons used at the next fill-up. City MPG is typically 20–30% lower than highway MPG, so for mixed routes use the combined EPA rating.

Related Calculators