Driving Cost Calculator

What is the cost of driving a given distance? Combine distance, vehicle MPG, and fuel price into trip cost.

Interactive inputs
Live result 30.00 MPG

Change an input to update the diagram.

What is the cost of driving a given distance?

The Driving Cost Calculator combines distance, vehicle MPG, and fuel price to estimate the total fuel cost of any drive. Use it to decide whether driving or flying is cheaper, split gas costs between passengers, or compare commute costs between different vehicles.

Current calculator output 30.00 MPG

Driving Cost Calculator: inputs, formula, and result

Enter the values that describe your trip planning scenario. The interactive result changes as the inputs change, helping you compare fuel efficiency, fuel consumption, fuel cost, or operating impact.

Distance360Measured travel
Fuel input12Volume or rate
Efficiency30 MPGCalculated output

Formula

Driving Cost = (Trip Distance ÷ Vehicle MPG) × Fuel Price

Worked example

A 360-mile drive at 30 MPG with gas at $3.50/gallon costs (360 ÷ 30) × 3.50 = $42.00.

Pro tip: When comparing driving vs. flying, add parking, tolls, and wear-and-tear costs (roughly $0.10-$0.15 per mile) to the fuel cost for a fair comparison.

What changes the result for Driving Cost?

Plan a trip with a clear estimate for fuel volume, fuel stops, and total driving cost. Traffic, tire pressure, vehicle load, terrain, driving style, weather, fuel price, and the quality of the input data can change the final result.

Estimated result condition 100%
Select factors that match this trip planning calculation.

When should you use this calculator?

Use it before a trip, after a fill-up, when comparing vehicles, or when documenting business mileage. Keep the same units and use several measurements when you need an average.

Selected usePlan with Driving Cost Calculator

FAQs about Driving Cost

3 questions
Question 1 of 3 is open
What is the average cost per mile to drive?

Fuel alone costs $0.10-$0.18 per mile for most cars at $3.50/gallon and 20-35 MPG. AAA estimates the total cost of vehicle ownership at $0.60-$0.90 per mile including all expenses.

Is it cheaper to drive or fly for a 500-mile trip?

For a solo traveler, flying is often cheaper for trips over 300-400 miles. For families of 3+, driving is usually cheaper since fuel cost is shared but each airline ticket is separate.

How do I split driving costs fairly between passengers?

Divide the total fuel cost by the number of passengers including the driver. For a $100 fuel bill split 4 ways, each person pays $25.

You may also need