Fuel Cost Calculator

A fuel cost calculator estimates how much you will spend on gas for any trip based on your distance, vehicle fuel efficiency, and current gas price. Enter your numbers in the panel to get an instant result using the standard fuel cost formula — no sign-up required.

What Is a Fuel Cost Calculator?

A fuel cost calculator is a tool that tells you exactly how much money you will spend on gasoline or diesel for a trip. It is used by road trip planners, daily commuters, fleet managers, and anyone comparing the cost of driving to flying or taking transit. By entering your trip distance, vehicle fuel efficiency (in MPG or liters per 100 km), and the current gas price, you get an instant dollar figure for your fuel expense.

The calculator works for one-way trips and round trips. It supports both US measurements (miles and gallons) and metric units (kilometers and liters per 100 km), making it useful for international travel planning as well. If you need to know how far your vehicle will go on a tank of gas, pair this tool with our miles per gallon calculator to find your real-world MPG first.

Featured hero image with "Fuel Cost Calculator" text over a sleek panel showing distance, fuel price, vehicle type dropdown, and a Generate button, set against a car-at-fuel-station scene for fuel cost calculator and fuel expense estimator visuals

How the Fuel Cost Calculator Works

Entering Trip Distance

Enter the total one-way distance of your trip in miles or kilometers. For a round trip, toggle the Round Trip option and the calculator will automatically double the distance. If you are unsure of the distance, use our driving distance calculator or distance between cities calculator to find the exact mileage between your start and destination.

Entering Fuel Efficiency

Fuel efficiency can be entered in MPG (miles per gallon) for US drivers or L/100km (liters per 100 kilometers) for drivers using metric units. You can find your vehicle's official fuel efficiency on the EPA window sticker, in the owner's manual, or on the fueleconomy.gov database. For real-world efficiency that accounts for your actual driving habits, use our MPG calculator to track your fill-ups.

Entering Fuel Price

Enter the current price of fuel per gallon (in the US) or per liter (for metric users). Gas prices vary significantly by region, season, and fuel grade. The AAA Gas Prices website provides daily national and state-level average prices. For planning purposes, you can enter a conservative higher estimate to budget for potential price increases along your route.

Understanding the Results

The calculator returns three key figures: total fuel cost in dollars, total gallons or liters needed, and cost per mile or per kilometer. The cost per mile figure is particularly useful for comparing driving to other transport options, or for reimbursement purposes. The IRS standard mileage rate for 2024 is 67 cents per mile, which includes fuel, depreciation, and maintenance — the fuel portion alone is typically 10 to 15 cents per mile at average prices.

Fuel Cost Formula

The fuel cost calculation uses two simple formulas:

Gallons needed = Distance (miles) ÷ MPG
Fuel cost = Gallons × Price per Gallon

For metric users, the equivalent formulas are:

Liters needed = Distance (km) × L/100km ÷ 100
Fuel cost = Liters × Price per Liter

For example, a 350-mile trip in a vehicle that gets 28 MPG with gas at $3.50 per gallon: 350 ÷ 28 = 12.5 gallons × $3.50 = $43.75 total fuel cost.

Average Fuel Efficiency by Vehicle Type

Vehicle Type Average MPG Average L/100km
Compact Car30–35 MPG6.7–7.8 L/100km
Mid-Size Sedan25–32 MPG7.4–9.4 L/100km
SUV (Small)24–30 MPG7.8–9.8 L/100km
SUV (Large)16–22 MPG10.7–14.7 L/100km
Pickup Truck16–22 MPG10.7–14.7 L/100km
Hybrid45–55 MPG4.3–5.2 L/100km
Minivan20–26 MPG9.1–11.8 L/100km
Sports Car18–25 MPG9.4–13.1 L/100km

Source: EPA fuel economy data. Real-world efficiency typically runs 10–15% lower than EPA estimates due to driving habits, speed, and load.

Current Average Gas Prices

As of early 2025, the national average price for regular unleaded gasoline in the United States is approximately $3.10 to $3.50 per gallon, though prices vary significantly by state. California typically has the highest gas prices, often $0.80 to $1.20 above the national average due to state fuel taxes and blend requirements. States like Mississippi, Texas, and Oklahoma tend to have the lowest prices.

For the most accurate and current gas prices along your route, check GasBuddy, the AAA Gas Prices tracker, or Google Maps which shows nearby gas stations and prices. Using a slightly higher-than-current price in the calculator gives you a conservative estimate for trip budgeting.

How to Improve Fuel Efficiency

Driving Habits

Driving style is one of the biggest factors in real-world fuel efficiency. Aggressive acceleration and hard braking can reduce fuel economy by 15 to 30% on highways. Maintaining a steady speed and using cruise control on highway stretches significantly improves efficiency. Driving at 55 MPH instead of 70 MPH can improve fuel economy by 10 to 15% on most vehicles. Avoid prolonged idling — turning off the engine during stops longer than 60 seconds saves fuel.

Vehicle Maintenance

Keeping your vehicle properly maintained directly impacts fuel efficiency. Under-inflated tires increase rolling resistance and can reduce MPG by 0.5% for every 1 PSI below the recommended pressure. A dirty air filter, degraded spark plugs, or low tire pressure can together cost you 5 to 10 MPG. Regular oil changes using the manufacturer-recommended grade reduce engine friction. Using the correct octane fuel for your engine also ensures optimal combustion efficiency.

Route Planning

Route planning directly affects fuel cost on longer trips. Highways are generally more fuel-efficient than stop-and-go city driving. Planning your departure to avoid peak traffic hours reduces idling time significantly. On road trips, routes that minimize steep elevation gains save fuel — a 5% grade can double fuel consumption compared to flat terrain. Using a navigation app that factors in real-time traffic helps avoid congestion that kills fuel economy.

Cost Per Mile by Vehicle

The table below shows estimated fuel cost per mile at various MPG ratings and gas prices. This is useful for reimbursement calculations and comparing vehicle operating costs.

MPG $3.00/gal $3.50/gal $4.00/gal $4.50/gal
20 MPG$0.150$0.175$0.200$0.225
25 MPG$0.120$0.140$0.160$0.180
30 MPG$0.100$0.117$0.133$0.150
35 MPG$0.086$0.100$0.114$0.129
40 MPG$0.075$0.088$0.100$0.113
50 MPG$0.060$0.070$0.080$0.090

Fuel Cost Calculator Examples

Example 1 — 350-Mile Road Trip, 28 MPG, $3.50/gal

A family plans a 350-mile one-way road trip in a sedan that gets 28 MPG. Gas prices along the route average $3.50 per gallon. Calculation: 350 ÷ 28 = 12.5 gallons needed. 12.5 × $3.50 = $43.75 total fuel cost. Cost per mile: $43.75 ÷ 350 = $0.125 per mile. For the round trip (700 miles), the total fuel cost doubles to $87.50.

Example 2 — Daily 40-Mile Commute, 25 MPG, Monthly Cost

A commuter drives 40 miles round trip daily (20 miles each way) in a car that gets 25 MPG. Gas is $3.50 per gallon. Daily fuel cost: 40 ÷ 25 = 1.6 gallons × $3.50 = $5.60 per day. Over 22 working days per month, this is 1.6 × 22 = 35.2 gallons × $3.50 = $123.20 per month in fuel costs. Over a year (264 working days), the fuel expense is $1,478.40. Switching to a 35 MPG hybrid would reduce this to $1,056 annually — saving over $420 per year.

Example 3 — Cross Country 2,800-Mile Round Trip

A cross-country round trip of 2,800 miles total (1,400 miles each way) in an SUV that gets 22 MPG. Gas prices average $3.60 per gallon. Calculation: 2,800 ÷ 22 = 127.3 gallons. 127.3 × $3.60 = $458.18 in total fuel costs. This does not include lodging, food, or vehicle maintenance. Flying the same route typically costs $200 to $400 per person round trip for a family of four, making the total flight cost $800 to $1,600 — more expensive than driving for a full family at current prices.

Frequently Asked Questions

How do I calculate gas cost for a trip?

Divide your trip distance in miles by your vehicle's MPG to get gallons needed. Then multiply gallons by the price per gallon. For example: 300 miles ÷ 30 MPG = 10 gallons × $3.50 = $35.00. For metric, multiply distance in km by L/100km and divide by 100 to get liters, then multiply by price per liter.

What is the average MPG for a car?

The average fuel economy for new cars sold in the United States is approximately 28 MPG combined (city and highway). Compact cars average 30–35 MPG, mid-size sedans average 25–32 MPG, and SUVs and trucks average 16–24 MPG. Hybrids typically achieve 45–55 MPG. Your actual MPG depends on driving style, traffic, and vehicle condition.

How much does it cost per mile to drive?

Fuel cost per mile depends on your MPG and gas price. At 28 MPG and $3.50 per gallon, fuel costs $0.125 per mile. The IRS standard mileage rate for 2024 is $0.67 per mile, which covers fuel, depreciation, insurance, and maintenance — not just gas. For fuel alone, most drivers pay between $0.08 and $0.20 per mile depending on their vehicle.

Is it cheaper to drive or fly?

It depends on distance, number of passengers, and vehicle fuel economy. For a solo traveler, flying is often cheaper than driving for distances over 500 miles when you factor in fuel, time, wear, and meals. For families of 3 or more, driving is typically cheaper up to 1,500 miles because flight costs multiply per person. Always compare total all-in costs including parking, baggage fees, and transport to/from airports.

How do I find current gas prices near me?

GasBuddy.com and the AAA Gas Prices tracker show real-time gas prices by zip code and state. Google Maps displays nearby gas stations with current prices. Gas station apps from Costco, Sam's Club, and Wawa also show member prices. In the US, GasBuddy is the most widely used tool for finding the cheapest gas nearby before a road trip.

Also check out:

Related Tools