Fuel Cost Calculator

Estimate road trip fuel cost from distance, efficiency, and price.

Fuel Cost Calculator

Formula

cost from distance, economy, and price fields

Applies the live tool inputs for trip fuel spend.

This fuel cost calculator estimates trip fuel spend from distance, efficiency, and fuel price fields on the page.

Fuel cost calculator

To measure vehicle efficiency first, use the gas mileage calculator. For distance checks, open the mileage calculator.

Fuel cost per mile: the number to keep

Fuel cost per mile = price per gallon ÷ MPG

At $3.40 a gallon and 31 MPG, fuel costs about 11.0¢ a mile. With that figure you can price any route by multiplying by distance. It is also what changes when you compare two cars or a rental. The $3.40 price is an example input, not a quoted market price.

Fuel cost calculator example: a 320-mile road trip, there and back

  1. Round-trip distance: 320 × 2 = 640 miles
  2. Fuel needed at 31 MPG: 640 ÷ 31 = 20.65 gallons
  3. Cost at $3.40/gal: 20.65 × 3.40 = $70.19
  4. Split four ways: $17.55 each

For a planning range, run the trip again with your MPG reduced by 10–15%. That covers highway speed, heavy luggage and air-conditioner use, all of which fueleconomy.gov lists as factors that reduce mileage. To check your average trip speed from distance and time, use the speed calculator.

Metric version: litres per 100 km

Cost = distance (km) × L/100 km ÷ 100 × price per litre

Example: 1,000 km at 6.5 L/100 km uses 65 L. At €1.80 per litre that is €117.00. To use the U.S.-unit fields instead, convert with MPG = 235.215 ÷ L/100 km. In this example, 6.5 L/100 km is about 36.2 MPG.

Where to find a realistic price per gallon

The U.S. Energy Information Administration publishes free weekly average retail prices for regular gasoline and diesel, nationally and by region. Use the regional figure for the area you will buy most of your fuel in. Prices on long routes can differ noticeably between regions.

Why the IRS mileage rate is so much higher than fuel cost

The IRS business standard mileage rate is 72.5¢ per mile for January 1–June 30, 2026 and 76¢ per mile from July 1, 2026. The Congressional Research Service explains that it covers all fixed and variable operating costs, including depreciation, insurance, tires and maintenance, not just fuel.

For the 640-mile trip, fuel was about $70, but the business rate gives 640 × $0.76 = $486.40 for miles driven after July 1. Use this calculator to budget fuel, and the IRS rate when you claim or reimburse business driving. Truck operators who need fuel plus payments, insurance and maintenance per mile can use the trucking cost per mile calculator.

Comparing two vehicles for the same trip

Fuel cost scales with the inverse of MPG, so small MPG gains matter most on thirsty vehicles. For the 640-mile trip at $3.40, a 22 MPG SUV burns 29.09 gallons ($98.91). A 31 MPG sedan burns 20.65 gallons ($70.19), and a 45 MPG hybrid burns 14.22 gallons ($48.36). Run the fuel cost calculator once per vehicle with the same price and distance so the comparison is like for like.

Electric and plug-in vehicles

For EVs, the same logic works per kWh: cost per mile = electricity price per kWh × kWh per mile. Public fast-charging is often priced well above home rates, so price the two separately.

Before a trip with the fuel cost calculator in hand, check that your tires are inflated to the pressure on the door label and remove roof boxes or heavy items you do not need. Both changes help real mileage and make the estimate more accurate.

If you share the cost with passengers, agree on the split before you leave. Keep receipts for each fill-up, then compare what you actually spent with the planned figure so your next estimate is closer.

For a long drive, add a small buffer to the budget for tolls, parking and food stops, since these are not part of fuel spend. A realistic total makes it easier to decide whether to drive, share the ride or take another way.

Last reviewed: October 2026

Related calculators

Frequently Asked Questions

Can I use km and L/100 km?

Convert distance to miles and efficiency to MPG first, or convert carefully. The live fields expect distance with an MPG style efficiency and price per gallon.

Does this include oil changes or tires?

No. It is fuel only.

What if MPG is zero?

The calculator needs a positive efficiency value. Fix the MPG field before trusting a result.

What is the default example cost?

300 miles at 28 MPG and $3.50 per gallon is about $37.50.

How do I budget a round trip?

Double the one way distance, or run the calculator twice and add the results.

How do passengers split the bill?

Divide the fuel cost by the number of people sharing. Keep tolls and food outside this fuel figure.

Should I use brochure MPG?

Prefer real fill up MPG. Brochure numbers are often optimistic for mixed driving.

Does this use live pump prices?

No. Enter the price you expect to pay for your route.

How do I calculate fuel cost per mile?

Divide the price per gallon by your MPG. At $3.40 and 31 MPG, fuel costs about 11 cents per mile.

How much gas will a 640-mile trip cost?

At 31 MPG and $3.40 a gallon, about $70.19 (20.65 gallons). Divide by the number of riders to split it.

What is the IRS mileage rate for 2026?

72.5 cents per business mile from January 1 to June 30, 2026, and 76 cents per mile from July 1, 2026.

How do I calculate fuel cost in litres per 100 km?

Multiply distance in km by L/100 km, divide by 100, then multiply by the price per litre. 1,000 km at 6.5 L/100 km and €1.80 costs €117.