Fuel Cost Calculator

This fuel cost calculator estimates trip fuel costs from kilometres, L/100km and price per litre. A 300 km trip at 7.5 L/100km and US$1.60/L uses 22.5 L and costs US$36.00. Add a return journey, split costs evenly, or estimate monthly fuel spending.

km
L/100km

The trip computer's average, or the litres of your last few tanks divided by the kilometres they covered × 100. Roughly 6–9 for a small car, 8–12 for an SUV.

$/litre

The pre-filled price is a placeholder of the right order of magnitude — not a live price, and not specific to a region or a fuel grade. Prices differ by station and change with every revision, so replace it with what your pump charges now.

people
km/month

Enter the kilometres you drive in a typical month (commuting, errands) to estimate the monthly and yearly fuel cost at this consumption and price. Leave it blank to cost only this trip.

Fuel cost for this trip
$8.00
Total distance100 km
Fuel used8 L
Fuel cost per km$0.08/km

Total fuel cost = total distance ÷ 100 × consumption (L/100km) × price per litre. Pump prices move, so treat this as an estimate and go by what you are charged at the station.

How to use

  1. Enter the one-way distance: Copy the kilometres from your navigation app into 'One-way distance', then tick 'Round trip (distance ×2)' if you are driving back as well.
  2. Add your consumption and the pump price: 'Fuel consumption' takes litres per 100 km, and 'Fuel price' takes the price of one litre — replace the pre-filled number with what your station charges today.
  3. Split it and read the per-km figure: Type how many of you are sharing into 'People sharing (optional)' and 'Per person' appears next to 'Fuel cost for this trip', 'Fuel used' and 'Fuel cost per km'. Everything updates as you type; there is no calculate button.
  4. Add your monthly kilometres for the yearly bill: 'Monthly distance (optional, estimates monthly and yearly cost)' turns the same consumption and price into 'Monthly fuel cost' and 'Yearly fuel cost'. Leave it blank and only this trip is costed.

How the fuel cost of a trip is worked out

Fuel used (L) = total distance ÷ 100 × consumption (L/100km)
Total fuel cost = fuel used × price per litre
Fuel cost per km = total fuel cost ÷ total distance
Per person = total fuel cost ÷ people sharing
Monthly fuel cost = monthly distance ÷ 100 × consumption × price per litre
Yearly fuel cost = monthly fuel cost × 12

A 300 km drive at 7.5 L/100km burns 22.5 litres of fuel, which costs 36.00 at a pump price of 1.60 a litre — 0.12 per kilometre. Tick 'Round trip (distance ×2)' and the same drive becomes 600 km, 45 litres and 72.00, while the cost per km stays 0.12, because that figure always divides by the total distance rather than the one-way leg. Amounts appear in the currency of this page (US dollars here), and the arithmetic is identical in any currency once you type your own price per litre. Nothing is uploaded: the maths runs in your browser while you type.

Every box is metric and fixed: kilometres for distance, litres per 100 km for consumption, and a price per litre. There is no mpg, US gallon, imperial gallon or km/L option and no unit switch, so a rating from a window sticker or a British brochure has to be converted first. For US mpg, L/100km = 235.21 ÷ mpg; for imperial mpg, use 282.48 ÷ mpg. For example, 30 US mpg is 7.84 L/100km.

The consumption figure is the one that decides everything, and it is yours to supply: the tool has no vehicle database and makes no allowance for traffic, hills, a full load or the air conditioning. Take the long-term average from the trip computer, or divide the litres of your last fill-up by the kilometres it covered and multiply by 100 — 42 litres over 560 km is 7.5 L/100km. For a congested city run it is worth typing a higher number than the brochure claims: the US Department of Energy puts the penalty for aggressive driving at roughly 15–30% of fuel economy at highway speeds and 10–40% in stop-and-go traffic.

ConsumptionFuel usedFuel costFuel cost per km
6.0 L/100km36 L57.600.096
7.5 L/100km45 L72.000.12
9.0 L/100km54 L86.400.144
11.0 L/100km66 L105.600.176

The same 600 km round trip at 1.60 a litre, with four different consumption figures. The per-km figure is shown to three decimals where it has them, which is where a small car and an SUV separate.

Split fuel cost between passengers

'Per person' — the row is labelled with the group size, as in 'Per person (4 sharing)' — is a flat even split: the total fuel cost divided by the number in the sharing box, and it only appears once that number is above 1. Four people on the 600 km round trip above pay 18.00 each out of 72.00; three people pay 24.00 each. Adding passengers does not change the total, the litres or the cost per km — a fifth person in the car raises consumption a little in real life, and if you want that reflected you have to type a higher L/100km yourself.

The split is even and nothing else. There is no per-seat, per-leg or drop-off-point share, so a passenger who rides only half the way has to be handled outside the tool — cost the shorter leg separately, or work out their percentage by hand. The box takes a whole number of 1 or more: type 2.5 and the result area shows 'People sharing: enter a whole number of 1 or more.' instead of a figure.

Expect the shares to miss the total by a cent now and then. Each figure is rounded on its own from an unrounded intermediate value, so with 100 km, 8 L/100km, a price of 1 and three people sharing, the trip costs 8.00 while each share reads 2.67 — and 2.67 × 3 is 8.01. Who covers the odd cent is a conversation between you; the calculator does not allocate it.

For an uneven share — one passenger paying 40% of the fuel, say — work the split out with the Percentage Calculator and ignore the per-person row.

Monthly fuel cost and the yearly bill for a commute

The monthly distance box is a second, independent calculation: it multiplies your monthly kilometres by the same consumption and price, and the yearly figure is that monthly cost times 12. A 30 km commute each way, 22 working days a month, is 1,320 km — type that number in yourself, because the monthly box ignores both the round-trip tick and the sharing box. At 8.5 L/100km and 1.60 a litre it works out to 112.2 litres, 'Monthly fuel cost' 179.52 and 'Yearly fuel cost' 2,154.24.

Leave the box empty and the two rows are simply not shown — the page then costs this one trip only. Typing 0 is not the same as leaving it empty: zero is rejected, and the result area shows 'Monthly distance: enter a number above 0, or leave it blank.' until you clear or correct it. The yearly figure is calculated from the unrounded monthly cost, so 12 × the monthly amount on screen can land a few cents away from the yearly amount on screen.

Yearly figures move with the pump. A 1,320 km month at 8.5 L/100km uses about 112 litres, so every 0.10 added to the price per litre is roughly 11 more a month and 135 more a year on this commute — which is why the honest way to use the yearly row is to recalculate it when prices shift rather than to trust a number you saved months ago.

To see what years of rising pump prices do to that yearly figure, run the price through the Inflation Calculator.

What this fuel cost calculator does not include

Fuel and nothing else. Tolls, motorway charges, parking, ferries, servicing, tyres, depreciation, insurance and fines are not in the result and have no boxes in the form, so the real total for a long drive is normally higher than the figure here. If you are comparing driving with a flight or a train, or reimbursing an employee, add those items separately — published mileage rates such as the IRS standard rate exist precisely because fuel is only part of the cost of running a car.

The price per litre that is already in the form is a placeholder for the right order of magnitude, not a live price. The page has no price feed behind it, so it does not know your country, your city or the grade you buy (91, 95, 98, diesel), and it does not refresh itself. Treat it as a number to overwrite; the only price worth calculating with is the one on the pump today.

Petrol and diesel only. The inputs are litres and a price per litre, so there is nowhere to enter kWh or an electricity tariff, and a fully electric car cannot be costed here at all. For a plug-in hybrid, enter its measured L/100km to estimate the fuel portion only; charging costs must be added separately. Nor can the tool go backwards: it will not derive your consumption from how much you spent at the pump.

Nothing is stored. The six inputs live in the page while it is open — reload or close the tab and they are gone, because the tool writes no cookie, no saved settings and nothing into the address bar. There is also no history, no garage of saved cars, no side-by-side comparison of two routes and no export, download or copy button, so a screenshot is the way to keep a result. And there is no upper limit on the inputs: an implausibly large distance or price is still calculated rather than refused.

How this tool is checked

  • The logic behind this tool is covered by 18 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
  • Formulas, figures and definitions are checked against the sources listed at the end of this page.

How we build and test our tools →

Frequently asked questions

How much will fuel cost for my trip?
Divide the distance by 100, multiply by your litres per 100 km, then multiply by the price of a litre. A 300 km drive at 7.5 L/100km and 1.60 a litre uses 22.5 litres and costs 36.00.
How do I split fuel cost between passengers?
Type the number of people into 'People sharing (optional)' and read the 'Per person' row — it divides the total fuel cost evenly. A 72.00 round trip between four people is 18.00 each.
Does this fuel cost calculator work in miles per gallon?
No. Distance is in kilometres, consumption in L/100km and the price is per litre, with no unit switch. Convert first. For US mpg, L/100km = 235.21 ÷ mpg; for imperial mpg, use 282.48 ÷ mpg. For example, 30 US mpg is 7.84 L/100km.
How do I work out my car's L/100km?
Fill the tank, drive, fill it again, then divide the litres of the second fill by the kilometres driven and multiply by 100. 42 litres over 560 km is 7.5 L/100km. The trip computer's long-term average works too.
Why doesn't litres × price match the total fuel cost?
Because each number on screen is rounded on its own, while the total is calculated from unrounded values. With 33.33 km at 8 L/100km and a price of 7, the litres show as 2.67 and the total as 18.66, though 2.67 × 7 is 18.69.
What fuel price should I enter?
The price per litre on the pump you actually use. The number the form starts with is only a plausible placeholder — there is no price feed behind this page, and it does not distinguish regions or fuel grades.
Can I use it for an electric car?
No — the inputs are litres and a price per litre, with no field for kWh or an electricity tariff. For a plug-in hybrid, enter its measured L/100km to estimate the fuel portion only; charging costs must be added separately.

Add this tool to your website

Free for any website, personal or commercial. Paste the code where you want the tool to appear — it works on WordPress, Blogger, Google Sites, Notion and plain HTML.

<div class="gingertool-widget" data-embed="https://gingertool.com/embed/en/auto/fuel-cost-calculator/" data-height="560" style="font-size: 13px; line-height: 20px; margin: 6px 0 16px; text-align: left">Fuel Cost Calculator &#183; <a href="https://gingertool.com/en/auto/fuel-cost-calculator/">Gingertool</a></div>
<script src="https://gingertool.com/embed.js" async></script>

Please keep the credit link below the tool. Embedded tools show no ads.

Step-by-step: Google Sites · Blogger · WordPress · Notion

Cite this tool

Using a result in a report, paper or assignment? Copy a ready-made reference.

APA
Gingertool. (2026). Fuel Cost Calculator [Online tool]. Retrieved November 22, 2026, from https://gingertool.com/en/auto/fuel-cost-calculator/
MLA
“Fuel Cost Calculator.” Gingertool, November 22, 2026, https://gingertool.com/en/auto/fuel-cost-calculator/. Accessed November 22, 2026.
BibTeX
@misc{gingertool-fuel-cost,
  author = {{Gingertool}},
  title = {Fuel Cost Calculator},
  year = {2026},
  url = {https://gingertool.com/en/auto/fuel-cost-calculator/},
  note = {Accessed: 2026-11-22}
}