Calculate fuel cost for any road trip, daily commute, or full-year driving budget. Enter distance, MPG, and gas price to instantly get your total fuel cost, gallons needed, cost per mile, and monthly or annual gas expense.
✓Verified: EPA Fuel Economy Data & U.S. DOE Fuel Cost Formula — April 2026
⛽ Select Calculation Mode
miles
One-way distance in milesEnter a valid distance (1–99,999 miles).
mpg
Check EPA sticker or owner’s manualEnter a valid MPG (1–200).
$/gal
Current price per gallon at the pumpEnter a valid price ($0.50–$20.00).
Round trip doubles the distance
miles
Distance from home to work (one way)Enter a valid commute distance.
mpg
Your vehicle’s miles per gallonEnter a valid MPG (1–200).
$/gal
Price per gallon at your local stationEnter a valid price.
Days you drive to work per week
mi/yr
US average is ~13,500 miles per yearEnter annual miles (100–300,000).
mpg
Your vehicle’s miles per gallonEnter a valid MPG.
$/gal
Average price per gallonEnter a valid price.
Vehicle 1
mpg
e.g. SUV or truckEnter a valid MPG.
mpg
e.g. sedan or hybridEnter a valid MPG.
mi/yr
Enter annual miles.
$/gal
Enter a valid price.
Total Fuel Cost
—
⚠️ Disclaimer: Fuel cost estimates are based on the inputs provided and assume consistent driving conditions. Real-world fuel consumption varies with speed, traffic, load, climate, and driving habits. EPA-rated MPG typically differs from real-world efficiency by 10–20%. Results are estimates for planning purposes only.
Was this calculator helpful?
✓ Thanks for your feedback!
Sources & Methodology
✓Fuel cost formula verified against U.S. Department of Energy and EPA methodology. MPG averages sourced from EPA 2024–2026 fuel economy data. IRS mileage rate from IRS Rev. Proc. 2025-05.
Official source for fuel economy ratings, the fuel cost formula (Distance / MPG x Price), and data on how driving habits affect real-world fuel consumption. Average new vehicle MPG data sourced from this database.
IRS standard mileage rate for 2025 business driving is 70 cents per mile. This rate covers fuel, maintenance, depreciation, and insurance. The fuel-only component is approximately 12–15 cents per mile at current gas prices.
AAA tracks daily national and state-by-state average gas prices. Use this resource to find the most current gas price for your area before entering it into the calculator above.
Methodology: Road Trip Cost = (Distance ÷ MPG) × Gas Price Per GallonDaily Commute Cost = ((One-Way Miles × 2) ÷ MPG) × Gas PriceAnnual Fuel Cost = (Annual Miles ÷ MPG) × Average Gas PriceCost Per Mile = Gas Price ÷ MPG
EPA-rated MPG used as input. Real-world efficiency typically 10–20% lower than EPA rating. All calculations in US units (miles, gallons, USD). Round trip doubles distance before dividing by MPG.
Last reviewed: April 2026
Complete Guide to Calculating Gas Cost for Any Trip
Gas is one of the largest variable expenses for most households. The average American spends over $3,000 per year on fuel according to the American Automobile Association — and with gas prices fluctuating constantly, knowing exactly how much any trip or commute costs helps you budget, plan, and make smarter decisions about when to drive versus fly, carpool, or use public transit.
How to Calculate Gas Cost for a Road Trip
The fuel cost formula has two steps. First, divide your trip distance by your vehicle's MPG to get gallons needed. Then multiply gallons by the current price per gallon. This gives you the total fuel cost for the trip.
Fuel Cost Formula
Step 1: Gallons Needed = Trip Distance ÷ Fuel Economy (MPG) Step 2: Total Fuel Cost = Gallons Needed × Price Per Gallon Step 3: Cost Per Mile = Gas Price ÷ MPG
Example — 450-mile road trip, 30 MPG, gas at $3.50/gallon:
Gallons = 450 ÷ 30 = 15 gallons
Cost = 15 × $3.50 = $52.50 total fuel cost
Cost per mile = $3.50 ÷ 30 = $0.117 per mile
Gas Cost by Vehicle Type — Reference Table
Vehicle Type
Typical MPG
Cost per Mile*
100-Mile Cost*
500-Mile Cost*
Compact Car (e.g. Honda Civic)
34 MPG
$0.103/mi
$10.29
$51.47
Mid-Size Sedan (e.g. Toyota Camry)
29 MPG
$0.121/mi
$12.07
$60.34
SUV (e.g. Honda CR-V)
26 MPG
$0.135/mi
$13.46
$67.31
Full-Size SUV (e.g. Chevy Tahoe)
18 MPG
$0.194/mi
$19.44
$97.22
Pickup Truck (e.g. Ford F-150)
20 MPG
$0.175/mi
$17.50
$87.50
Hybrid (e.g. Toyota Prius)
52 MPG
$0.067/mi
$6.73
$33.65
*Based on $3.50/gallon national average. MPG figures are EPA combined estimates for 2024-2026 model years.
Daily Commute Gas Cost — How Much Are You Really Spending?
Most drivers underestimate their annual commute fuel cost. A 20-mile one-way commute (40 miles round trip) 5 days per week adds up to approximately 800 miles per month. At 28 MPG and $3.50/gallon, that is about $100 per month or $1,200 per year in fuel just for commuting. Calculate your own commute cost using the Daily Commute tab above and compare it to public transport, carpooling, or remote work savings.
💡 Monthly Commute Cost Formula: (One-Way Miles × 2 × Working Days Per Month) ÷ MPG × Gas Price. For 20-mile one-way commute, 22 days/month, 28 MPG, $3.50/gal: (20×2×22) ÷ 28 × $3.50 = 880 ÷ 28 × $3.50 = $110/month = $1,320/year.
Is It Cheaper to Drive or Fly?
For solo travelers, flying is often cheaper than driving for trips over 400–500 miles once accommodation costs along the route are factored in. For families of 3–4 people, driving is typically significantly cheaper since flight costs multiply per person while the car's fuel cost stays fixed. Use the Road Trip mode to calculate your fuel cost, then add tolls, parking, and potential overnight costs to compare against flight prices for your specific route.
How to Improve Your Gas Mileage
Maintain proper tire pressure: Under-inflated tires increase rolling resistance and reduce MPG by up to 3% per the U.S. DOE. Check monthly.
Use the right motor oil: The manufacturer-recommended grade improves efficiency by 1–2%. Look for “Energy Conserving” on the API symbol.
Avoid aggressive driving: Rapid acceleration and hard braking can reduce fuel economy by 15–30% on highways according to the EPA.
Use cruise control on highways: Maintaining a steady speed is significantly more fuel-efficient than speed variations at highway speeds.
Reduce unnecessary weight: An extra 100 lbs reduces MPG by about 1%. Remove roof racks when not in use as they increase aerodynamic drag.
Plan routes to avoid stop-and-go: Highway driving is more fuel-efficient than city driving for most conventional vehicles.
Gas Cost and the IRS Mileage Rate
For business driving, the IRS standard mileage rate for 2025 is 70 cents per mile. This all-in rate covers fuel, depreciation, maintenance, and insurance. The fuel-only component at $3.50/gallon and typical vehicle efficiency accounts for approximately 12–15 cents per mile. If you are tracking mileage for business reimbursement, compare the IRS rate to your actual fuel cost per mile using the calculator above — the standard rate typically covers more than just fuel.
Frequently Asked Questions
Divide trip distance by your vehicle's MPG to get gallons needed, then multiply by the gas price per gallon. For example, a 300-mile trip at 30 MPG and $3.50/gallon: 300÷30=10 gallons × $3.50 = $35.00. Use the Road Trip tab above for instant results including round-trip option.
Fuel Cost = (Distance ÷ MPG) × Price Per Gallon. First divide total miles by MPG to find gallons needed, then multiply gallons by the current gas price. For metric units: Fuel Cost = (km × L/100km ÷ 100) × Price Per Liter.
Fuel cost per mile = Gas Price ÷ MPG. At $3.50/gallon and 28 MPG, fuel costs $0.125 per mile (12.5 cents). The IRS 2025 standard mileage rate is 70 cents per mile which includes gas, maintenance, and depreciation — gas is roughly 12–15 cents of that total.
Use the Daily Commute tab. Enter your one-way commute distance, MPG, gas price, and working days per week. The calculator returns daily, weekly, monthly, and annual fuel cost. Typically (one-way miles × 2 × 22 working days) ÷ MPG × gas price = monthly fuel budget.
Gallons = Trip Distance ÷ MPG. A 500-mile trip in a 25-MPG car uses 20 gallons. A 1,000-mile trip uses 40 gallons. Trucks and full-size SUVs getting 18–20 MPG use 25–28 gallons per 500 miles. Enter your specific distance and MPG in the Road Trip tab for an exact figure.
As of early 2026, the national average price for regular unleaded gasoline ranges from approximately $3.00 to $4.20 per gallon depending on location and timing. California typically exceeds $4.50 while Gulf Coast states are often below $3.00. Check AAA's daily gas price tracker at gasprices.aaa.com for current local prices before planning a trip.
For solo travelers, flying is often cheaper for trips over 400–500 miles when you include accommodation along the route. For families of 3–4 people, driving is usually significantly cheaper since flight costs multiply per person while car fuel costs stay fixed. Calculate your road trip fuel cost, add tolls and overnight costs, then compare to current flight prices for your route.
Key strategies: maintain proper tire pressure (3% MPG improvement), avoid aggressive acceleration and hard braking (15–30% improvement on highways), use cruise control, remove roof racks when not in use, use recommended motor oil grade (1–2% improvement), and combine errands to reduce total miles. These habits can collectively improve real-world MPG by 15–30% according to the U.S. Department of Energy.
For 2025–2026 non-hybrid vehicles, 30+ MPG combined is considered good. Compact cars achieve 32–40 MPG, mid-size sedans 25–35 MPG, SUVs 20–30 MPG, and trucks 15–22 MPG. Hybrids typically achieve 40–60 MPG. The average new vehicle sold in the US gets approximately 28–30 MPG combined.
Use the Compare 2 Vehicles tab. Enter the MPG for each vehicle along with your annual mileage and gas price. The calculator shows the annual fuel cost for each vehicle, the difference in dollars, and how many years it takes to offset a potential price difference between the vehicles.
Fuel-only cost per mile = Gas Price ÷ MPG. At $3.50/gallon and 28 MPG, that is about 12.5 cents per mile in fuel. For carpooling reimbursement, many people ask for 15–20 cents per mile to account for wear and additional costs. The IRS 2025 rate is 70 cents per mile for full vehicle cost reimbursement.
Fuel Cost (metric) = (Distance in km / 100) × Consumption (L/100km) × Price per liter. For a 500 km trip, 8.5 L/100km, at $1.60/L: (500/100) × 8.5 × $1.60 = 5 × 8.5 × 1.60 = $68.00 total fuel cost. The calculator supports metric inputs using the unit toggle.