Popular: Paycheck · Mortgage · Income tax · Retirement · Auto loan

Gas Cost Calculator

Estimate what your trip will use in fuel, then see the total cost and how much each person pays.

Your numbers

Nothing you enter is sent or stored.

Result

…

Verify before you act: review these results with a qualified professional before making any decision based on them.

What is a gas cost calculator?

A gas cost calculator estimates the fuel expense for a trip. Enter the distance, your vehicle’s fuel economy in miles per gallon (mpg), and the price you expect to pay per gallon. The calculator estimates gallons used and multiplies that amount by the gas price.

This fuel cost calculator focuses on fuel. It does not include tolls, parking, food, maintenance or other travel costs. Use it to plan a drive, compare route options or estimate how much to collect from riders. It can also work as a trip cost calculator when fuel is the cost you want to measure.

Why estimate trip fuel cost?

A fuel estimate helps you decide whether a drive fits your budget and how to split the expense with other riders. If you are choosing between routes, compare their distances and use the same fuel economy and gas price for each estimate.

Your result depends on the figures you enter. Traffic, driving habits, road conditions and changes in gas prices can affect what you actually spend. A gas mileage calculator can help you estimate fuel use, but your vehicle’s displayed or measured mpg may differ from its performance on a particular trip.

How to use this gas cost calculator

  1. Enter the trip distance in miles. Use the total distance you plan to drive, including the return trip if you want to estimate the full outing.
  2. Enter your vehicle’s fuel economy in mpg. Use a figure that reflects your driving as closely as you can.
  3. Enter the gas price per gallon you expect to pay. If prices may vary along your route, choose a reasonable estimate for your planning.
  4. Enter the number of people splitting the fuel cost. The calculator can show the overall fuel expense and help you work out an equal share.
  5. Review gallons used, fuel cost and cost per mile. Treat the estimate as a planning figure, not a guarantee of your final spending.

Gas cost calculator example

Worked example

For a trip of 280 miles, fuel economy of 28 mpg and gas at $3.15 per gallon, the calculator estimates 10 gallons and a fuel cost of $31.50. The displayed cost per mile is $0.11. With 1 person splitting the cost, there is no shared expense to divide. The calculation is gallons = miles ÷ mpg, then fuel cost = gallons × gas price.

How to read your fuel cost results

Gallons show the estimated amount of fuel needed for the distance at the mpg you entered. Fuel cost is that estimate multiplied by the price per gallon. Cost per mile gives you a quick way to compare fuel expense across trips, as long as you use consistent assumptions.

The total is not necessarily the amount you will pay at the pump. Your actual route, driving conditions and gas price may change. If riders split the expense equally, divide the fuel cost by the number of people sharing it. Agree on what the split covers; this estimate does not include other trip expenses.

How to lower your trip fuel cost

  1. 01

    Compare routes before leaving

    Check whether a shorter route changes the estimated fuel cost, while accounting for the roads and stops that make sense for your trip.

  2. 02

    Use a realistic mpg figure

    Base your estimate on your vehicle’s fuel economy in conditions like the ones you expect to encounter. A more accurate input makes the result more useful for budgeting.

  3. 03

    Reduce avoidable fuel use

    Combine errands, avoid unnecessary detours and drive smoothly where conditions allow. These choices can reduce fuel use, though the actual savings depend on the trip.

  4. 04

    Agree on the split in advance

    Tell riders whether you are sharing fuel only or other costs as well. Enter the number of people who have agreed to share so the estimate reflects the arrangement.

Common gas cost calculator mistakes

  • Entering only part of the trip

    If you want to budget for a return journey, include both directions in the distance rather than entering only the drive out.

  • Confusing mpg with gallons used

    Mpg describes how far a vehicle travels per gallon. It is not the number of gallons the trip will use; the calculator estimates gallons from distance divided by mpg.

  • Treating the estimate as the full trip budget

    Fuel cost is only one part of travel spending. Add expected tolls, parking and other expenses separately when planning your total.

  • Using a gas price that no longer fits

    Prices can change between planning and departure. Update the price per gallon when you have a better estimate for your route.

The trip fuel cost formula

Gallons = miles / mpg; cost = gallons x price.

Key terms

Fuel economy
How far a vehicle travels per unit of fuel. In this calculator, it is entered as miles per gallon, or mpg.
Gallons used
The estimated fuel needed for the trip, calculated by dividing distance in miles by fuel economy in mpg.
Cost per mile
Estimated fuel cost divided by trip distance. It helps compare fuel expense across trips.

Trip fuel cost questions

How do you calculate fuel cost for a trip?

Divide miles by mpg to estimate gallons used. Multiply gallons by the price per gallon to estimate fuel cost.

Does this calculator include tolls or parking?

No. It estimates fuel cost only. Add tolls, parking and other expenses separately to plan the full trip budget.

How do I split fuel cost among riders?

Divide the estimated fuel cost by the number of people sharing it, if everyone has agreed to an equal split.

Before you act on this result. Cordwell calculators and guides are educational estimates, not legal, tax, investment, lending or other professional advice. They rely on the numbers you enter and on simplified rules, and they can't see your full situation. Before you file, sign, borrow, invest, hire, change your withholding or form a business based on anything here, meet with a qualified professional who can review your specific facts and confirm the numbers. Rules change, and official agency guidance always controls.

How we write and check these pages.

Related calculators