Finance

Fuel Cost Calculator

Fuel cost = distance ÷ fuel economy × fuel price. Enter distance, economy in km/L, L/100 km or mpg (US or UK), and your fuel price. Get fuel needed, total cost, cost per person, and cost per km and per mile.

Total fuel cost

8,750

In the currency of your price

Cost per person

8,750

Split between 1

Fuel needed

31.25 L

For 375 km driven

Cost per km

23.3333

Cost per mile

37.5514

Steps

  1. Distance driven = 375 km = 375 km (233.01 miles). 1 mile = 1.609344 km.
  2. Fuel economy 12 km/L = 12 km/L.
  3. Fuel needed = 375 km ÷ 12 km/L = 31.25 liters.
  4. Total cost = 31.25 liters × 280 per liter = 8,750.
  5. Per person = 8,750 ÷ 1 = 8,750.
  6. Cost per km = 8,750 ÷ 375 = 23.3333; per mile = 37.5514.
https://calcwell.net/calculators/fuel-cost-calculator?dist=375&du=km&eco=12&eu=kmpl&price=280&pu=liter&rt=0&people=1
Share, cite or embed this calculator

Share link (includes current inputs when available)

Cite this calculator

CalcWell. "Fuel Cost Calculator." CalcWell, https://calcwell.net/calculators/fuel-cost-calculator. Accessed 2026-11-28.

Embeddable widget

Embed on your site with attribution linking back to calcwell.net.

<iframe src="https://calcwell.net/calculators/fuel-cost-calculator" title="Fuel Cost Calculator" width="100%" height="520" loading="lazy" style="border:1px solid #e5e7eb;border-radius:8px;"></iframe>
<p>Calculator by <a href="https://calcwell.net/calculators/fuel-cost-calculator" rel="noopener">CalcWell</a></p>

Worked example

Default example: 375 km at 12 km/L, fuel at an illustrative 280 per liter (an example, not an official price).

Fuel needed = 375 ÷ 12 = 31.25 L. Cost = 31.25 × 280 = 8,750, which is 23.33 per km.

Answer: 31.25 L, cost 8,750

How fuel cost is calculated

Trip fuel cost needs three things: how far you drive, how far your vehicle goes on a unit of fuel, and what a unit of fuel costs. Everything else is arithmetic. The calculator first converts your economy figure to kilometers per liter, then works in liters, then converts to the unit your price is quoted in:

Fuel needed (L) = Distance (km) ÷ Fuel economy (km/L)

Total cost = Fuel needed in the price unit × Price per unit

Cost per person = Total cost ÷ Number of people

Cost per km is the total cost divided by the kilometers driven, and cost per mile is that figure multiplied by 1.609344. A round trip simply doubles the distance. If you want to check any single conversion by hand, the unit converter covers kilometers, miles, liters and gallons.

Formulas for each unit system

Fuel economy is quoted in four common ways, and two of them are inverses of each other. Distance per fuel (km/L, mpg) gets bigger as the vehicle gets more efficient. Fuel per distance (L/100 km) gets smaller. The calculator uses these exact constants: 1 mile = 1.609344 km, 1 US gallon = 3.785411784 L and 1 UK (imperial) gallon = 4.54609 L.

  • km/L: use as is.
  • L/100 km: km/L = 100 ÷ (L/100 km). A car using 8 L/100 km does 12.5 km/L.
  • mpg (US): km/L = mpg × 1.609344 ÷ 3.785411784.
  • mpg (UK): km/L = mpg × 1.609344 ÷ 4.54609.

Conversion table

The table converts four typical economy figures between the systems. Notice how the same car looks about 20% better in UK mpg than in US mpg, only because the UK gallon is larger.

Fuel economy equivalents (rounded to 2 decimals)
km/LL/100 kmmpg (US)mpg (UK)
1010.0023.5228.25
128.3328.2333.90
156.6735.2842.37
205.0047.0456.50

Worked examples

Example 1: Lahore to Islamabad in km and liters

The motorway distance is roughly 375 km. Your car does 12 km/L. For illustration only, assume a petrol price of 280 per liter. This is an example figure, not a current official price, so type in what you actually pay. Fuel needed = 375 ÷ 12 = 31.25 L. Cost = 31.25 × 280 = 8,750. Driving back as well doubles it to 62.5 L and 17,500, and split between 4 people that is 4,375 each. The cost per km is 8,750 ÷ 375 = 23.33.

Example 2: a US road trip in miles and mpg

You drive 300 miles in a car that gets 30 mpg (US), with fuel at $3.50 per US gallon (again an illustration). Fuel needed = 300 ÷ 30 = 10 gallons, which is 10 × 3.785411784 = 37.85 L. Cost = 10 × 3.50 = $35.00. That works out to $35 ÷ 300 = $0.1167 per mile. A round trip is 20 gallons and $70.00, or $35.00 each for two people.

Example 3: UK gallons

A 100 mile journey at 40 mpg (UK) uses 100 ÷ 40 = 2.5 UK gallons, which is 2.5 × 4.54609 = 11.37 L. If the price is £6.80 per UK gallon, an example figure, the cost is 2.5 × 6.80 = £17.00. Had you mistakenly used the US gallon, you would have thought the car burned only 9.46 L.

Why real consumption differs from the figure on paper

The number in the brochure comes from a standardized test. Your trip will use more fuel in several ways:

  • Speed. Air resistance climbs steeply, so a motorway at 120 km/h burns noticeably more per km than the same road at 90 km/h.
  • Air conditioning. In hot weather it can add a meaningful share to consumption, especially in stop and go driving.
  • Traffic. Idling and repeated acceleration give a worse figure than steady cruising.
  • Load. Passengers, luggage and a roof rack all raise consumption.
  • Tire pressure. Under-inflated tires increase rolling resistance, and an engine in poor tune wastes fuel too.
  • Terrain and weather. Hills, headwinds and cold starts all cost fuel.

For a safer budget, use your own measured economy and add a margin, for example 10%. To see what a 10% margin does to a cost, the percentage calculator will do it in a second.

Common mistakes

  • Mixing US and UK gallons. A UK gallon is about 20% larger than a US gallon, so the same mpg number means different economy. Always pick the unit your figure was measured in.
  • Treating L/100 km as higher is better. It is the inverse: a lower number means a more efficient vehicle. 5 L/100 km is excellent, 12 L/100 km is thirsty.
  • Forgetting the return trip. Enter the one-way distance and tick the round trip box, or the total will be half of what you really spend.
  • Comparing price per liter with price per gallon. Convert both to the same unit first, or let the calculator do it.
  • Averaging economy figures. To combine trips, add up the total fuel and total distance, then divide (total liters ÷ total km × 100). A plain average of L/100 km values is only right when the trips are the same length: 100 km at 5 L/100 km plus 300 km at 10 L/100 km is 35 L over 400 km, or 8.75 L/100 km, not 7.5.

Using the result

Treat the total as a planning figure rather than a receipt. Because fuel economy changes with conditions, a good habit is to run the calculator twice, once with the optimistic brochure number and once with a pessimistic figure from your own fill-ups, and budget somewhere between the two. When several people share a car, agreeing the per-person amount before leaving avoids awkward conversations later.

The cost per km and per mile make it easy to compare a drive with a bus, train or flight, and to decide how much to ask passengers to chip in. If you are also budgeting running costs at home, the electricity cost calculator works the same way for appliances. For more tools like this one, browse the finance calculators or the conversion calculators, and read metric vs imperial for a plain explanation of why the unit systems differ.

Frequently asked questions

Which currency does the result use?

The same one as the fuel price you type in. The calculator does no currency conversion, so entering 280 per liter gives a total in that same currency, and entering 3.50 per gallon gives dollars, euros or whatever you used.

Can I use the price per gallon with a km/L car?

Yes. The three unit menus are independent. The calculator converts everything to liters first, so you can drive in kilometers, read your economy in L/100 km and still price fuel per US gallon.

Where do I find my vehicle’s fuel economy?

The most reliable figure is your own: fill the tank, note the odometer, drive normally, fill again, then divide distance by liters added. The trip computer is a quick alternative, and the manufacturer figure is usually the most optimistic of the three.

Does it include tolls, parking or wear and tear?

No, only fuel. Motorway tolls, parking, tires, servicing and depreciation come on top. If you split a trip with others, agree on those extras separately and add them to the per-person share.

How are petrol, diesel and LPG handled?

The math is the same for any liquid fuel, so enter the price of the fuel your vehicle uses. Fuel economy figures already reflect the fuel type, which is why a diesel car and a petrol car of the same size have different numbers.

What if my trip is mixed city and highway?

Run it twice, once for each part with its own economy figure, then add the two totals. A single blended average is fine for a rough estimate, but separate runs are closer when the two parts differ a lot.

We use cookies and similar technologies to improve your experience, analyze traffic, and show personalized ads. By clicking "Accept", you consent to the use of cookies. Privacy Policy · Cookie Policy