Fuel Cost Calculator

Find how much fuel a trip will use and cost from the distance, fuel economy and fuel price.

Loading calculator...

Fuel cost calculator in short
On this page

How to use the fuel cost calculator

1

Choose US or metric units

Miles and mpg, or km and L/100 km.

2

Enter the trip distance

For example 300 miles.

3

Enter your car’s fuel economy and fuel price

For example 28 mpg and $3.50 per gallon.

4

Choose one way or round trip

And how many people share the cost.

How trip fuel cost is calculated

Divide the distance by your fuel economy to find how much fuel you need, then multiply by the price. Real fuel use changes with speed, traffic, load and weather, so treat the result as an estimate.

Fuel cost formulas

US: fuel (gallons) = miles ÷ mpg

Metric: fuel (liters) = km × L/100 km ÷ 100

Cost = fuel × price per gallon or liter

Example 1: a 300-mile trip

28 mpg at $3.50 a gallon.

  • Fuel needed 10.71 gallons
  • Fuel cost $37.50
  • Cost per mile $0.125

Example 2: round trip shared by 3

The same trip there and back.

  • Total cost $75.00
  • Each person $25.00

Example 3: metric

500 km at 7.5 L/100 km, 1.60 per liter.

  • Fuel needed 37.5 liters
  • Fuel cost 60.00

Ways to cut fuel costs

Drive steadily

Smooth speed uses less fuel than hard acceleration.

Check tire pressure

Low tires raise fuel use.

Lighten the load

Extra weight and roof boxes cost fuel.

Share the ride

Splitting the cost makes trips cheaper.

Related tools

Find your car’s real mileage with the MPG calculator, plan travel time with the speed distance time calculator, or work out driving costs with the gig driver cost per mile calculator.

Fuel cost calculator FAQ

Divide the miles by your mpg, then multiply by the price per gallon.

At $3.50 a gallon, about $37.50.

Divide 235.215 by the L/100 km figure.

Use the one that matches most of your trip, or a combined figure.

Divide the total fuel cost by the number of people.

No. It covers fuel only.

Embed this calculator on your website

Free to use on any site. Copy the code below and paste it into an HTML block on your page. Please keep the credit link under the calculator.

Show the embed code

Works with WordPress, Wix, Squarespace, Webflow and most site builders that allow HTML. How embedding works.

Estimates, not advice

PureCalculate’s calculators give estimates for planning and education. They aren’t financial, tax or legal advice. Fees and tax rules change, so check the official source before making a decision. Spotted a mistake? Please tell us through the contact page.

Scroll to Top