Fuel Cost Calculator. Find Your Exact Gas Cost Instantly.

You are planning a road trip and need to know if your budget covers the fuel before you book the hotels. Or you want to understand exactly how much your daily commute costs you in gas every month. Either way, guessing is not good enough when gas prices shift weekly, and your MPG varies by route.

We built this fuel cost calculator so you get a precise dollar figure in under 15 seconds. Enter your distance, your vehicle MPG, and your local gas price. The calculator shows your total fuel cost, cost per mile, and monthly gas estimate all at once. No spreadsheet. No formula. No guessing.

Written by the FuelConsumptionCalc Research Team

Reviewed by William Taylor, Automotive Engineer, 12 years experience in vehicle fuel efficiency testing. Sources: EPA fuel economy data, AAA fuel price reports, EIA energy statistics. See our methodology page for how we verify every figure on this site.

Last Reviewed: July 2026

Free. No signup. Vehicle comparison built in CO2 + monthly cost Mobile friendly
Formula Fuel Cost = (Distance ÷ MPG or 100) × Price × Trip Type
One-way trip distance
mi
 
MPG or L/100km
MPG
 
Local price at pump
$/gal
 
For monthly / annual estimate
trips
 
Compare Same trip, two vehicles. See which one saves you more.
Same trip for both vehicles
mi
 
Same price for both
$/gal
 
MPG
MPG
trips

Quick Answer

Fuel Cost = Distance / MPG x Gas Price Per Gallon

Example: 300 miles / 30 MPG x $3.50 = $35.00 in fuel

Vehicle Type Typical MPGFuel Cost Per Mile
Hybird car50 MPG$0.07
Compact Car35 MPG$0.10
Mid-size Sedan28 MPG$0.13
Large SUV20 MPG$0.18
Pickup truck16 MPG$0.23

Based on $3.50 per gallon. Your cost per mile = Local gas price / Your MPG.

How to Use This Fuel Cost Calculator

Enter your trip distance in miles, your vehicle MPG, and the current gas price per gallon at your local station. Your total fuel cost and cost per mile appear instantly. Add your monthly miles to see your estimated monthlygas spend.

Enter Your Distance

Type in the miles you plan to drive. Use one-way distance for a single trip. Use the round-trip total if you want the full journey cost. The calculator works for any distance from a 2-mile commute to a 3,000-mile cross-country drive.

Add Your MPG

Enter your vehicle MPG. Not sure of your exact MPG? Check your dashboard display or use our MPG calculator to calculate it from your last fill-up. According to EPA fuel economy data the average combined MPG across all new passenger vehicles sold in the US was 26.4 MPG in 2024. Larger SUVs and trucks typically fall between 15 and 22 MPG.

Enter Your Local Gas Price

Type in the price per gallon at your nearest station. Gas prices vary by state, city, and season. Check your local pump or visit AAA Gas Prices for current prices near you before calculating.Using your actual local price gives you a more accurate result than anynational average figure.

Read Your Result

Your result shows four numbers. Total fuel cost for the trip. Cost permile. Estimated monthly gas spend if you drive that distance regularly. And your estimated CO2 output for the trip. Each number updates instantly as you adjust your inputs.

Fuel Cost Formula Explained

The fuel cost formula divides your trip distance by your MPG to find gallons needed, then multiplies by gas price. Total fuel cost equals distance divided by MPG, times gas price per gallon. Cost per mile equals gas price divided by MPG.

The Basic Formula

Gallons Needed = Distance in Miles / MPG

Total Fuel Cost = Gallons Needed x Gas Price Per Gallon
Cost Per Mile = Gas Price Per Gallon / MPG
Use our fuel unit converter if you need to switch between gallons and litres or miles and kilometers for international trips.

Worked Example with Real Numbers

A Ford F-150 at 20 MPG drives 350 miles. Gas price is $3.50 per gallon.

Gallons Needed = 350 / 20 = 17.5 gallons

Total Fuel Cost = 17.5 x $3.50 = $61.25

Cost Per Mile = $3.50 / 20 = $0.18 per mile

A Toyota Camry at 32 MPG makes the same 350-mile trip at $3.50 per gallon.

Gallons Needed = 350 / 32 = 10.94 gallons

Total Fuel Cost = 10.94 x $3.50 = $38.28

Cost Per Mile = $3.50 / 32 = $0.11 per mile

The Camry saves $22.97 on that single trip. Over a year of similar driving, that difference adds up to real money.

Cost Per Mile vs Cost Per Trip

Cost per mile tells you your fuel efficiency in dollar terms. A lower cost per mile means less fuel spend on every mile regardless of trip length. Cost per trip shows the actual dollar amount for one specific journey. Our fuel consumption calculator gives you your MPG result alongside both cost figures.

What is a Normal Fuel Cost Per Mile?

Fuel cost per mile depends on your vehicle MPG and your local gas price. You calculate it by dividing your gas price by your MPG. The table above shows typical ranges by vehicle type as a starting benchmark.

Average Cost Per Mile by Vehicle Type

Use your own MPG and local gas price in this formula for your exact number. Cost Per Mile = Local Gas Price / Your Vehicle MPG. Our cost per mile calculator applies this formula with full detail including maintenance and depreciation alongside fuel cost.

City vs Highway Cost Difference

Most vehicles get 15 to 30 percent better fuel economy on the highway compared to stop-and-go city driving. A vehicle rated at 28 MPG combined might achieve 24 MPG in city traffic and 34 MPG on the highway. That shifts your fuel cost per mile noticeably between urban and highway routes at the same gas price.

How Gas Price Affects Your Cost

Gas price multiplies directly into your fuel cost. Every $0.50 increase in gas price at 28 MPG adds around $0.02 per mile to your driving cost. On 15,000 annual miles, that single $0.50 price increase adds roughly $270 to your yearly fuel bill.

What Affects Your Fuel Cost?

Four factors determine your fuel cost. Your vehicle MPG has the biggest long-term impact. Gas price, trip distance, and driving style change on every journey.

Your Vehicle MPG

MPG is the most important factor in your fuel cost. A vehicle that gets 35 MPG instead of 20 MPG cuts your fuel cost nearly in half on every mile you drive. Use our MPG calculator to find your real-world MPG rather than relying on manufacturer estimates, which can run 10 to 20 percent higher than real-world results.

Current Gas Price

Gas price is a factor you cannot control but can respond to. Prices vary by state, city, and even by station within the same neighborhood. Filling up at a lower-priced station, even $0.20 per gallon cheaper, saves $3 on a 15-gallon fill.

Trip Distance

Distance directly multiplies your fuel cost. A trip twice as long costs twice as much in fuel at the same MPG and gas price. Use our trip fuel calculator to budget any route before you leave.

Diving Style and Speed

Aggressive acceleration and hard braking can reduce your effective MPG by 15 to 30 percent, which raises your fuel cost per mile by the same margin. At highway speeds, each 5 mph above 50 mph adds roughly $0.01 to $0.02 per mile to your fuel cost.

How to Reduce Your Fuel Consumption

Four practical changes cut your fuel cost without replacing your vehicle. Improving your MPG has the biggest impact. Finding cheaper gas helps on every fill-up. Route planning and trip combining eliminate unnecessary fuel spend.

Improve Your MPG First

Find Cheaper GAs Nearby

Gas prices vary by as much as $0.30 to $0.50 per gallon within the same city. Apps like GasBuddy and Waze show live prices at nearby stations. Highway gas stations consistently charge more than local stations.

Plan Your Route Efficiently

Google Maps and Waze both offer fuel-efficient routing that avoids heavy traffic. On a regular 30-minute commute, the fuel-efficient route can use 8 to 12 percent less fuel than the fastest route.

Combine Trips When Possible

Cold engine starts use more fuel per mile than any other type of driving. Combining four short errands into one trip instead of four separate cold starts cuts fuel cost for those miles by 20 to 30 percent.

.

Fuel Cost for Common Trips

Two common fuel cost scenarios are daily commutes and road trips. Replace the MPG and gas price below with your own values for an accurate ersonal result.

Daily Commute Example

US average round-trip commute: 32 miles per day. Vehicle: 28 MPG.

Daily fuel cost = (32 / 28) x gas price

At $3.50/gal = $4.00/day | $88/month | $1,056/year

At $4.00/gal = $4.57/day | $100/month | $1,206/year

Use our [monthly fuel cost calculator] (/monthly-fuel-cost/) for your exact commute cost.

Road Trip Example

New York to Los Angeles: 2,800 miles. Vehicle: 28 MPG.

Gallons needed = 2,800 / 28 = 100 gallons

At $3.50/gal = $350 one way | $700 round trip

At $4.00/gal = $400 one way | $800 round trip

Use our [trip fuel calculator] (/trip-fuel-calculator/) for any specific route.

Methodology

Fuel cost on this page is calculated using the standard formula: Total Fuel Cost = (Distance / MPG) x Fuel Price Per Gallon. Cost per mile is calculated as: Gas Price / MPG. MPG benchmarks referenced on this page come from EPA fuel economy testing data at fueleconomy.gov. Gas price references direct users to current AAA fuel price data at gasprices.aaa.com. Your actual fuel cost will vary based on your vehicle condition, driving style, local fuel prices, traffic, and weather.

Frequently Asked Questions

Disclaimer

This calculator provides estimates only. Actual fuel costs vary depending on driving conditions, local fuel prices, vehicle maintenance, traffic, and weather. See our full disclaimer page for more details.