Fuel Cost Calculator
Estimate what a journey will cost in fuel. Enter distance, your car efficiency in any common unit and the fuel price, then split the bill between passengers. To see the gas cost for 100 km, simply enter 100 as the distance.
Runs in your browser. Your files are never uploaded.
Loading Fuel Cost Calculator…
How to use Fuel Cost Calculator
- Enter the trip distance in kilometres or miles.
- Enter your fuel efficiency and choose km/L, L/100km, mpg (US) or mpg (UK).
- Enter the fuel price and whether it is per litre, US gallon or UK gallon.
- Set the number of passengers to see each share, or use the converter card to switch efficiency units.
Gas cost for 100 km at different efficiencies
The cost of 100 km is simply litres per 100 km multiplied by the fuel price per litre. These examples use an assumed price of 1.80 per litre purely for illustration, so scale them to your own price.
- 5 L/100km: 5 × 1.80 = 9.00 per 100 km
- 6 L/100km: 6 × 1.80 = 10.80 per 100 km
- 7 L/100km: 7 × 1.80 = 12.60 per 100 km
- 8 L/100km: 8 × 1.80 = 14.40 per 100 km
- 10 L/100km: 10 × 1.80 = 18.00 per 100 km
- 12 L/100km: 12 × 1.80 = 21.60 per 100 km
The formulas
Everything is converted to litres per kilometre first. From km/L that is 1 ÷ x; from L/100km it is x ÷ 100; from US mpg it is 3.785411784 ÷ (1.609344 × x); and from UK mpg it is 4.54609 ÷ (1.609344 × x). Then fuel used = distance in km × litres per km, and trip cost = fuel used × price per litre. Prices per gallon are divided by the matching gallon size in litres.
Worked example: a 250 km trip in a car using 7.5 L/100km needs 250 × 0.075 = 18.75 litres. At 1.80 per litre the cost is 18.75 × 1.80 = 33.75, or 0.135 per km. Split between four people, each pays 8.44 after rounding.
Ways to spend less on fuel
- Keep tyres inflated to the pressure recommended for your vehicle.
- Drive smoothly: heavy acceleration and braking increase consumption.
- Remove roof racks and unneeded weight when not in use.
- Share rides for regular commutes and long trips.
- Plan routes to avoid heavy traffic and unnecessary detours.
What this tool does not include
The calculator covers fuel only. Tolls, parking, maintenance, insurance and depreciation are separate costs, and electric vehicles use kilowatt-hours rather than litres. Currency is whatever your price is in; the tool performs no currency conversion. Treat the result as a planning estimate, not a guaranteed figure. A useful habit is to note the fuel used and distance at each fill-up and compute your own real-world efficiency; that measured number is almost always more honest than the brochure figure, because it reflects your roads, loads and driving. Enter it in the tool for a trustworthy trip budget. All inputs stay in your browser.
Why use this fuel cost calculator tool
- Four efficiency units. km/L, L/100km, US mpg and UK mpg, with accurate gallon definitions.
- Full trip breakdown. Total cost, fuel needed, cost per km and per mile.
- Cost splitting. Divide the fuel bill fairly between everyone in the car.
- Efficiency converter. Convert any efficiency value into all four units at once.
Frequently asked questions
How do I convert litres of diesel or petrol to kilometres?
Multiply the litres by your fuel efficiency in km per litre. For example, 1 litre at 15 km/L takes you 15 km, and 18 litres takes you 270 km. If you know L/100km instead, divide 100 by that figure to get km per litre. Enter any distance and efficiency in the calculator to see the fuel needed and its cost.
How do I calculate the fuel cost per mile?
Divide the fuel price per gallon by your miles per gallon. A car doing 30 mpg with fuel at 3.60 per gallon costs 3.60 ÷ 30 = 0.12 per mile. If you know litres instead, divide the price per litre by km per litre to get the cost per km, then multiply by 1.609 for the cost per mile. Enter your distance, efficiency and price above and the calculator shows both.
How do I work out the cost of 18 litres of petrol?
Multiply the litres by the price per litre. For example, 18 litres at 1.80 per litre costs 18 × 1.80 = 32.40. To find a price per litre from a total, divide the total cost by the litres bought.
How do I convert 7.5 L/100km to mpg?
Divide 235.215 by the L/100km figure for US mpg, and 282.481 for UK mpg. So 7.5 L/100km is about 31.4 US mpg or 37.7 UK mpg. The calculator does this when you choose L/100km or mpg as your unit.
What is the formula for fuel cost per km?
Fuel cost per km = fuel price per litre ÷ km per litre. A car doing 12.5 km/L with fuel at 1.80 per litre costs 1.80 ÷ 12.5 = 0.144 per km, or about 14.4 per 100 km.
How do I convert L/100km to km/L?
Divide 100 by the L/100km figure. A car using 8 L/100km does 100 ÷ 8 = 12.5 km/L. To go the other way, divide 100 by the km/L figure. In the calculator, pick L/100km as your efficiency unit and the other values are shown for you.
How do I calculate the cost of fuel per mile?
Divide the fuel price per gallon by your miles per gallon. For example, fuel at 3.50 per gallon in a car doing 30 mpg costs 3.50 ÷ 30 = about 0.12 per mile. In the calculator, enter 1 mile as the distance, your efficiency and the fuel price, and the cost per mile is shown in the trip breakdown. The price used here is only an example.
How much does it cost to drive 100 km in gas?
Multiply your fuel use per 100 km by the price of one litre. A car using 7 L/100km with fuel at 1.80 per litre spends 7 × 1.80 = 12.60 per 100 km. In the calculator, enter 100 as the distance, your efficiency and the fuel price to get the answer in any unit. The price here is only an example, so use your local price.
Why do US and UK mpg differ?
The UK (imperial) gallon is 4.54609 litres while the US gallon is 3.785411784 litres, so the same car shows a higher number in UK mpg. For instance, 30 US mpg is about 36 UK mpg. Always check which gallon a figure uses.
How do I convert mpg to L/100km?
For US mpg, divide 235.215 by the mpg figure; for UK mpg, divide 282.481. So 30 US mpg is 235.215 ÷ 30, about 7.84 L/100km. Notice that a higher mpg is better but a lower L/100km is better.
Is the cost exact?
No, it is an estimate. Real consumption depends on speed, load, traffic, terrain, tyre pressure, air conditioning and driving style, and prices change by station. Use the official or measured efficiency of your own vehicle for the best result.
More free tools
Calorie and BMR Calculator
Estimate your basal metabolic rate with the Mifflin-St Jeor equation, daily calories for your activity level, and calorie targets for losing or gaining weight.
Open toolPregnancy Due Date Calculator
Estimate your due date from the first day of your last period (with cycle length) or conception date, see weeks pregnant today and trimester dates.
Open toolFraction Calculator
Free fraction calculator for mixed numbers and fractions. Add, subtract, multiply or divide and get the simplified fraction, mixed number, decimal and steps.
Open tool