Fuel Cost Calculator
Find out how much gas a trip will cost — and how much each person owes if you share the ride.
- Fuel needed10.7 gal
- Cost per person$36.43
- Total distance300 mi
- Cost per distance$0.121 / mi
- Cost per 100$12.14 / 100 mi
- Your fuel economy in other units8.4 L/100 km
The trip costs about $36.43 in fuel for 300 mi.
Saved scenarios
100% private. Everything is calculated in your browser. Nothing you type is sent or stored on a server.
Estimates for guidance only. Real-world results depend on your car, driving and local prices.
How to calculate the fuel cost of a trip
Fuel cost depends on three things: how far you drive, how efficient the car is and what fuel costs. This gas cost calculator works in US units (miles, mpg, dollars per gallon) or metric units (km, L/100 km, price per liter) — switch with the Units menu.
Worked example
A 300-mile trip in a car that gets 28 mpg uses about 10.7 gallons. At $3.40 a gallon the trip costs about $36.43. Make it a round trip (2 trips) and split it between 3 people, and each pays about $24.29.
Tips to spend less on fuel
- Use your real-world mpg from the trip computer or by tracking a full tank — use the gas mileage calculator.
- Highway speed matters: driving 75 mph instead of 65 can raise fuel use noticeably.
- Check tire pressure and remove roof boxes when you don't need them.
- Thinking about going electric? Compare running costs with the EV charging cost calculator.
Work out your yearly fuel cost
Enter the miles you drive in a year as the distance and leave one trip. For 12,000 miles a year at 30 mpg and $3.40 a gallon you use 400 gallons, which costs $1,360 a year — about 11.3 cents a mile. Divide by 12 for a monthly budget ($113).
Fuel cost per mile
Knowing your cost per mile makes many decisions easier: whether a longer route avoids tolls profitably, whether to take the car or the train, or how much a commute really costs. At 28 mpg and $3.40 a gallon, every mile costs about 12 cents in fuel; a 30-mile round-trip commute on 230 working days adds up to around $840 a year.
Splitting the cost fairly
For shared rides, splitting fuel equally is simple and fair for a one-off trip. For regular car-pooling, some people also add a share of wear and tear — a common shortcut is to use a per-mile rate such as the IRS business rate, which includes depreciation and maintenance, not just fuel.
Fuel is only part of the cost
Insurance, tires, maintenance and depreciation often cost as much as fuel or more. If you are comparing cars, also check the car depreciation calculator and, for electric cars, the EV charging cost calculator.
Frequently asked questions
How do I calculate gas cost for a trip?
Divide the distance by your car's mpg to get gallons, then multiply by the price per gallon. For a round trip, double the distance.
How do I split gas money with friends?
Calculate the total fuel cost and divide it by the number of people. Enter the number of people in the calculator to see each share.
What mpg should I use?
Use your car's real-world figure. Official ratings are often a little optimistic, especially at highway speeds or in cold weather.
Does the calculator work with liters and kilometers?
Yes. Choose Metric in the Units menu to enter km, L/100 km and price per liter.
Does it include tolls or parking?
No, it only covers fuel. Add tolls, parking and wear separately if you want the full cost of the trip.
How do I work out my yearly fuel cost?
Enter the miles you drive in a year, your car's mpg and the fuel price. For example, 12,000 miles at 30 mpg and $3.40 a gallon is 400 gallons, or $1,360 a year.
More lease calculators
Car leasing
- Car Lease Payment CalculatorEnter the numbers from the dealer quote to see your monthly lease payment — and exactly where every dollar goes.Open calculator →
- Lease Deal CheckerType in the numbers from the dealer's quote. We grade the deal, reveal the money factor hidden in the payment and flag anything worth negotiating.Open calculator →
- Money Factor to APR CalculatorType a money factor or an APR — the other updates instantly. Add your contract numbers to find your real rate and any markup.Open calculator →
- Lease Buyout CalculatorFind out what it really costs to buy your leased car and whether it is worth more than the buyout.Open calculator →
- Lease vs Buy Car CalculatorCompare the true cost of leasing versus buying the same car, counting the value of the car you would own.Open calculator →
- Lease Mileage CalculatorFind out if you will go over your lease miles, what it could cost, and how much you can still drive each month.Open calculator →
- Early Lease Termination CalculatorCompare the three ways out of a car lease — return it early, sell it, or keep it — and see roughly what each one costs.Open calculator →
- Lease Equity CalculatorSee if your leased car is worth more than you owe — and what negative equity would add to your next lease.Open calculator →
Buying & car loans
- Car Payment CalculatorWork out the monthly payment on an auto loan — with tax, trade-in and fees — and see how much interest you will pay.Open calculator →
- Car Affordability CalculatorStart from the monthly payment you are comfortable with and see the most you should spend on a car.Open calculator →
- Auto Refinance CalculatorSee whether refinancing your car loan really saves money — not just a lower payment, but less paid in total.Open calculator →
- Car Loan Payoff CalculatorFind out how much faster you can pay off your car — and how much interest you save — with extra payments.Open calculator →
- Out-the-Door Price CalculatorTurn the sticker price into the real amount you will pay: sales tax, dealer fees, title and registration included.Open calculator →
- Balloon Payment CalculatorFind the monthly payment on a car loan with a lump sum at the end — and how much extra interest it costs.Open calculator →
- PCP Calculator (Personal Contract Purchase)Work out the monthly cost of Personal Contract Purchase car finance and compare it with hire purchase.Open calculator →
- PCP Settlement CalculatorEstimate what it costs to settle your PCP early, what you save in interest, and whether you have reached the 50% point to hand the car back.Open calculator →
- Car Depreciation CalculatorSee how much value a car loses each year and what it may be worth when you sell, trade in or reach lease end.Open calculator →
Running costs & taxes
- Gas Mileage Calculator (MPG)Measure your car's real fuel economy from one full tank and convert it between mpg and L/100 km.Open calculator →
- EV Charging Cost CalculatorSee what it costs to charge an electric car each month — and compare it with filling up a gas car.Open calculator →
- Mileage Reimbursement CalculatorCalculate what your miles are worth at the 2026 IRS standard rates — or your employer's rate — and compare with what you spend on gas.Open calculator →