Skip to content
LoveToCalc

Fuel cost calculator

Enter the distance, what your car uses and the price at the pump — get the litres, what the trip costs and what 10 km costs in your car.

Your numbers

The whole trip — there and back, if you are coming back.

Your own car: the trip computer knows it, and so do the registration papers. 10 is only where the field opens.

The price on the sign at the pump today. It moves every week, so we do not guess it for you.

Result

The fuel for this trip costs

$20

Put a second set of numbers beside this one and see the difference.

Litres used
10
Cost per 10 km
$2.00

100 km at 10 l/100 km uses 10 litres and costs $20 in fuel — $2.00 per 10 km, whoever is going where.

Fuel only. Tyres, wear, tolls, ferries, parking and the car itself are not in this figure. The consumption you type is assumed to hold for the whole trip, which it does not: a cold engine, a roof box, a full car, town driving and a headwind all raise it, and an official figure is measured in a lab — a number you have read off your own trip computer over a few tanks is worth more than any of them. One fuel at one price; a plug-in hybrid running partly on electricity is two calculations, and this is the petrol half. Distances in kilometres and fuel in litres, in both languages.

What this answers

The drive to the coast, the commute there and back every day, the long weekend somebody has to price before anyone agrees to it: what does it cost in fuel? The calculator takes the three numbers you already have — the distance, what the car uses and the price on the sign at the pump — and turns them into litres and money.

The answer comes in three parts: the litres, what those litres cost, and what 10 km costs in this car at this price. That last figure is the one worth carrying away. It does not depend on the trip, so it can be put beside another car, or beside last month at the pump.

Formula

Litres = distance × consumption / 100

Cost = litres × price per litre

Cost per 10 km = consumption / 100 × 10 × price per litre

The division by 100 is where the arithmetic happens. In Europe consumption is quoted per hundred kilometres; in Japan, India and Brazil it is usually kilometres per litre, which the last question below converts.

Worked examples

100 km in a car using 10 l/100 km at 2.00 a litre. Ten litres, 20.00, and 2.00 per 10 km. At exactly a hundred kilometres the litres used are the consumption figure itself — that is what the unit means.

470 km in a car using 6.3 l/100 km at 2.00 a litre. 29.6 litres and 59.22 one way. There and back is the same trip twice: 940 km, 59.2 litres, 118.44. Ten kilometres costs 1.26.

The commute. 30 km each way over 220 working days is 13,200 km. At 6.3 l/100 km that is 832 litres, about 1,663 a year at 2.00 a litre.

Two cars over a year. 15,000 km at 6.3 l/100 km is 945 litres; at 9.0 l/100 km it is 1,350 litres. The difference is 405 litres — what the consumption figure is actually worth in money. Put the two cars in scenarios A and B and they are shown side by side.

The numbers you fill in yourself

The price per litre is on the sign at the pump, and it is yours. It moves between Tuesday and Thursday, it differs between two stations on the same road, and it differs again between petrol and diesel. The field opens on a conspicuously round number, which is there to be typed over rather than believed.

The consumption is on the trip computer and in the car’s papers, and the two rarely agree. The official figure is measured in a lab; the trip computer’s is measured on your roads, in the way you drive. If you have read it off over a few tanks, that is the number that makes this page true for you.

What is not included

Units

Kilometres and litres, in both languages, so that a label never disagrees with the arithmetic under it. If your figure is in other units, convert it once and type the result: 30 US mpg is 7.84 l/100 km, and a car doing 12.5 km per litre uses 8 l/100 km.

Common questions

How do I work out a return trip? Type the whole distance. The field asks for the trip, not for half of it — 470 km each way is 940. That is why there is no return-trip switch: a field that means one thing with a box ticked and another with it clear is a field people type the wrong number into.

How do I split the cost between passengers? Divide the cost by the number of people. The calculator does not do that division, because the page answers what the trip costs rather than what each person owes — and because a field that sits on one for most visitors forever would only repeat the line above it.

What is l/100 km, and how do I convert from km per litre? Litres burned over a hundred kilometres. Kilometres per litre is its reciprocal: a car doing 12.5 km/l uses 100 / 12.5 = 8 l/100 km. Over 400 km that is 400 / 12.5 = 32 litres, which is exactly what the calculator arrives at.

Where is the cost for an electric car? Not here. Charging loses energy between the wall and the battery, and charging at home overnight and charging fast on the motorway are two different prices for the same car on the same journey. That is a different question and deserves a page of its own. Meanwhile the electricity cost calculator works in kilowatt-hours at your own price.

Last reviewed October 6, 2026 ·How pages are reviewed

The formula behind this

All everyday calculators

Put this calculator on your site

Copy the code into your page where the calculator should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.