en

Fuel Cost Calculator

Work out locally the fuel cost of a trip from distance, consumption and price - no upload, in your browser.

This calculator gives a non-binding, model-based estimate and is not financial, tax or legal advice. More in the disclaimer
  • Bangladesh
  • Brazil
  • Bulgaria
  • China
  • Egypt
  • Euro area
  • France
  • Germany
  • India
  • Indonesia
  • Italy
  • Japan
  • Kenya
  • Malaysia
  • Mexico
  • Netherlands
  • Nigeria
  • Pakistan
  • Poland
  • Portugal
  • Russia
  • South Korea
  • Spain
  • Sweden
  • Taiwan
  • Thailand
  • Türkiye
  • Ukraine
  • United Kingdom
  • United States
  • Vietnam
Distance
Distance unit
  • Kilometre (km)
  • Mile (mi)
Consumption
Consumption unit
  • L/100 km
  • mpg (US gallon)
  • mpg (imperial gallon)
Fuel price
Price per
  • Litre
  • US gallon
  • Imperial gallon
People

Result

$5.29
Cost
2.94 gal
Fuel used
$5.29
Per person
Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

What does a trip cost in fuel? This calculator combines the distance, your vehicle's average consumption in litres per 100 kilometres and the current fuel price per litre. Out come the total cost of the trip, the litres used and - if several of you travel together - the share per person. So you can plan a commute, a holiday trip or a car pool with real numbers instead of a gut feeling.

The calculation runs entirely locally in your browser, in pure JavaScript - nothing is uploaded and nothing is stored. The litres used are the distance divided by 100 times the consumption, the cost is those litres times the fuel price, and the share per person is the cost divided by the number of people (at least one). Change an input and the cost, fuel used and share update instantly.

An honest note: real consumption varies with driving style, load, speed, air conditioning and route - the average value is an approximation. The calculator works just as well for diesel, petrol or the price per unit for electric cars, as long as consumption and price use the same unit. The amounts are shown in euros as an example; the maths applies to any currency.

Handy for everyday planning: for a round trip you simply enter twice the distance, and the daily cost of a commute times the working days in a month gives the monthly burden. When comparing two cars, even a single litre of difference in consumption adds up to a noticeable amount over a year - and a car pool lowers the share per person visibly at once.

Formula and sources for gallons: if you enter consumption in mpg, it is converted to L/100 km: L/100 km = 100 x litres per gallon / (mpg x 1.609344), because a mile is 1.609344 kilometres. The imperial gallon is set by the Weights and Measures Act 1985 (Schedule 1): "Gallon = 4.546 09 cubic decimetres", that is 4.54609 litres. NIST defines the US gallon as 231 cubic inches; with 1 inch = 2.54 cm that is 3.785411784 litres. A price per gallon is converted to a price per litre with the same values.

This tool calculates with a fixed, documented formula - not with probabilities like a chat AI model. Given the same input, it always returns the same result, which you can recalculate yourself.

Free, no account - calculate as often as you like; your inputs stay on your device.

Specifications

Specifications
Input formatsForm inputs (no file)
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Enter the distance in kilometres and the average consumption.
  2. Enter the fuel price per litre and the number of people.
  3. Read off the cost, fuel used and share per person.

Limitations: An estimate from average consumption; real consumption varies with driving style, load, speed and route. Consumption and price must use the same unit (e.g. litres). People at least one. Amounts are in euros as an example - the maths applies to any currency.

FAQ

Are my inputs uploaded?

No. The calculation runs entirely locally in the browser (pure JavaScript); nothing is sent or stored.

How is the fuel cost calculated?

Litres used = distance / 100 times consumption (L/100 km); cost = litres times fuel price per litre.

Does it work for diesel or electric cars?

Yes, as long as consumption and price use the same unit - e.g. litres and price per litre, or kWh and price per kWh.

Why does it differ from my actual fill-up?

Real consumption varies with driving style, load, speed and route. The average value is an approximation.

How does Fuel Cost Calculator differ from a chat AI when it comes to calculating?

Fuel Cost Calculator evaluates a fixed, programmed formula instead of predicting text: the same input always gives the same result, and you can recalculate it. A chat AI, by contrast, generates a probable answer and can miscalculate numbers.

Fuel Cost Calculator: free and without an account?

Yes. Using it is free and needs no account: you can calculate as often as you like, and your inputs stay on your device.

Related tools

Compound Interest Calculator · Loan Calculator · VAT Calculator