Saved

Press the star next to a tool's name to save it.

All my tools

Petrol vs Diesel Cost Calculator

Enter your yearly distance, mileage and fuel prices, and this petrol vs diesel cost calculator shows which car costs less and when a diesel's higher price pays off.

Restored your last values ·

Petrol car

Diesel car

Use the same currency for every price. If you leave the years blank, 5 years is used.

–

Enter your figures to compare.

See full result

A petrol vs diesel cost calculator helps you decide which kind of car makes financial sense for the way that you drive. Enter how far you travel each year, the mileage of each car, and current fuel prices, and this petrol vs diesel cost calculator works out your yearly fuel bill and your cost per mile or kilometer for both. If the diesel version costs more to buy, it also shows how long that extra price takes to pay for itself. The answer depends mostly on your distance, so a short test with your own figures is more useful than a general rule.

How to use the petrol vs diesel cost calculator

  1. Enter your yearly distance in miles, or in kilometers if you choose Metric.
  2. Add the mileage and the fuel price for the petrol car.
  3. Do the same for the diesel car.
  4. Enter the extra purchase price of the diesel version, if there is one, and the number of years you expect to keep it.
  5. Press Compare costs to see the result.

How the comparison works

  • Cost per mile or km = fuel price ÷ miles per gallon or km per litre
  • Yearly fuel cost = distance per year × cost per km
  • Yearly saving = petrol cost − diesel cost
  • Time to recover the extra price = extra price ÷ yearly saving
  • Break-even distance = extra price ÷ saving per mile or km

Petrol vs diesel example

Suppose that you drive 15,000 km a year. A petrol car gives 16 km per litre with fuel at 100 per litre, so it costs 6.25 per km, or 93,750 a year. A diesel car gives 20 km per litre with fuel at 90, so it costs 4.50 per km, or 67,500 a year. Diesel saves 26,250 each year. If the diesel car costs 1,50,000 more to buy, that extra amount takes about 5.7 years to recover, or roughly 85,714 km. Over five years, petrol would still come out ahead by 18,750. At 25,000 km a year, however, the saving grows to 43,750, and the extra price is recovered in about 3.4 years.

Miles and gallons or kilometers and litres

The calculator opens in US units, with distance in miles, fuel economy in miles per gallon and prices per gallon. Choose Metric to enter kilometers, kilometers per litre and prices per litre instead. The math is the same either way. For example, at 12,000 miles a year, a gas car getting 30 mpg with fuel at $3.50 a gallon costs about $1,400 a year. A diesel getting 35 mpg with fuel at $3.90 costs about $1,337.

What makes the difference?

Three things decide the result: how far you drive, the gap in fuel price, and the gap in mileage. A diesel engine ignites its fuel through compression instead of using a spark, and a diesel car in the same model range will often report better mileage than the petrol version. Whether that saves you money depends on how much more the diesel version costs to buy, and on the price of each fuel where you live. The more kilometers you drive, the faster any saving per kilometer builds up. Someone who drives only short distances may never recover a large price difference.

Where to find accurate figures

  • Fuel price: use today's pump price in your own city.
  • Mileage: real-world figures are more useful than a brochure figure. If you own a similar car, measure the mileage over a full tank.
  • Yearly distance: compare two odometer readings, or multiply your daily commute by your working days and add your longer trips.
  • Extra price: compare on-road prices for matching versions of the two cars.

Costs this calculator leaves out

Fuel is only one part of the cost of owning a car. Servicing, tires, insurance, road tax and finance charges can all differ between two versions, and so can the resale value when you decide to sell. Diesel models may also face different emission rules or restrictions, depending on where you live, and these can affect how long you can keep using a car or what it is worth later on. Check the local rules before you commit, and get service cost estimates from a dealer if those costs matter to you.

Driving style and conditions

The way that you drive has a real effect on your actual mileage. Heavy traffic, frequent short trips, hard acceleration and air conditioning all use more fuel, while steady highway driving generally uses less. Try the calculator with a cautious set of mileage numbers as well as an optimistic set. If the winner remains the same in both cases, you can feel more confident about the decision. If the result flips, the two options are close enough that other factors should decide.

Fuel price changes

Fuel prices change over time, and the gap between petrol and diesel can widen or narrow. Since the calculator assumes that today's prices continue, it's sensible to test what happens if the difference changes. Try a higher diesel price and see how much the payback period moves. A result that depends on a very small price gap isn't a safe basis for a big purchase.

Common mistakes

  • Using brochure mileage. Real-world figures are often lower.
  • Ignoring the extra purchase price. Lower fuel bills may not make up for it.
  • Overestimating your distance. Check your actual odometer readings.
  • Comparing different trim levels. Match the equipment as closely as you can.

Measure your actual fuel use with the mileage calculator, compare an electric car with the EV vs petrol savings calculator, and work out a journey's cost with the trip cost calculator.

What next

Use this often? Add Petrol vs Di to your Home screen.

Frequently asked questions

How does the petrol vs diesel cost calculator work?

It divides each fuel price by that car's mileage to get a cost per mile or km, then multiplies by your yearly distance.

Is diesel cheaper than petrol?

It depends on your fuel prices, mileage and distance, and on how much more the diesel car costs to buy.

How do I find the break-even point?

Divide the diesel car's extra price by the yearly fuel saving. That gives the number of years.

Does it include servicing and insurance?

No. It compares fuel and purchase price only, so check other costs separately.

Can I use another currency?

Yes. Choose Metric, then enter every price in the same currency.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Everyday Life Tools