One Calculator Logo One Calculator
Everyday Tools • Formulas shown

Fuel Cost Calculator

Quick Answer

Fuel cost = distance ÷ fuel efficiency × fuel price. A 300-mile trip in a car that does 28 mpg uses 10.7 US gallons, and at $3.50 a gallon costs $37.50, or 12.5 cents per mile. Divide by the number of passengers to split it.

Result

The trip costs $37.50 in fuel

Fuel needed40.56 L (10.71 US gal)
Cost per mile$0.13
Total distance300 mi
Step-by-step calculation
  1. Distance = 300 mi = 482.8 km
  2. Efficiency = 11.904 km per litre
  3. Fuel = 482.8 ÷ 11.904 = 40.56 L
  4. Cost = 40.56 L × $0.92 per litre = $37.50

Real consumption varies with speed, load, terrain, traffic and weather. Highway cruising at lower speeds is usually the most efficient.

About the Fuel Cost Calculator

Enter the distance, your vehicle’s fuel efficiency and the price of fuel and the calculator shows the fuel needed and the trip cost. It accepts miles per US gallon, miles per UK gallon, litres per 100 km and kilometres per litre, and fuel priced per US gallon, UK gallon or litre, so it works wherever you are.

Tick round trip to double the distance, and enter the number of people sharing to get a cost per person. The result uses your efficiency figure as a constant, but real consumption changes with speed, load, hills, traffic and weather. Use your car’s real-world average, not the brochure figure, for a closer estimate.

How to Use the Fuel Cost Calculator

  1. Enter the trip distance and choose miles or kilometres.
  2. Enter your fuel efficiency and its unit.
  3. Enter the fuel price and the unit it is quoted in.
  4. Read the fuel needed, trip cost and cost per person.

Formula and Method

Fuel needed

fuel = distance ÷ efficiency

With efficiency in distance per unit of fuel.

Cost

cost = fuel × price per unit

Divide by passengers for each person’s share.

L/100 km to mpg (US)

mpg = 235.215 ÷ (L/100 km)

A lower L/100 km is better.

Worked Example

A 300-mile road trip

Input: 300 mi, 28 mpg, $3.50 per US gallon

  • Fuel = 300 ÷ 28 = 10.71 US gal (40.56 L)
  • Cost = 10.71 × $3.50 = $37.50
  • Per mile = $37.50 ÷ 300 = $0.125

Result: $37.50 for the trip, 12.5 cents per mile.

Frequently Asked Questions

How do I calculate the fuel cost of a trip?

Divide the distance by your fuel efficiency to get the fuel used, then multiply by the price per unit of fuel.

How do I convert mpg to L/100 km?

Divide 235.215 by the mpg (US). 28 mpg is 8.4 L/100 km.

Does speed affect fuel cost?

Yes. Most cars are most efficient at steady moderate speeds. Driving much faster raises air resistance and fuel use noticeably.

Are US and UK gallons different?

Yes. A UK gallon is 4.546 litres and a US gallon is 3.785 litres, so 40 mpg (UK) is about 33 mpg (US).

Related Calculators

All Everyday & Other Calculators →

Sources and Further Reading

Accuracy and Scope

Results follow the formulas and scales stated on each page. Institutions, vehicles and circuits differ, so check against your own rules and equipment. See our full disclaimer.