Fuel Cost Calculator
Estimate your trip fuel cost in seconds. Enter your distance, vehicle fuel economy, and current gas price to see total gallons needed, total cost, and cost per mile - with support for one-way and round-trip calculations.
Trip Details
Trip Fuel Cost Breakdown
Common MPG by Vehicle Type
Average combined fuel economy for common vehicle categories. Use these as a starting point if you don't know your vehicle's MPG.
| Vehicle Type | Avg MPG | Cost / 100 mi |
|---|
How the Fuel Cost Calculator Works
This calculator uses the fundamental relationship between distance, fuel economy, and fuel price to estimate trip costs. The core formula is deceptively simple, but understanding it properly lets you make smarter decisions about route planning, vehicle selection, and budgeting for fleet operations or personal road trips.
Fuel economy in the United States is measured in miles per gallon (MPG), a standard established by the Environmental Protection Agency (EPA) under 40 CFR Part 600. The EPA tests every new vehicle sold in the U.S. using standardized drive cycles - the FTP-75 (city) and HWFET (highway) - on a dynamometer under controlled conditions. Since 2008, the EPA has applied adjustment factors to better reflect real-world driving: city estimates are reduced by roughly 10% and highway estimates by about 22% from raw laboratory results. These adjusted figures are what appear on the window sticker (Monroney label) required by the Automobile Information Disclosure Act.
For metric users, fuel economy is expressed as kilometers per liter (km/L) or, more commonly in Canada and Europe, as liters per 100 kilometers (L/100km). The conversion factor between MPG and km/L is 1 MPG = 0.425144 km/L, derived from the exact definitions: 1 mile = 1.609344 km and 1 US gallon = 3.785411784 L. To convert MPG to L/100km, divide 235.215 by the MPG value.
The Math Behind It
The calculator uses three equations, each building on the previous one:
1. Gallons needed:
Gallons = Distance (miles) รท Fuel Economy (MPG)
2. Total fuel cost:
Total Cost ($) = Gallons ร Price per Gallon ($/gal)
3. Cost per mile:
Cost per Mile ($/mi) = Total Cost รท Distance
That third formula simplifies algebraically to Cost per Mile = Price per Gallon รท MPG, which is useful for quick mental math. At $3.50/gal and 25 MPG, your fuel cost is $0.14 per mile - regardless of trip distance. For round trips, the calculator simply doubles the input distance before applying the formulas.
In metric mode, the equivalent formulas use km, liters, and $/L: Liters = Distance (km) รท Economy (km/L) and Total Cost = Liters ร Price per Liter.
Industry Standards & References
The fuel economy values used in this calculator's preset buttons are based on fleet averages from the EPA's Fuel Economy Trends Report (EPA-420-R-23-024) and the Bureau of Transportation Statistics (BTS). Key reference points:
- EPA combined rating: The weighted average of 55% city and 45% highway fuel economy, per 40 CFR ยง 600.210. This is the single number shown on the window sticker.
- CAFE standards: Under the Corporate Average Fuel Economy program (49 USC ยง 32902), passenger car fleets must meet increasingly stringent targets - 49 MPG for model year 2026 passenger cars. Light trucks have a separate, lower standard.
- FHWA statistics: The Federal Highway Administration's Highway Statistics series (Table VM-1) reports that the average American drives approximately 14,263 miles per year, with an average one-way commute of 16 miles. The average household takes roughly 2.5 long-distance trips (>50 miles one-way) per month.
- EIA fuel pricing: The U.S. Energy Information Administration (EIA) publishes weekly retail gasoline prices by region and grade through its Weekly Petroleum Status Report. National average regular unleaded has fluctuated between $2.80 and $4.00/gal over the past two years.
- IRS mileage rate: The IRS standard mileage rate for business use is 70 cents per mile for 2025 (Revenue Procedure 2024-48). This rate covers fuel plus depreciation, insurance, and maintenance - fuel alone is roughly 20โ25% of that total rate.
Step-by-Step Example
Scenario: You're planning a 450-mile road trip from Dallas, TX to Albuquerque, NM in a 2022 Ford F-150 (2.7L EcoBoost). The truck's EPA combined rating is 22 MPG, but you know from experience that sustained highway driving at 70โ75 mph with a loaded bed drops real-world economy to about 18 MPG. Regular unleaded at the station down the road is $3.45/gallon.
Step 1 - Calculate fuel needed:
450 miles รท 18 MPG = 25.00 gallons
At 18 MPG, a 450-mile trip requires exactly 25 gallons. The F-150's 23-gallon tank means you'll need at least one fuel stop en route - plan to fill up when you're near half a tank rather than riding it to empty, especially in stretches of West Texas where stations can be 50+ miles apart.
Step 2 - Calculate total cost:
25.00 gallons ร $3.45/gal = $86.25
Step 3 - Calculate cost per mile:
$86.25 รท 450 miles = $0.1917/mile
Or equivalently: $3.45 รท 18 = $0.1917/mile
Result: The one-way fuel cost is $86.25. If you're making a round trip, double it: $172.50 in fuel alone for the 900-mile journey. That cost-per-mile figure of $0.19 is useful for comparison - if you carpooled with two friends and split fuel evenly, it drops to about $0.064/mile per person, or $28.75 each for the one-way trip.
You can verify this result by entering 450 for distance, 18 for MPG, and 3.45 for price in the calculator above.
Common Mistakes to Avoid
- Using the EPA window sticker number without adjustment: EPA ratings are tested under controlled conditions - no wind, no cargo, climate control off, speeds averaging 48 mph on the highway cycle. Real-world MPG is typically 10โ20% lower than the sticker, especially for trucks and SUVs driven at highway speeds. Why it matters: Overestimating your MPG by even 3โ4 points on a long trip can cause you to underestimate fuel cost by 15โ20%, and more critically, you might miscalculate whether you can make it to the next gas station.
- Forgetting altitude and terrain changes: Mountain driving can slash fuel economy by 20โ30%. Climbing a 6% grade at highway speed can temporarily drop a truck from 18 MPG to 8โ10 MPG. Even net-downhill routes still cost more fuel than flat terrain because the energy penalty of climbing isn't fully recovered on the descent. Why it matters: A Denver-to-Grand Junction trip across the Rockies will cost significantly more than the same mileage on flat I-40 in Texas.
- Ignoring the round-trip cost: Many people budget only for the outbound leg. This calculator has a one-way/round-trip toggle for exactly this reason - toggle it before you leave so you budget for the full journey. Why it matters: You need to know the total fuel cost to compare against airfare, rental costs, or to properly budget a road trip.
- Using stale fuel prices: Gas prices can swing $0.30โ$0.50/gallon between regions along your route, and prices change weekly. Check GasBuddy or the AAA Fuel Gauge Report for current prices at stations along your planned route. Why it matters: On a 25-gallon fill-up, a $0.30/gal price difference means $7.50 - enough to matter on a tight budget.
- Not accounting for accessory loads: Running the A/C in summer can reduce fuel economy by 3โ10% depending on outside temperature and vehicle size. Roof racks, even empty ones, increase aerodynamic drag by 2โ8% at highway speeds. A loaded roof cargo box can decrease MPG by up to 25% at interstate speeds. Why it matters: If you're planning a summer road trip with a loaded roof rack, use a fuel economy figure 15โ20% below your normal highway MPG for a more accurate cost estimate.
When to Use This Calculator
- Road trip budgeting: Before any road trip, plug in your route distance (from Google Maps or your GPS), your vehicle's real-world MPG, and the current fuel price to budget accurately. Compare one-way vs. round-trip costs and weigh against airfare or rental alternatives.
- Comparing vehicles before purchase: Use the cost-per-mile output to compare the annual fuel cost of different vehicles. If you drive the national average of 14,263 miles/year, the difference between a 20 MPG truck ($0.175/mi at $3.50/gal = $2,496/yr) and a 48 MPG hybrid ($0.073/mi = $1,041/yr) is over $1,450 per year in fuel alone.
- Fleet and delivery cost estimation: Small business owners and fleet managers can calculate per-route fuel costs for delivery vehicles, service trucks, or company cars. Multiply cost-per-mile by daily route distance to build accurate operating budgets and per-job cost estimates.
- Commute cost tracking: Calculate your daily, weekly, or monthly commute fuel cost by entering your round-trip commute distance. A 32-mile round-trip commute at 25 MPG and $3.50/gal costs $4.48/day - about $97/month over 21.7 working days, or $1,164/year. This helps evaluate whether carpooling, public transit, or a more efficient vehicle makes financial sense.
Recommended Products to Save on Fuel
Hand-picked tools for this job - we only recommend what we'd use in the shop.
As an Amazon Associate, WrenchRig earns from qualifying purchases. We only recommend products we trust.
Frequently Asked Questions
How do I calculate the fuel cost for a trip?
Divide your trip distance by your vehicle's miles per gallon (MPG) to get the gallons of fuel needed, then multiply by the price per gallon. The formula is: Fuel Cost = (Distance รท MPG) ร Price Per Gallon. For example, a 300-mile trip in a vehicle that gets 25 MPG with gas at $3.50/gallon: 300 รท 25 = 12 gallons ร $3.50 = $42.00. For a round trip, simply double the distance before calculating.
What is the average MPG for different vehicle types?
Average combined fuel economy varies widely by vehicle category. Compact cars typically get 32โ38 MPG, midsize sedans 28โ34 MPG, crossover SUVs 25โ30 MPG, full-size SUVs 18โ23 MPG, full-size pickups 16โ22 MPG, hybrids 45โ55 MPG, and minivans 22โ28 MPG. Your actual fuel economy depends on driving conditions (city vs. highway), maintenance, driving habits, and vehicle age. Check your owner's manual or fueleconomy.gov for your specific vehicle's EPA rating.
How can I improve my vehicle's fuel economy?
Several proven strategies can improve your MPG: Maintain proper tire pressure - underinflated tires increase rolling resistance and can reduce MPG by 3%. Keep up with engine maintenance - replace air filters, spark plugs, and use the correct motor oil grade. Drive smoothly - avoid aggressive acceleration and hard braking, which can lower highway MPG by up to 33%. Use cruise control on the highway to maintain a steady speed. Reduce excess weight - every 100 lbs reduces MPG by about 1%. Clean your fuel system - dirty injectors can reduce efficiency by 4โ10%.
Does driving speed affect fuel cost?
Yes, significantly. Most vehicles reach optimal fuel efficiency between 45โ65 mph. Above 50 mph, aerodynamic drag increases rapidly with speed - every 5 mph over 50 is roughly equivalent to paying an additional $0.20โ$0.30 per gallon. At 75 mph, fuel economy can be 15โ25% worse than at 55 mph. The Department of Energy estimates that sensible driving (obeying speed limits, avoiding rapid acceleration) can improve fuel economy by 15โ30% on the highway and 10โ40% in stop-and-go traffic.
How do I convert between MPG and L/100km?
To convert MPG to L/100km: divide 235.215 by the MPG value. For example, 30 MPG = 235.215 รท 30 = 7.84 L/100km. To convert L/100km to MPG: divide 235.215 by the L/100km value. Note the inverse relationship - higher MPG means better efficiency, while higher L/100km means worse efficiency. This calculator supports both unit systems with the toggle at the top.
What is cost per mile and why does it matter?
Cost per mile (or cost per kilometer) tells you exactly how much you spend on fuel for every mile you drive. It's calculated as: Fuel Price รท MPG. For example, at $3.50/gallon with 25 MPG, your cost per mile is $3.50 รท 25 = $0.14/mile. This metric is useful for comparing the true running cost of different vehicles, budgeting for commutes, calculating delivery costs, and deciding whether a more fuel-efficient vehicle would save you money over time.