Fuel Cost Calculator

Know what a trip costs in fuel — and what each passenger owes.

How the calculator works

Everything is first converted to a common basis: the distance becomes kilometers, the consumption becomes liters per kilometer, and the price becomes currency per liter. Liters needed are simply distance × consumption per km; the cost is liters × price per liter; and the per-kilometer figure divides the cost by the distance so short and long trips can be compared honestly. The conversions are exact — a mile is 1.609344 km, a US gallon is 3.785412 liters, a UK gallon 4.54609 — so an 8 L/100 km car and its 29.4 MPG twin produce the same trip cost. Gallon output is shown as a second row for drivers used to thinking in gallons.

Formula

Fuel (L) = distance (km) × consumption (L/100 km) ÷ 100
Cost = Fuel × price per liter

Where:

  • distance — trip length, converted to km if entered in miles
  • consumption — normalized to L/100 km from any supported unit
  • price — normalized to per-liter if entered per gallon

Example

A 500 km trip in a car rated 8 L/100 km with fuel at $1.50 per liter: the trip needs 500 × 8 ÷ 100 = 40 liters, costing $60.00 — 12 cents per kilometer. Split between four colleagues carpooling, each pays $15.00. The same car rated 29.4 MPG (US) on a 310-mile trip and $5.68-per-gallon fuel produces the identical $60.00 — the units change, the money does not.

Frequently Asked Questions

Which consumption unit should I pick?
Whichever your car or manual displays. European, Middle Eastern, and Asian cars usually state L/100 km; Japanese-market figures often use km/L; North American ratings use MPG. The calculator converts all four to the same underlying value.
Why is my real fuel cost higher than the estimate?
Official consumption figures assume steady speeds. City traffic, air conditioning, roof racks, short cold starts, and aggressive driving can raise real consumption by 15–30%. Enter your own measured average from the trip computer for a realistic number.
Does the split account for different passengers riding different legs?
No — the per-person figure assumes everyone rides the whole trip. For partial journeys, run the calculator per leg and sum each person's shares.
Can I use this for electric vehicles?
With a reinterpretation: treat 'consumption' as kWh per 100 km, and the price as currency per kWh — the arithmetic is identical. The liters and gallons rows then lose meaning for EVs, which the unit choices make clear.