Station wagon refueling at a roadside station
Ownership tool

Gas mileage calculator: trip and yearly fuel cost

How much will you spend on fuel for the miles you drive? Enter your distance, fuel economy and the price you pay, and you’ll see the trip cost next to a yearly estimate. Switch between miles with US mpg or kilometers with liters per 100 km. Charging, maintenance, parking and tolls aren’t included.

Free to useNo account neededTransparent resultsMethodology v1.0

UNVERIFIED scenario assumptions. Default prices, rates, taxes, fees, maintenance costs and value adjustments are illustrative inputs, not current market data or lender offers. Replace them with dated quotes or official figures. Results are estimates; the published formulas explain the arithmetic.

Fuel cost estimate

Change any input and the result updates as you type.

Currency USD ($)

Results update as you type. Defaults are examples. Shared URLs contain your inputs; don’t include private information.

Estimated trip fuel cost
$35.00
Fuel needed
10 US gal
Annual fuel cost
$1,400
Monthly fuel budget
$117
Cost per mile
$0.117
One month (annual average)$117
Your trip$35

US gallons are used, not imperial gallons. Real consumption depends on traffic, temperature, speed, load, and maintenance. Annual figures use your annual distance, not repeated trips.

Fuel cost: compare scenarios

Trip sensitivity to pump price; distance and efficiency stay fixed.
Fuel priceTrip cost
$2.80$28.00
$3.50$35.00
$4.20$42.00

Gas mileage and fuel savings calculator

Measure economy from distance traveled and fuel used between comparable full-tank readings. Compare annual fuel spending with another vehicle at the same distance and pump price.

Measured fuel economy
30.00 US mpg
12.75 km/L
7.84 L/100 km
Annual fuel cost at measured economy
$1,400.00
Annual fuel cost for comparison vehicle
$1,050.00
Annual fuel savings with comparison vehicle
$350.00

MPG = miles ÷ US gallons; km/L = kilometers ÷ liters; L/100 km = 100 ÷ km/L. Savings compare fuel only, excluding purchase price, depreciation and repairs. Negative savings mean the comparison vehicle costs more to fuel. Currency selection does not convert prices. This separate measurement stays in this page session and is not included in the main calculator’s share link or CSV.

How it works

In US mode, efficiency is miles per US gallon, so a bigger number means less fuel for the same distance. In metric mode it's liters per 100 kilometers, so a smaller number means less fuel. Switching units converts the distance, fuel price and efficiency together, with small rounding differences.

The trip estimate and the annual estimate use the same fuel economy and price but separate distances. Monthly spending is the annual estimate divided by twelve. That lets you budget one particular trip without assuming you take it every day. Money stays in USD in either unit system.

The formula behind the estimate

Every result starts with a defined model and visible assumptions.

US gallons used = miles ÷ miles per US gallon
Liters used = kilometers × liters per 100 km ÷ 100
Fuel cost = fuel used × price per matching volume unit
1 US gallon = 3.785411784 liters; 1 mile = 1.609344 kilometers

A worked example

A 300-mile trip in a car that averages 30 US mpg burns about 10 US gallons. At an illustrative $3.50 a gallon, that's $35 in fuel. Drive 12,000 miles a year on the same numbers and fuel runs $1,400 a year, or about $117 a month. These are arithmetic examples, not today's pump prices.

How do I make the estimate match my driving?

Official fuel-economy ratings are a good starting point for comparing cars, but real driving differs from the test cycle. Short trips, cold starts, traffic, speed, tire condition, cargo and hills all change how much fuel you use. If you track trip distance and fuel added across several fill-ups, that longer record is usually a better input than one good trip.

Don't mix imperial mpg with US mpg. An imperial gallon is bigger, so the same car shows a different mpg figure. This tool uses US gallons and liters only, so convert imperial numbers before entering them. The kilometers setting changes units; it doesn't look up Canadian or UK fuel prices.

How do I compare efficiency in dollars?

The link between mpg and fuel use isn't a straight line. Over the same distance, going from 20 to 25 mpg saves more gallons than going from 40 to 45. Enter both scenarios and save one for comparison to see the real spending difference. Fuel savings are only part of choosing a car, and an expensive upgrade may take many years to pay for itself that way.

The sensitivity table moves the pump price 20% above and below your input while distance and efficiency stay fixed. It's a what-if comparison, not a forecast. For a full budget, add maintenance, depreciation, insurance and financing in the ownership-cost calculator. Electric charging and plug-in hybrids need their own energy models and are outside this tool.

Questions worth asking

Are fuel prices updated automatically?

No. Enter a pump price or a planning assumption. The default is only an illustration and isn't described as a current national or local average.

Does metric mode change the currency?

No. It changes distance, consumption and volume units. Prices and results stay in USD, so convert to a USD-equivalent price if you need to.

Why did my numbers change when I switched units?

Distance, efficiency and price are converted so the scenario stays roughly the same. Rounding can cause a small difference in the cost you see.

Can I enter zero miles?

Yes. A zero-distance trip costs zero. Efficiency does have to stay above zero so the fuel consumption means something.

Does this estimate electric charging costs?

No. It models liquid fuel only. Electric cars need kWh use, charging losses and electricity prices instead of mpg.

This is general information, not personalized financial advice. Read the limitations.

SUV parked beside a mountain road
Ready to find your next car?

The right car starts with the right budget.

Work out what you can comfortably pay each month, then measure every car against it.

Find your budget