How to Calculate Fuel Cost for a Trip: Formula and Example

Learning how to calculate fuel cost for a trip takes the guesswork out of planning a journey. Whether you are planning a long drive or splitting fuel expenses with friends, the maths is the same: you work out how much fuel the trip needs, then multiply by the price of fuel. This guide explains the method in plain terms, works through the example shown on the tool page, and answers the questions drivers ask most often.

To skip the manual maths, use our free Fuel Calculator and enter your distance, mileage and fuel price to see litres needed, total trip cost and cost per kilometre at once. The key idea behind it is simple: fuel use grows with distance and falls as mileage improves, so a small change in either figure moves the final cost.

The Formula

Fuel cost for a trip comes from three linked calculations, and each one answers a different question. The first tells you how much fuel the trip needs. The second turns that fuel into money. The third spreads the cost over every kilometre, which is handy for comparing cars or routes. The formulas used on the tool page are: Fuel needed = Distance / Mileage; Trip cost = Fuel x Price per litre; Running cost per km = Price / Mileage.

Each part has a clear meaning. Distance is the total length of the trip in kilometres, for example 500 km. Mileage is how far your vehicle travels on one litre of fuel, for example 20 km per litre; for CNG vehicles, use kilometres per kilogram instead. Price is the current fuel price per litre, for example Rs 105. Fuel needed is the result of the first formula, in litres. Trip cost is the total money the trip needs for fuel. Running cost per km is the fuel cost of driving a single kilometre, which stays the same whatever the trip length.

Notice that the running cost per kilometre does not use distance at all: it is simply the fuel price divided by mileage. That is why two cars on the same road can have very different per-kilometre costs even when the fuel price is the same. It also means that once you know your car’s running cost, you can price any trip by multiplying it by the distance.

How to Calculate Fuel Cost for a Trip Step by Step

  1. Write down the total trip distance in kilometres. Use the road distance for the route you will actually drive, not the straight-line distance on a map, for example 500 km.
  2. Note your vehicle’s real mileage in kilometres per litre. Use the mileage you actually get on the road, not the company-claimed figure, for example 20 km per litre.
  3. Divide the distance by the mileage to get the fuel needed. For the example, 500 divided by 20 gives 25.00 litres.
  4. Multiply the fuel needed by the current fuel price per litre to get the trip cost. For the example, 25.00 litres times Rs 105 gives Rs 2,625.00.
  5. Divide the fuel price by the mileage to get the running cost per kilometre. For the example, Rs 105 divided by 20 gives Rs 5.25 per km. This figure lets you compare trips of any length at a glance.

Always keep the units consistent: distance in kilometres and mileage in kilometres per litre, so the litres cancel correctly. Mixing miles and kilometres, or using litres per 100 km, will give a wrong answer. For CNG, keep everything in kilograms instead of litres.

Worked Example

Take the example shown on the tool page: a trip of 500 km, a mileage of 20 km per litre, and a fuel price of Rs 105 per litre. First, fuel needed is 500 divided by 20, which is 25.00 litres. Next, trip cost is 25.00 litres times Rs 105, which is Rs 2,625.00. Finally, running cost is Rs 105 divided by 20, which is Rs 5.25 per km. So the 500 km trip needs 25.00 litres of fuel and costs Rs 2,625.00, at Rs 5.25 for every kilometre driven.

Try the same steps with a shorter trip. A 200 km drive at the same mileage and price needs 200 divided by 20, which is 10.00 litres, costing 10.00 times Rs 105, which is Rs 1,050.00, while the running cost stays Rs 5.25 per km. The per-kilometre figure does not change with distance, which is why it is the quickest way to compare two cars: a car doing 15 km per litre at Rs 105 costs Rs 7.00 per km, while one doing 25 km per litre costs Rs 4.20 per km.

Common Mistakes / Good to Know

  • Using company-claimed mileage: the tested figure is measured in ideal conditions, while real-world mileage is usually 10 to 20 percent lower, especially in city traffic. Using the claimed figure will understate both fuel needed and trip cost.
  • Forgetting air conditioning: AC typically raises fuel consumption by about 5 to 15 percent depending on the car and weather, so a summer trip with the AC on will cost more than the same trip in mild weather.
  • Mixing up the division: fuel needed is distance divided by mileage, not the other way round. Dividing mileage by distance gives a meaningless small number instead of litres.
  • Ignoring price changes: fuel prices move often, so a trip costed at last month’s price can be out of date. Always use the current price at the pump you will actually use, and remember tolls, parking and food are extra.

One more point worth remembering: this is an estimate for fuel alone. It does not include tolls, parking, servicing or the value of your time, so keep a small buffer over the calculated figure when you budget a long trip.

Frequently Asked Questions

What is the formula for fuel cost for a trip?

The formulas are: Fuel needed = Distance divided by Mileage; Trip cost = Fuel times Price per litre; and Running cost per km = Price divided by Mileage. Work out the fuel first, then the money, then the per-kilometre cost.

How much fuel does a 500 km trip need at 20 km per litre?

It needs 25.00 litres, because 500 divided by 20 is 25. At Rs 105 per litre, that trip costs Rs 2,625.00, which works out at Rs 5.25 per km.

Why is my real fuel cost higher than the calculation?

Usually because the mileage you used is the company-claimed figure, while real-world mileage is 10 to 20 percent lower, especially in city traffic. Air conditioning also raises consumption by about 5 to 15 percent, so both effects push the real cost above the estimate.

Does the running cost per km change with trip distance?

No. Running cost per km is the fuel price divided by mileage, so it stays the same for any distance. A longer trip costs more in total only because it uses more litres, not because each kilometre gets dearer.

For the full cost of a road trip, add tolls to your fuel figure with our Toll Calculator India. And for the time side of the journey, read How to Calculate Time Duration Between Two Dates.

3 thoughts on “How to Calculate Fuel Cost for a Trip: Formula and Example”

Leave a Comment