Fuel Cost Calculator

Estimate the fuel cost of any trip from the distance, your vehicle's fuel efficiency and the fuel price. Toggle between MPG and L/100km.

$
Enter trip details, then press Calculate.

The fuel cost formula

Fuel cost is the amount of fuel a trip burns times the price of fuel. In US units (miles per gallon):

gallons used = distance ÷ MPG cost = gallons used × price per gallon

In metric units (litres per 100 km):

litres used = distance × ( L/100km ) ÷ 100 cost = litres used × price per litre

The two efficiency systems are inverses: L/100km = 235.215 ÷ MPG.

Worked example

A 300-mile trip in a car that does 30 MPG, with gas at $3.50 a gallon:

Gallons: 300 ÷ 30 = 10 gallons.
Cost: 10 × $3.50 = $35.00.
Round trip? Double the distance — a 300-mile one-way trip becomes 600 miles and $70 there-and-back. Enter the full distance you will actually drive.

Use your real efficiency

The window-sticker MPG is a lab figure. Real economy depends on speed, traffic, terrain, load and weather. For the best estimate, use the average you have actually observed (miles driven ÷ gallons filled). Fuel prices also swing, so check the current pump price near your route.

Frequently asked questions

How do you calculate the fuel cost of a trip?

Cost = (distance ÷ MPG) × price per gallon. A 300-mile trip at 30 MPG with $3.50 gas costs $35.

How do I convert MPG to L/100km?

L/100km = 235.215 ÷ MPG. So 30 MPG is about 7.84 L/100km. Higher MPG means lower L/100km.

How is fuel cost calculated with L/100km?

Litres = distance × (L/100km) ÷ 100, then multiply by the price per litre.

Does driving style affect fuel cost?

Yes — hard acceleration, high speed, heavy loads and cold weather lower economy. Use your observed average for accuracy.

MB
Mustafa Bilgic · Editor, Calcool
The distance-efficiency-price formula is exact; real-world economy is the variable. For official US fuel-economy figures see fueleconomy.gov. Use your own observed MPG and the current pump price for the truest estimate.

Related calculators