Free Fuel Cost Per Mile Calculator

This fuel cost per mile calculator answers a narrower question than the trip fuel cost calculator on the homepage: what does each mile or kilometer of driving cost in fuel, given the vehicle’s economy and the pump price? Distance is optional and is used only if you also want a trip total. Switch miles or kilometers, and US miles per gallon or liters per 100 kilometers, without changing the physical economy you entered. Nothing leaves this page.

Measurement units

Cost per mile $0.140/mi Primary result
Cost per 100 miles $14.00 Same economy and price
Fuel per mile 0.0400 US gal/mi 1 ÷ mpg
Trip total Add a distance Optional

At 25 US mpg and an example $3.50 per US gallon, fuel costs $0.140 per mile, or $14.00 per 100 miles.

How fuel cost per mile is calculated

Cost per mile depends on two numbers: how far the vehicle goes on a unit of fuel, and what that unit costs. In the US default:

cost per mile = price per US gallon ÷ US miles per gallon

Cost per 100 miles is that rate times 100. Fuel used per mile is 1 ÷ mpg. A trip total is the rate times distance, and is shown only when you type a distance.

In the metric view, with economy as liters per 100 kilometers:

cost per km = (price per liter × L/100 km) ÷ 100

Cost per 100 km is then price per liter × L/100 km. If you switch economy to km/L, cost per kilometer is price per liter ÷ km/L. Existing values are converted when you change unit systems so the physical economy stays the same.

A worked example

At 25 US mpg and an example $3.50 per US gallon, cost per mile = 3.50 ÷ 25 = $0.140. Cost per 100 miles = $14.00. Each mile uses 0.0400 US gallons. If you then enter a 300-mile trip, the trip total is 300 × 0.140 = $42.00 and the fuel used is 12 US gallons — the same identity the homepage uses, but here the rate is the headline and the distance is optional.

A metric check: 9.4 L/100 km at an example $1.45 per liter is (1.45 × 9.4) ÷ 100 = $0.1363 per kilometer, or $13.63 per 100 km.

How this page differs from the homepage

The fuel cost calculator on the homepage is a trip-cost tool. Distance, economy, and price are all required, and the first result is the total for that trip, with cost per distance as one of the supporting figures. This page is the rate tool: economy and price are enough, cost per mile or kilometer is the primary result, and a distance field is offered only if you want a total as well.

Example prices in the copy are illustrations, not official pump or tax data. The dollar sign is a currency symbol for the number you enter; results stay in that same unit.

Frequently asked questions

What is the formula for fuel cost per mile?

In the US default, cost per mile is price per US gallon divided by US miles per gallon. Cost per 100 miles is that rate times 100. In metric, with economy as L/100 km, cost per kilometer is (price per liter × L/100 km) ÷ 100. With km/L, cost per kilometer is price per liter divided by km/L.

Do I have to enter a trip distance?

No. Cost per mile or kilometer depends only on economy and pump price. Enter a distance only if you also want a trip fuel volume and a trip total. For a trip-first calculator, use the homepage fuel cost calculator.

Does this use US gallons or imperial gallons?

US gallons, the same convention as the homepage. An imperial gallon is larger, so do not mix an imperial mpg figure with a US gallon price.

Does the rate include taxes, tolls, or parking?

Only fuel. If your pump price already includes fuel tax, that tax is already in the rate. The page does not add or look up taxes, and it does not include tolls or parking.

Can I treat this result as financial or professional advice?

No. This is a free planning aid. It is not financial, legal, or professional advice, and it does not create an advisory relationship.