Fuel Cost Calculator (MPG & Gas)

Planning a road trip? Find out what the gas will cost before you leave, and see your fuel economy in both MPG and liters per 100 km.

Fuel Cost Calculator (MPG & Gas) – petrol expense calculator

Fuel Cost Calculator (MPG & Gas) tool

How to use the fuel cost calculator (mpg & gas)

Using this tool takes less than a minute. We have filled in example numbers so you can see how it behaves straight away. Replace them with your own:

  1. Enter Trip distance (miles).
  2. Enter Fuel economy (miles per gallon).
  3. Enter Price per gallon ($).

The answer updates as you type, so feel free to play around. If something looks off, press Reset and start again.

Fuel Cost Calculator (MPG & Gas) formula explained

Here is the exact math running behind the scenes, so nothing is a black box:

Formula: Fuel used = distance ÷ MPG. Cost = fuel used × price per gallon.

Worked example

A 300-mile trip at 28 MPG uses 10.7 gallons and costs about $34 at $3.20 a gallon.

What your result means

The big number at the top is the main answer. The lines below it give you the extra details people usually want next. Do not worry about small rounding differences. They come from rounding to two decimals and will not change the story.

Why this matters

Small everyday jobs, like converting units, checking fuel costs or resizing an image, should not take five minutes. Type your numbers and get an answer right away.

Tips for better results

Common mistakes to avoid

Other names people use for the fuel cost calculator (mpg & gas)

Everyone searches a little differently. You might have arrived here by typing petrol expense calculator, miles per gallon calculator. All of these point to the same kind of calculation, so this single page is built to answer them all.

Frequently asked questions

What is a fuel cost calculator (mpg & gas)?

Planning a road trip? Find out what the gas will cost before you leave, and see your fuel economy in both MPG and liters per 100 km.

How does the fuel cost calculator (mpg & gas) work?

Fuel used = distance ÷ MPG. Cost = fuel used × price per gallon.

Is this fuel cost calculator (mpg & gas) free to use?

Yes. The fuel cost calculator (mpg & gas) is completely free, needs no sign-up and can be used as many times as you like.

How accurate is the fuel cost calculator (mpg & gas)?

The math is exact, but the answer is only as good as the numbers you enter. Treat the result as a well-informed estimate and double-check anything important.

Is “petrol expense calculator” the same as “miles per gallon calculator”?

Yes, in practice they are the same idea written in two ways. Use this page for either one.

Do you save the numbers I type?

No. Every calculation happens inside your browser. Nothing you type is sent to our servers.

Does it work on my phone?

Yes. The page adapts to phones, tablets and desktops, and works in light and dark mode.

Disclaimer: Conversions use standard factors. For medical, legal or financial use, verify results with a professional. See our full disclaimer.

More Converters & Everyday tools