A long drive is easier to plan when the fuel cost is a number instead of a guess. Take a concrete case: the trip is 300 miles, and your car returns 30 miles per gallon. How much fuel will the journey burn, and what will that fuel cost at the price on the pump today? This guide works that exact example through in full, showing every step, using the free Fuel Cost Calculator on Ovatly.

The same three inputs sit behind every fuel estimate: the distance, the car's consumption, and the price of fuel. Once you see how those three combine on this trip, you can rerun the identical sum for any distance, any car and any price, whether you are budgeting a holiday drive, comparing the running cost of two cars, splitting fuel money on a shared trip, or checking what a commute adds up to over a month.

Contents

  • Quick answer
  • The three inputs behind every fuel estimate
  • How to calculate the fuel cost, step by step
  • Worked example: 300 miles at 30 MPG
  • The same idea in litres per 100 km
  • Testing a different price or a different car
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

A 300-mile trip at 30 MPG uses exactly 10 US gallons of fuel, because 300 divided by 30 is 10. At a fuel price of 3.50 per gallon, those 10 gallons cost 35.00, so the trip's fuel bill is 35.00. Enter the distance, the consumption figure and the price into the Fuel Cost Calculator and it returns both numbers at once: the fuel the journey needs and the estimated cost. Change any one of the three inputs and the result updates, which makes it easy to test a higher price or a thirstier car before you commit to the drive.

The three inputs behind every fuel estimate

Distance is the simplest input: how far you will actually drive, in the unit that matches your consumption system. The calculator works in the two systems drivers actually use. With US miles per gallon, you enter the distance in miles and the price per US gallon. With litres per 100 kilometres, you enter the distance in kilometres and the price per litre. Pick the system your car reports, and keep all three inputs inside that one system.

Consumption is the figure people most often guess badly. Most cars display it on the dashboard trip computer. If yours does not, fill the tank, reset the trip meter, and at the next fill divide the fuel added by the distance driven to get your own measured figure. A consumption average from your own trip computer over a full tank is usually closer to real driving than the manufacturer's test figure, because it reflects your roads, your speeds and your load.

Price is the third input, and it is the one that goes stale fastest. Fuel prices change often, so use today's pump price for a planning figure, and re-run the numbers if prices move before a long trip.

How to calculate the fuel cost, step by step

  1. Choose the consumption system your car reports: litres per 100 km, or US miles per gallon. This example uses US miles per gallon.
  2. Enter the trip distance, in miles to match the system you chose: 300 here.
  3. Enter the consumption figure and the fuel price per US gallon: 30 MPG and 3.50 here.
  4. Read the fuel needed for the trip.
  5. Read the estimated cost, then adjust the price or consumption to test a different scenario.

Done by hand, the arithmetic is just as short. Fuel needed equals distance divided by MPG. Cost equals fuel needed multiplied by the price per gallon. The calculator simply saves you the division and keeps the two results side by side.

Worked example: 300 miles at 30 MPG

Step one is the fuel. Divide the distance by the consumption: 300 miles divided by 30 MPG gives exactly 10 US gallons. There is no rounding hiding in that answer; the numbers divide cleanly, which is what makes this a good example to learn the method on.

Step two is the money. Multiply the fuel needed by the price: 10 gallons at 3.50 per gallon gives 35.00. That is the whole calculation, and it is the same one the calculator performs: 10 gallons of fuel, 35.00 of cost.

The return leg follows the same pattern. For the round trip, double the distance before entering it: 600 miles at 30 MPG needs 20 gallons, and at the same price that is 70.00. Fuel needed and cost scale in direct proportion to distance, so doubling the distance doubles both results. Nothing else in the method changes.

The same idea in litres per 100 km

The metric version of the calculation has the same shape, with one extra division. The calculator's own example is a 300 km trip at 7 L/100 km, with fuel at 1.60 per litre. Fuel needed is 300 multiplied by 7, divided by 100, which is 21 litres. Cost is 21 multiplied by 1.60, which is 33.60. Distance times consumption gives the fuel; fuel times price gives the cost.

If your car reports one system and you think in the other, the two measures describe the same thing from opposite directions. Our companion guide, MPG vs L/100 km, explains how they relate and how to convert between them.

Testing a different price or a different car

Because the estimate rests on three inputs, changing one at a time shows you exactly what it costs. Keep the trip at 300 miles and the car at 30 MPG, but let the price rise to 3.80 per gallon: the fuel is still 10 gallons, and the cost becomes 38.00. Now keep the price at 3.50 and swap in a car that returns 25 MPG instead: the fuel needed rises to 12 gallons, and the cost becomes 42.00. Run the same trip through two cars this way and you have an honest running-cost comparison, built on your distance and your local price rather than on a generic figure.

Limitations

The result is an estimate based on the steady consumption figure you enter, so treat it as a planning figure rather than a promise about a specific journey. The estimate assumes that one consumption figure holds for the whole trip; hills, speed, air conditioning, load and traffic all move the real figure, so an individual journey usually lands a little above or below the estimate. The calculation covers fuel only: tolls, parking and other running costs are not included, and they can matter on a long drive. The tool's units are also fuel-based, so while the same idea applies to an electric car with kWh, this calculator itself works with litres and gallons.

Common mistakes

  • Mixing the two systems. Miles entered against a litres-per-100-km consumption figure, or kilometres against MPG, produce a confident and wrong answer. Match the distance unit to the system you chose.
  • Entering a UK MPG figure as-is. MPG in this calculator is US gallons. UK gallons are larger, so a UK MPG figure entered unchanged would understate the fuel needed. Convert first.
  • Forgetting the return leg. A one-way distance gives a one-way cost. For a round trip, double the distance before you enter it.
  • Budgeting on a stale price. Last month's pump price can be well off today's. Use the current price, and re-run the sum if prices move before the trip.
  • Trusting the test figure over your own average. The manufacturer's consumption figure comes from a standard test. Your trip computer's average over a full tank is usually closer to your real driving.

FAQs

How do I find my car's consumption? Most cars display it on the dashboard trip computer. Otherwise, fill the tank, reset the trip meter, and at the next fill divide litres added by kilometres driven, times 100.

How do I work out the cost of a round trip? Double the one-way distance before entering it. Fuel needed and cost scale in direct proportion to distance, so doubling the distance doubles both results.

Why is my real fuel cost different from the estimate? The estimate assumes the steady consumption figure you entered for the whole trip. Speed, hills, traffic, air conditioning, a heavy load and cold starts all change real consumption, so an individual trip usually lands a little above or below the figure.

Can I use this for diesel or LPG? Yes. The calculation only needs a consumption figure and a fuel price, so it works for petrol, diesel or LPG as long as you enter that fuel's price and your vehicle's consumption on it.

How do I convert L/100 km to MPG? For US MPG, divide 235.21 by the L/100 km figure: 7 L/100 km is about 33.6 MPG. For UK MPG divide 282.48 instead.

Conclusion

Every fuel estimate is three numbers combined in one fixed order: distance divided by consumption gives the fuel, and fuel multiplied by price gives the cost. On the worked example that is 300 miles divided by 30 MPG for 10 gallons, and 10 gallons at 3.50 for a 35.00 trip. Run your own distance, your own car's measured consumption and today's price through the same steps and you have a planning figure you can defend. For more everyday calculators and worked examples like this one, browse the Calculators guides collection.