Fuel cost calculator

Fuel cost is distance divided by economy times price. The only trap is mixing metric and imperial economy units.

L/100km
per litre
Fuel cost for the trip
55.69
= Exact Fuel cost
Cost each if shared
55.69
Fuel used
33.75
Cost per kilometre
0.1238
Annual cost at that frequency
13 921.88
Economy in US mpg
31.36
Economy in imperial mpg
37.66
Cost per 100 km
12.38
Show the working
  1. Distance = 450
  2. Fuel economy = 7.5
  3. Fuel price = 1.65
  4. Trips per year = 250
  5. People sharing = 1
  6. Fuel used = 450 * 7.5 / 100 = 33.75
  7. Fuel cost for the trip = 33.75 * 1.65 = 55.6875
  8. Cost per kilometre = 450 > 0 ? 55.6875 / 450 : 0 = 0.123 75
  9. Cost each if shared = 55.6875 / 1 = 55.6875
  10. Annual cost at that frequency = 55.6875 * 250 = 13 921.9
  11. Economy in US mpg = 7.5 > 0 ? 235.214583 / 7.5 : 0 = 31.3619
  12. Economy in imperial mpg = 7.5 > 0 ? 282.480936 / 7.5 : 0 = 37.6641
  13. Cost per 100 km = 7.5 * 1.65 = 12.375

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • litres = distance x L/100km / 100
    • US mpg = 235.214 583 / (L/100 km); imperial mpg = 282.480 936 / (L/100 km)

    The 235 and 282 constants are exact conversions, not approximations — they come from the exact definitions of the gallon and the mile.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library