Fuel Cost Calculator — Free Online Tool
Planning a road trip? Enter your distance, your car's fuel efficiency, and the current fuel price to see exactly what the trip will cost — plus cost per mile or kilometer.
Last updated: October 2026
What is the Fuel Cost Calculator?
Fuel is often the biggest variable cost of driving, and small differences add up fast on long trips. This calculator works in both systems: mpg (miles per gallon, US-style) and L/100km (metric). Just pick the one on your dashboard or spec sheet.
Beyond trip planning, the per-mile figure is genuinely useful: compare it against rideshare quotes, decide whether driving or flying wins for a weekend trip, or see what that “cheap” SUV really costs to run. Note the estimate covers fuel only — tolls, wear, and depreciation are extra.
Fuel is usually the biggest variable cost of driving, and small efficiency differences add up fast. At $3.50 a gallon, improving from 25 mpg to 32 mpg saves about $0.035 per mile — over 12,000 miles a year that is $420 back in your pocket, roughly the cost of a set of tires.
The calculator works in both US (mpg, $/gallon) and metric (L/100 km, price/liter) modes. Use it to compare two cars before buying, to decide whether the scenic route is worth the extra miles, or to set a fair per-mile reimbursement for a work trip.
Tire pressure, roof racks, and idling quietly tax every trip: under-inflated tires alone can cut efficiency 3–5%, and a loaded roof box adds up to 25% drag at highway speed. Before a long drive, inflate tires to the door-jamb spec, ditch the roof box if the trunk suffices, and use cruise control — then re-run the calculator with your improved mpg to see the savings.
How to use this calculator
- Choose MPG or L/100km efficiency units.
- Enter distance, fuel efficiency, and fuel price.
- Click Calculate Fuel Cost for total cost and per-unit cost.
Formula
Worked example
Example: A 600-mile road trip in a car that gets 32 mpg with gas at $3.49/gallon: gallons needed = 600 ÷ 32 = 18.75; trip cost = 18.75 × $3.49 = $65.44. Cost per mile = $65.44 ÷ 600 ≈ $0.109/mile.
Split four ways, each passenger owes about $16.36 — far cheaper than four plane tickets.
Frequently asked questions
How do I convert L/100km to mpg?
MPG (US) ≈ 235.2 ÷ L/100km. So 8 L/100km ≈ 29.4 mpg.
Should I use city or highway mileage?
Use a blend matching your trip — mostly highway driving? Use the highway figure.
Does AC affect fuel cost?
Yes — air conditioning can raise consumption 5–25% depending on conditions. Add a buffer for summer trips.
What about electric cars?
Enter your cost per kWh as the 'fuel price' and kWh/100km as efficiency — the math is identical.
How do I split fuel costs fairly on a road trip?
Calculate the total trip cost, then divide by the number of passengers. If one person drove the whole way, many groups have the driver pay a smaller share — agree the split before you leave.
Does driving speed really affect fuel cost?
Yes. Fuel economy typically drops sharply above 50–60 mph because of air resistance. Slowing from 75 to 65 mph can improve mpg by 10–15%, which this calculator will reflect if you enter your real-world efficiency.
Should I use my car's rated mpg or real-world mpg?
Real-world, always. EPA ratings assume ideal conditions; most drivers see 10–20% less. Track two or three fill-ups (miles driven ÷ gallons used) and enter that number for honest trip budgets.