Skip to main content

Fuel Cost Calculator

Know your gas bill before you hit the road.

Interactive Tool
Live Calculation

Fuel Cost Calculator

Cost = Distance / Efficiency x Price

mi
mi
mpg
mpg
/gal
$/gal
Evaluated Formula:Cost = Distance / Efficiency x Price
Guidance:
Highway driving usually beats city mileage, so adjust for your route.
Cost per mile = Price / Efficiency.
Gallons Needed
10 gal

Calculated instantly

Total Fuel Cost$35

Embed this calculator

Put this calculator on your own site with the snippet below. The frame contains the tool only, reports its own height, and carries a visible link back to the full page. Embedding is free; keep the attribution link as it is, and do not wrap the frame in a way that hides it.

Preparing the embed code for this page...

What This Calculator Does

The Fuel Cost Calculator estimates the cost of a trip based on distance, vehicle efficiency, and current fuel prices. Road-trippers and daily commuters use it to budget gas before leaving.

How It Works

Gallons needed equal distance divided by efficiency. Multiplying by the price per gallon gives total fuel cost for the trip.

Example

A 300-mile trip in a 30 mpg car at $3.50 per gallon uses 10 gallons and costs $35.

Formula

Gallons Needed
Gallons = Distance / Efficiency
Total Fuel Cost
Cost = Gallons × Price per Gallon

Reading the Results

Gallons Needed

The fuel your trip will consume, distance divided by vehicle efficiency.

Total Fuel Cost

The trip gas bill, gallons multiplied by the pump price.

Frequently Asked Questions

How do I calculate fuel cost for a trip?

Divide the distance by your miles per gallon to get gallons, then multiply by the fuel price. The calculator does both steps.

How do I find my car mpg?

Divide the miles driven since your last fill-up by the gallons it took to refill. Your dashboard may also display it.

Can I use liters and kilometers?

Convert your values first, or use the length and volume converters to translate your numbers into miles and gallons.