Fuel Cost Calculator
Estimate trip fuel cost, gallons needed, and cost per mile from distance, MPG, gas price, and one-way vs. round-trip planning.
Last updated: 2026-03-27
Fuel cost calculator
Enter your values
Estimate the gas budget for a drive before you leave.
Estimated Fuel Cost
--
Enter distance, MPG, gas price, and trip type to estimate the total fuel spend.
Calculation History(0)
Example calculations
Tap an example to prefill the calculator with sample values.
Weekend road trip
180 miles one way in a 28 MPG car
Useful for a single destination drive when you want a quick gas budget before booking the trip.
Result: A round-trip drive lands around the mid-$40s in fuel with cost-per-mile still easy to compare against other transport options.
Longer interstate run
420 miles in a 34 MPG sedan
A fuel-efficient highway drive where a modest MPG improvement still saves real money over the full distance.
Result: Longer routes make the per-mile math more useful than the raw tank refill intuition.
SUV family drive
240 miles at 21 MPG
Heavier vehicles and cargo change trip cost quickly, especially when the route is doubled for the return.
Result: A lower-MPG vehicle can push the same outing well past the budget of a lighter commuter car.
How the fuel cost estimate works
The calculator multiplies your one-way distance by one or two depending on whether the drive is one way or round trip. It then divides that mileage by your stated fuel economy to estimate gallons required.
Those gallons are multiplied by the price per gallon to produce the trip total. Cost per mile is simply the total fuel spend divided by the effective trip distance, which makes route or vehicle comparisons easier.
Fuel cost FAQs
Budget the drive with the numbers you control rather than guessing from a tank refill.
Does this calculator use one-way or round-trip distance?
You choose. The trip-type field either leaves the entered distance as a single leg or doubles it for a round-trip budget, which is usually the most practical way to plan road travel.
Should I use highway MPG or combined MPG?
Use the number that best matches the route you are actually driving. Highway MPG is better for long interstate runs, while combined MPG is safer for mixed stop-and-go travel.
Why show cost per mile too?
Cost per mile is useful when you are comparing a drive against other options like flying, train fares, rideshare costs, or reimbursable mileage.
Embed this calculator
Copy the code below to embed this calculator on your website or blog. It's free — no API key needed.
<iframe src="https://calc.mintloop.dev/embed/daily/fuel-cost-calculator" width="100%" height="600" frameborder="0" title="Fuel Cost Calculator" loading="lazy"> </iframe>
Optional: auto-resize script
<script>
var CALC_HUB_ORIGIN = 'https://calc.mintloop.dev';
window.addEventListener('message', function(e) {
if (e.origin !== CALC_HUB_ORIGIN) return;
if (!e.data || e.data.type !== 'calc-hub-resize') return;
var frames = document.querySelectorAll('iframe[src*="calc.mintloop.dev"]');
frames.forEach(function(f) {
if (f.contentWindow === e.source) {
f.style.height = String(Math.max(0, Number(e.data.height) || 0)) + 'px';
}
});
});
</script> Related tools
Pair fuel-only trip math with broader travel and operating-cost tools.
Get more daily cost calculators
Join the Calc Hub newsletter for new calculators covering travel, home costs, subscriptions, and everyday money decisions.
Join the Calc Hub newsletterWas this calculator helpful?
Your feedback helps us improve future calculators.