Tools · Calculators · Finance Last update: Nov 9, 2026

Fuel Cost Calculator

Calculate the fuel cost of a trip from the distance, your car’s fuel economy and the fuel price — and split it between passengers.

Fuel economy in
mi
mpg
$ / gal
people
—

How the fuel cost is calculated

gallons = distance ÷ mpg; cost = gallons × price per gallon

Example: a 300-mile trip in a car doing 28 mpg uses 10.71 gallons; at $3.15 a gallon it costs $33.75 — about 11 cents a mile.

Round trips and sharing

Tick “round trip” to double the distance, and enter the number of people to split the cost.

Using L/100 km

If you know your car’s consumption in litres per 100 km, switch the unit; the calculator converts it (235.21 ÷ L/100 km = mpg).

Frequently asked questions

How much does it cost to drive 300 miles?

At 28 mpg and $3.15 a gallon, about $33.75.

How do I calculate gas cost per mile?

Divide the price per gallon by your mpg: $3.15 ÷ 28 ≈ $0.11 a mile.