Travel

Gas Cost Calculator

Calculate how much gas a trip will cost based on distance, your car's fuel economy and the gas price.

Your calculations stay in your browser — nothing you type here is sent to any server.

How this calculator works

  1. Enter the one-way distance, your vehicle's MPG, and the current gas price per gallon.
  2. Check “round trip” if you're calculating a there-and-back drive.
  3. The calculator divides distance by MPG to find gallons needed, then multiplies by the price for total fuel cost.

This calculator estimates the fuel cost of a trip from three simple inputs: distance, your vehicle's miles per gallon, and the current price of gas. Toggle round trip to double the distance for a there-and-back estimate.

Example

A 240-mile round trip (120 miles each way) in a car that gets 30 MPG, with gas at $3.50/gallon: gallons needed = 240 ÷ 30 = 8. Fuel cost = 8 × $3.50 = $28.

Limitations

This estimates fuel cost only — it doesn't include tolls, parking, wear and tear, or other trip costs. For a fuller trip estimate with multiple travelers, see the Road Trip Cost Calculator.

Frequently asked questions

How do I calculate gas cost for a trip?

Divide the distance by your vehicle's MPG to get gallons needed, then multiply by the price per gallon.

Where do I find my car's MPG?

Check your vehicle's manual or window sticker for the EPA estimate, or calculate your actual MPG by dividing miles driven by gallons used on a recent fill-up.

Does this include tolls or parking?

No — this is a fuel-only estimate. Add other trip costs separately.

What's the difference between this and the Road Trip Cost Calculator?

This tool is a quick single-purpose fuel estimate. The Road Trip Cost Calculator adds splitting the cost across multiple travelers.

Related calculators

Like this calculator?

Explore more free money and everyday-life calculators — no sign-up needed.

Advertisement