CalculatorSwitch
Calculator Switch
Everyday

Fuel Cost Calculator

Last updated:

How to Use This Calculator

Step 1: Enter the total distance of your trip in miles.

Step 2: Enter your vehicle's fuel efficiency in miles per gallon (MPG). Check your car's window sticker, owner's manual, or fueleconomy.gov for the EPA rating. Highway driving gets better MPG than city driving.

Step 3: Enter the current fuel price per gallon. Check GasBuddy or local gas station signs for current prices.

Step 4: Click Calculate. The result shows the estimated fuel cost. The breakdown includes the total gallons needed and the per-mile cost.

Understanding Fuel Economy and Trip Costs

Fuel cost depends on three factors: distance, fuel efficiency, and fuel price. Doubling any one of these doubles the cost (or halves it, in the case of efficiency).

MPG (Miles Per Gallon) measures how far your car travels on one gallon of fuel. The average US car gets about 25 MPG. Compact cars get 30-40 MPG, SUVs get 18-25 MPG, trucks get 15-22 MPG, and hybrids get 45-55 MPG. Electric vehicles use MPGe (miles per gallon equivalent) for comparison.

City vs highway MPG: Cars are more fuel-efficient at steady highway speeds (typically 45-65 mph) than in stop-and-go city traffic. The EPA rates vehicles separately for city and highway. Most long trips use the highway figure. City driving can be 20-30% less efficient.

Fuel prices in the US fluctuate significantly by region and time of year. As of early 2026, regular gasoline averages $3.00-4.00 per gallon nationally, with California and Hawaii typically $1-2 higher. Diesel is generally $0.50-1.00 more per gallon than regular gasoline.

Real-world vs EPA ratings: Your actual MPG may be 10-20% lower than the EPA estimate due to driving habits, tire pressure, air conditioning, cargo weight, and road conditions. Aggressive acceleration and high-speed driving significantly reduce fuel economy.

Fuel Cost Formula

Gallons Needed = Distance ÷ MPG

Total Cost = Gallons × Price per Gallon

Cost per Mile = Price per Gallon ÷ MPG

Example: 450-mile road trip, 28 MPG car, $3.50/gallon.
- Gallons = 450 ÷ 28 = 16.07 gallons
- Cost = 16.07 × $3.50 = $56.25
- Per mile = $3.50 ÷ 28 = $0.125/mile

Round trip: Multiply by 2.
- Round trip cost = $56.25 × 2 = $112.50

Fuel Cost per 100 Miles by Vehicle Type

Vehicle TypeAvg MPGCost @ $3.00/galCost @ $3.50/galCost @ $4.00/gal
Compact car35$8.57$10.00$11.43
Midsize sedan30$10.00$11.67$13.33
Full-size sedan25$12.00$14.00$16.00
Small SUV28$10.71$12.50$14.29
Large SUV20$15.00$17.50$20.00
Pickup truck18$16.67$19.44$22.22
Minivan22$13.64$15.91$18.18
Hybrid50$6.00$7.00$8.00
Diesel truck22$15.91$18.56$21.21

Examples

Example 1: Daily Commute Cost
30-mile round trip, 25 MPG, gas at $3.50. Enter 30, 25, 3.50. Daily cost: $4.20. Over 22 work days per month: ~$92.40. Over a year: ~$1,108.

Example 2: Road Trip Budget
Family road trip: 800 miles each way, SUV gets 22 MPG, gas at $3.75. Enter 800, 22, 3.75. One way: $136.36. Round trip: ~$273.

Example 3: Comparing Vehicles
Which costs less for a 500-mile trip? Car A: 20 MPG. Car B: 35 MPG. Gas at $3.50.
- Car A: 500/20 × 3.50 = $87.50
- Car B: 500/35 × 3.50 = $50.00
- Car B saves $37.50 per trip.

Tips for Reducing Fuel Costs

Use highway MPG for road trips. Highway efficiency is typically 20-30% better than city. For mixed driving, use the combined EPA rating.

Keep tires properly inflated. Under-inflated tires increase rolling resistance and fuel consumption by 2-3%. Check tire pressure monthly.

Drive at moderate speeds. Fuel economy drops significantly above 50 mph. Every 5 mph over 50 costs roughly an extra $0.15-0.30 per gallon in fuel.

Calculate cost per mile for budgeting. Divide your gas price by your MPG. At $3.50/gal and 30 MPG, you spend about $0.12 per mile on fuel alone.

Compare fuel costs when car shopping. A car that gets 35 MPG vs 25 MPG saves about $750/year at 15,000 miles and $3.50/gal.

Frequently Asked Questions

Where do I find my car's MPG?
Check the window sticker (for new cars), your owner's manual, or visit fueleconomy.gov and search by year, make, and model. The EPA provides city, highway, and combined MPG ratings for every vehicle sold in the US.
Should I use city or highway MPG?
For highway road trips, use highway MPG. For city driving, use city MPG. For mixed driving, use the combined rating. If you drive aggressively or in heavy traffic, your actual MPG may be 10-20% lower than the EPA estimate.
How do I calculate the cost for a round trip?
Calculate the one-way cost and multiply by 2. Or enter the total round-trip distance (both ways combined) in the distance field.
Does this work for diesel vehicles?
Yes. Enter the diesel price per gallon instead of gasoline. The MPG formula works the same way for diesel engines. Diesel is typically $0.50-1.00 more per gallon than regular gasoline.
How do I estimate for electric vehicles?
This calculator is designed for gasoline/diesel vehicles. For EVs, the equivalent calculation is: Distance ÷ miles-per-kWh × cost-per-kWh. A typical EV gets 3-4 miles per kWh, and electricity costs $0.12-0.15 per kWh.
Why is my actual fuel cost higher than estimated?
Real-world MPG is often 10-20% lower than EPA ratings due to aggressive driving, cold weather, AC usage, cargo weight, hilly terrain, and under-inflated tires. Use a lower MPG figure for conservative estimates.

Related Calculators

mi
mpg
$/gal
Was this useful?