Fuel Cost Calculator
Find the fuel cost of any trip from the distance, your vehicle's fuel economy, and the price of gas — and split it across passengers.
The fuel cost formula
Cost = Gallons × Price per gallon · Per person = Cost ÷ people
A 300-mile trip in a 30 MPG car at $3.50/gal: 300 ÷ 30 = 10 gallons × $3.50 = $35. Split 4 ways = $8.75 each.
Planning trips and comparing vehicles
Fuel is often the biggest variable cost of a road trip, and this makes it concrete. It's also useful for comparing vehicles: the same 300-mile trip costs $35 at 30 MPG but $52.50 at 20 MPG — a difference that compounds over a year of driving. The calculator handles metric too (L/100km and price per litre). For the flip side — measuring your car's actual MPG from fill-ups — use the gas mileage calculator, and for a car purchase's total cost, the auto loan calculator.
Frequently asked questions
How do I calculate the fuel cost of a trip?
Distance ÷ MPG = gallons; × price per gallon = cost. 300 mi at 30 MPG, $3.50/gal = $35.
How can I split fuel costs?
Divide total cost by the number of people — enter passengers to see per-person cost.
Does this work for a round trip?
Yes — enter the total (round-trip) distance.
Related calculators
Last reviewed: July 2026.