Fuel Cost Calculator

Plan any trip with confidence. Enter your distance, vehicle efficiency, and fuel price to get the total fuel cost, cost per km or mile, cost per person, CO2 output, and a two-vehicle comparison -- all with automatic unit conversion.

Vehicle A
Vehicle B (optional - for comparison)
Leave empty to skip the comparison. Use it to find which car is cheaper on the same trip.
Enter your trip details and click Calculate to see the total fuel cost, per-person share, CO2 output, and more

How to Use the Fuel Cost Calculator

1

Enter your trip distance

Type the distance you plan to travel and choose whether it is in kilometres or miles. Tick the round-trip box if you want the total for going there and coming back.

2

Add your vehicle fuel efficiency

Enter the efficiency of Vehicle A, and choose the right unit: km per litre, miles per gallon, or litres per 100 km. For CNG, use km per kg or kg per 100 km.

3

Compare a second vehicle (optional)

Enter the efficiency of Vehicle B if you want to see which car is cheaper for the same trip. Leave it blank to skip the comparison.

4

Pick your fuel and price

Choose petrol, diesel, or CNG. A sensible default price is filled in, and you can edit it to match the pump price in your local currency.

5

Set passengers and calculate

Enter how many people will share the trip if you want a per-person cost, then click Calculate to see the total fuel cost, fuel needed, CO2 output, and more.

Fuel Cost Calculator: More Than Just a Trip Total

Fuel is usually the biggest variable cost of any road trip or daily commute, and most simple fuel calculators stop after giving you one number. This calculator goes further. It works in the units you actually use, converts everything for you, and answers the questions people ask before they drive: what is it per kilometre or per mile, how much does each passenger owe, how much CO2 does this trip create, and which of two vehicles is cheaper on the same route.

Everything runs locally in your browser. No trip details are stored or sent anywhere, so you can plan freely without worrying about privacy.

Automatic Unit Conversion

The fastest way to get a wrong fuel estimate is to mix up units. Distance gets measured in kilometres or miles, and efficiency is quoted in three different ways around the world. This calculator accepts kilometres or miles for distance, and km per litre, miles per gallon (MPG), or litres per 100 km for efficiency. No matter which combination you enter, the tool converts everything into the same measurement behind the scenes and gives you one trustworthy result. When you pick CNG, the efficiency options switch to km per kg and kg per 100 km to match how that fuel is actually bought and measured.

Round-Trip Planning

Most people want to know the cost of the whole journey, both ways, but measuring the return leg separately is easy to forget. Tick the round-trip option and the distance is doubled automatically. Plan a 120 km drive to visit family, tick the box, and the calculator prices the full 240 km round trip straight away. This makes the tool just as useful for planning the weekly commute before work as it is for a weekend getaway.

Cost Per Kilometre (or Mile)

Seeing the cost per unit of distance makes fuel costs easy to compare. A trip that sounds expensive at, say, 50 currency units might be a very reasonable amount per kilometre, while a bargain-looking trip could hide a costly per-kilometre rate. The calculator shows cost per km or per mile automatically, so you can judge value at a glance and compare different routes honestly. This is the number car reviewers and fleet managers actually talk about, because it normalises cost no matter how long the journey is.

Cost Per Person: Fair Splitting Made Simple

Travelling with friends or family means splitting the fuel bill, and nobody wants to do awkward mental arithmetic at the pump. Enter the number of passengers, and the calculator divides the total cost evenly, showing exactly what each person owes. It is perfect for weekend trips with friends, carpooling to work, or planning a group holiday where the driver should not have to pay more than everyone else.

CO2 Emission Estimate

Fuel consumption directly creates carbon dioxide, and knowing roughly how much your trip produces helps you understand your transport footprint. Based on how much fuel your vehicle burns and what you are burning, the calculator estimates the CO2 output of the trip in kilograms. Petrol, diesel, and CNG all emit different amounts per unit burned, and the estimate adjusts automatically. It is an estimate, not a laboratory measurement, but it is a genuinely useful way to compare the environmental side of driving one car versus another.

Two-Vehicle Comparison

The standout feature of this calculator is the two-vehicle comparison. Buying a new car, deciding between two family cars, or just wondering if the diesel version of your car was worth it? Enter the efficiency of a second vehicle and the calculator works out the fuel cost for both cars on the exact same trip, clearly marks the cheaper option, and tells you roughly how much the saving would be per trip. You test-drive the maths long before you test-drive the car, and on long commutes a small per-trip difference becomes a large yearly saving.

Here is an example. Imagine a 100 km daily commute. Vehicle A does 15 km per litre and vehicle B does 12 km per litre. At the same fuel price, Vehicle A uses about 6.7 litres while Vehicle B uses about 8.3 litres. Over 20 working days a month, that difference adds up to roughly 32 litres a month in favour of Vehicle A -- a meaningful annual saving. This is exactly the kind of decision this comparison makes obvious in seconds.

How the Calculator Works Out the Numbers

The maths is simple and reliable. The tool converts your distance into kilometres, converts your efficiency into km per unit of fuel, and divides distance by efficiency to find the fuel needed. It then multiplies the fuel needed by your price to get the total cost. From there, dividing by the trip distance gives cost per km or mile, dividing by passengers gives cost per person, and multiplying the fuel used by an emissions factor gives the CO2 estimate. You can always check your own figures against the "How This Was Calculated" panel, which shows every input and result clearly.

Finding Your Real Fuel Efficiency

Manufacturer fuel efficiency figures are measured in ideal conditions, and real-world driving usually lands 10-20% below the sticker number. The accurate way to find your own figure: fill the tank completely, zero the odometer, drive normally until the next fill, and divide the distance covered by the fuel added. Repeat it a few times and average the results. Cold starts, city traffic, and roof racks all make real efficiency worse, while steady highway driving makes it better. Use your own average and the calculator becomes remarkably accurate for budgeting.

Budgeting for Commutes and Big Trips

A 30 km round-trip commute, five days a week, is about 600 km a month. At a typical efficiency and price, that is a noticeable share of monthly income. Multiply by the number of working months and you have the real yearly cost of your commute. This calculator makes that figure clear, which helps you answer serious questions: is a longer commute worth the higher salary, is a more efficient vehicle worth the upgrade, or would public transport actually win? For one-off road trips, add a 10-15% buffer to the result for traffic, detours, and weather, and you have a very safe travel budget.

Frequently Asked Questions

One mile is about 1.61 kilometres and one US gallon is about 3.79 litres, so 1 MPG is roughly 0.43 km per litre. To convert MPG to km per litre, multiply by 0.43. To go the other way, divide by 0.43. The calculator does this automatically, so you can enter whichever unit is written on your vehicle.
Litres per 100 km is the fuel a vehicle uses to drive 100 kilometres. A lower number means a more efficient vehicle. It is the standard in Europe and some other regions. The calculator converts it into km per litre behind the scenes, so the result is always consistent with a km per litre or MPG entry.
You fill in the efficiency of Vehicle A and optionally Vehicle B, both for the same trip and same fuel price. A comparison card appears showing the cost for each vehicle, marks the cheaper one, and states roughly how much it saves per trip. Use it to decide between cars or to see how much money an upgrade would really save.
It is a solid estimate, not a laboratory measurement. The tool multiplies the fuel you burn by an average emissions factor per fuel type -- petrol, diesel, and CNG emit different amounts. Real-world emissions depend on driving style, load, and maintenance, so treat the figure as a good planning guide rather than an exact reading.
To save you from hunting for a number before you can use the tool. The default is a rough mid-range price in an unspecified local currency, and any calculation is only as accurate as the price you enter. Change it to the current pump price in your area, in your own currency, and the results update to match reality.
Yes. Enter the distance in miles, keep miles selected, and tick the round-trip box. The total distance is doubled and everything else, including the cost per mile and CO2, is calculated from the doubled figure.
Cost per unit of distance lets you compare trips of different lengths fairly. A 500 km trip might cost more in total, but if it is cheaper per kilometre than your usual commute, it is actually better value. It is also the standard used in fleet management and by car reviewers for comparing running costs.
Yes. Choose CNG as the fuel type and the calculator switches to kg-based units: efficiency in km per kg or kg per 100 km, and price per kg. Fuel needed is shown in kg of CNG, and the CO2 estimate uses a CNG emissions factor.
No. All inputs and calculations stay in your browser. Nothing is sent to any server, and no trip details are stored. Your travel planning remains completely private.