Petrol Cost Calculator

Work out the cost of a trip from the distance, the car's fuel efficiency, and the price per litre.

Updated September 2026
mi
L/100km
$/L
Total Cost (€)
19.31 $

The formula

Cost = (Distance ÷ 100) × Fuel Efficiency × Fuel Price
# fuel efficiency in litres per 100 km

Calculate Petrol Cost for Your Vehicle

Understanding how to calculate petrol cost is essential for budgeting and planning your trips efficiently. Whether you're a daily commuter or planning a long road trip, knowing the expenses involved can help you make informed decisions. This guide will walk you through the steps to determine your petrol costs, factors affecting fuel consumption, and tips to save money.

Petrol costs depend on several variables, including:
  • Fuel price per liter
  • Distance traveled
  • Your vehicle's fuel efficiency
By the end of this guide, you'll have a clear understanding of how to calculate petrol cost accurately.

How to calculate petrol cost

Fuel cost scales directly with distance and consumption: doubling the trip length or the car's consumption rate both double the bill, because the formula is a straight multiplication with no bands, discounts or fixed costs involved.

Consumption differences compound fast. A car rated at 8 L/100km costs 60% more to cover the same distance as one rated at 5 L/100km — on a 500 km trip at €1.60/L that is €64 against €40, a €24 gap from consumption alone, before the price per litre is even compared.

What to enter:

  • Distance (km) — total trip length
  • Fuel efficiency (L/100km) — litres used per 100 km — check the trip computer for a real-world figure rather than the rated spec
  • Fuel price (€/L) — price per litre at the pump

Results appear immediately — there is nothing to submit. Changing a field rewrites the link, so you can share the exact scenario you are looking at.

Some of the fields above will accept figures that seem unusual for your own situation, and that is deliberate: the formula behind petrol cost works the same way regardless of scale, so the calculator does not stop you testing a hypothetical scenario a long way from your actual numbers — often the fastest way to see which input the result is most sensitive to.

Factors Affecting Petrol Cost

Several factors influence the total petrol cost for your vehicle. Understanding these can help you optimize your spending:
  • Fuel Price: Prices fluctuate based on global oil markets and local taxes.
  • Distance: The farther you travel, the more petrol you'll need.
  • Vehicle Efficiency: Cars with better mileage consume less fuel.
  • Driving Habits: Aggressive driving increases fuel consumption.
By monitoring these factors, you can reduce your petrol expenses.

Why petrol cost matters

A calculation like this usually gets used at a decision point rather than out of curiosity — comparing two real options, checking a number a lender or adviser has quoted, or working out whether a plan that sounded fine in conversation still holds up once it is written down with actual figures. The maths itself is rarely complicated; what is hard is remembering which figures to use and in what order, which is exactly what a dedicated calculator is for.

It is also useful as a sense check before signing anything. A quote, an offer letter or a spreadsheet from someone else can contain an error, an optimistic assumption, or simply a different convention for rounding — running the same inputs through an independent calculator is a quick way to confirm a number before relying on it.

The reason a page like this exists at all, rather than leaving the calculation to a spreadsheet or a textbook appendix, is that the formula behind petrol cost is fiddly enough to get wrong by hand but not complicated enough to need specialist software. That middle ground — real enough maths to matter, simple enough to check instantly — is exactly what a dedicated calculator is for, and it is why the same figure recalculated here should match a careful manual calculation almost exactly.

Where the same calculation needs to be run for several different scenarios side by side — three loan offers, two savings plans — the fastest approach is usually to open the calculator in a second browser tab for each one, so that the results can be compared directly rather than overwriting each other in a single set of fields.

Petrol Cost Calculator Example

Here's a simple formula to calculate petrol cost:
Total Cost = (Distance / Fuel Efficiency) * Fuel Price
Example:
Distance = 500 km
Fuel Efficiency = 15 km/l
Fuel Price = $1.20/l
Total Cost = (500 / 15) * 1.20 = $40

This means your trip will cost $40 in petrol.

Worked example

Work through the defaults on this page:

  • Distance: 100 km
  • Fuel efficiency: 8 L/100km
  • Fuel price: 1.5 €/L

That gives:

  • Total Cost (€): 12 €

These figures are only the calculator's own starting values, included so the working is visible rather than hidden inside the tool above. Replace them with your own numbers and the same arithmetic applies — nothing about the method changes, only the inputs feeding it.

How to Improve Fuel Efficiency

Improving your vehicle's fuel efficiency can significantly reduce petrol costs. Here are some tips:
  • Maintain your car regularly.
  • Use the recommended grade of petrol.
  • Avoid unnecessary idling.
  • Drive at a steady speed.
Small changes can lead to big savings over time.

Reading the result

Treat the result as a floor rather than a guaranteed figure. A manufacturer's rated consumption is a laboratory estimate, and real-world driving — city stop-start traffic, a cold engine, or sustained motorway speeds above 120 km/h — commonly runs 10–20% above it.

Where this goes wrong. Using the manufacturer's official consumption figure unchanged. Real-world fuel use is routinely higher than the rated L/100km, particularly on short journeys where the engine never reaches efficient operating temperature — check a few fill-ups against the trip computer and use that figure instead.

A useful check on any unfamiliar result is to compare it against a rough mental estimate first — round the inputs to convenient numbers and see whether the calculator's answer lands in roughly the same territory. A wildly different figure usually means one of the fields was entered in the wrong unit, most often a percentage typed as a whole number where a decimal was expected, or the reverse.

It depends on your driving habits. If you commute daily, calculating weekly or monthly can help you budget better. For occasional trips, calculate before each journey.

Yes, premium petrol is more expensive but may improve performance in some vehicles. Check your car's manual for recommendations.

Divide 282.5 by the mpg figure for UK (imperial) gallons, or 235.2 for US gallons. A car rated at 40 mpg (UK) works out to about 7.1 L/100km.

Extreme temperatures can reduce fuel efficiency, increasing costs. Cold weather, for example, makes engines less efficient.

Yes — aggressive acceleration and braking can raise consumption by 20–30% compared with smooth driving at a steady speed, which usually matters more than shopping around for a fuel price that differs by a few cents.

Fuel prices can vary by time of day or week. Some stations offer discounts during off-peak hours.

The answer it gives you is total Cost (€). With 100 km distance, 8 L/100km fuel efficiency and 1.5 €/L fuel price, that comes to 12 €. Change any field and the figure moves with it.

Advanced Petrol Cost Calculation

For a more detailed calculation, consider additional factors:
Total Cost = (Distance / Fuel Efficiency) * Fuel Price + (Tolls + Parking)
Example:
Distance = 300 km
Fuel Efficiency = 12 km/l
Fuel Price = $1.30/l
Tolls = $10
Parking = $5
Total Cost = (300 / 12) * 1.30 + 10 + 5 = $42.50

This includes all trip-related expenses.

Whenever one of the underlying figures changes — a new interest rate, a different balance, an updated term — since the result only reflects what is currently in the fields. There is no need to keep a separate record of past results; the web address for a filled-in version already carries the figures used to produce it.

Alternative Fuel Options

Exploring alternatives to petrol can also save money:
  • Electric vehicles
  • Hybrid cars
  • Public transportation
While initial costs may be higher, long-term savings can be substantial.

Not unless a tax rate or a fee is explicitly one of the inputs above. Where it is not, the figure shown is a gross calculation, and any tax due depends on your personal circumstances and current tax rules, which are worth checking separately.

Conclusion: Mastering Petrol Cost Calculation

By now, you should have a solid grasp of how to calculate petrol cost and the factors that influence it. Whether you're budgeting for daily commutes or planning a road trip, these insights will help you manage expenses effectively. Remember to revisit your calculations periodically to account for changes in fuel prices or driving habits.

The arithmetic itself is exact — the calculator applies the formula shown above precisely, with no rounding until the final figure is displayed. The uncertainty, where it exists, is entirely in the inputs: an estimated rate or an approximate balance carries that same approximation through to the result.

Was this calculator helpful?

Tap a star to rate it. Your feedback helps us improve the tools people rely on most.