Fuel cost per mile/km (spend ÷ mileage) calculator

Type fuel spend and total distance from the same period. The calculator divides spend by distance: 1200 on 1500 km is 0.80 per kilometre. Receipt cost, not catalogue economy and not TCO.

Consumption tells you how much fuel you burn. This page turns receipts into cost per km. Budget one trip with trip fuel cost, the year with annual running cost, ownership with TCO.

Input data

Compare months (optional)

Add months to see the fuel-cost-per-distance trend. The primary result still uses the fields above.

Results

Fuel spend and total mileage. Cost per km shows up here.

How the results are calculated

Cost per kilometer is fuel spend divided by distance. 1200 / 1500 = 0.80. 800 / 2000 = 0.40. 2400 / 1800 ≈ 1.33. 480 on 8000 km is 0.06 per kilometer. Per 100 kilometers you multiply by 100: 0.80 is 80 per 100 km.

Optional months in the period split the same spend per month and do not change cost per km. 480 in 2 months is 240 per month and 4000 km per month at 8000 km total. Without months the result is only the distance rate and the per-100 rate.

Fields are spend, total distance, and months. The US header relabels distance to miles: then you divide by miles, not kilometers. A typed 1500 is not multiplied by 0.621. A comma and a period in 1200.50 both parse.

Economy times pump price lives on trip fuel cost. A year with service and insurance lives on annual running cost. Here you do not type L/100 km. You take what you already paid, including price swings and mixed driving.

Typed zero spend gives 0 per km, because the numerator is zero. Blank spend does not fill 1200 from the example. Zero kilometers cannot divide. A minus is rejected. This is a receipts method, not an ownership appraisal.

Type 1200 and 1500, click Calculate, and match 0.80. Then 480 and 8000: 0.06. Carry the rate into annual running cost only as orientation; that page builds fuel from economy and price, not from this quotient.

How to use

  1. Type fuel spend in the period, for example 1200.
  2. Type total distance from the same window, for example 1500 km.
  3. Click Calculate. 1200 / 1500 = 0.80 per kilometer. 800 / 2000 = 0.40.
  4. Optionally add months, for example 2 with 480 and 8000 km, to see a monthly average.
  5. Price one trip from economy on trip fuel cost. Here it stays receipts divided by mileage.

Spend, mileage, and cost per km

Cost/km = spend / mileage. 1200 on 1500 km is 0.80. 800 on 2000 km is 0.40. From receipts, not a brochure.

spend
Fuel spend in the period. 1200 at 1500 km is 0.80. Typed 0 gives 0 per km.
mileage
Distance from that same period. 1500 km or 2000 km. Zero distance does not divide.
km
Unit of the result and of distance. 0.80 per km is 80 per 100 km. On US the label goes to miles.

Using this motoring calculator

  1. Enter total pump spend and distance for the same period.
  2. Optionally enter months to see average fuel spend per month.
  3. Add months in the comparison table to see the cost-per-distance trend.
  4. Planning a route? Use trip fuel cost. Whole car? TCO.

Examples

Example 1

  • Spend: 450
  • Distance: 900

0.50 per unit

450 / 900 = 0.50. Receipts divided by distance, not catalog mpg.

Example 2

  • Spend: 320
  • Distance: 800

0.40 per unit

320 / 800 = 0.40. More miles on the same budget cuts cost per unit.

Example 3

  • Spend: 720
  • Distance: 600

1.20 per unit

720 / 600 = 1.20. A short, expensive month pushes the rate up.

Example 4

  • Fuel spend in period: 480
  • Total distance: 8000

0.06 per km

What is per-km cost at 480 spent and 8000 km? 0.06 per km.

Frequently asked questions

What is per-km cost at 1200 spent and 1500 km?

The rate is 0.80 per kilometre. 1200 / 1500. 800 / 2000 = 0.40. 2400 / 1800 ≈ 1.33. 480 / 8000 = 0.06.

How is this different from economy times pump price?

That path assumes L/100 km and a pump rate. The calculator divides what is already on the receipts. Different fields, same per-km unit.

What are months in the period for?

They split spend per month. At 480 and 2 months that is 240 per month. Cost per km stays 0.06 from the same pair.

Is this TCO?

No. Fuel from receipts only. Purchase, a payment, and value loss live in TCO, not in this quotient.

Does the US switch convert a typed 1500?

No. On an empty field the label goes to miles. It does not rewrite a 1500 you already typed.

What if spend is blank?

The calculator does not divide and does not fill 1200 from the example. It needs spend and distance.

Does a comma in 1200.50 work?

Yes. 1200,50 and 1200.50 are the same spend. Do not put a thousand space in the field.

How much per 100 km at 0.80?

80. The calculator multiplies the per-kilometer rate by 100. In miles that is the rate per 100 miles.

Do negative receipts run?

No. A minus is rejected. Typed zero spend gives 0 per km, because nothing was paid for fuel.

How is this different from annual running cost?

That page builds a year from fuel, service, insurance, tires, parking, and tax. Here one line: receipts ÷ mileage.

Knowledge sources

Use and cost come from your own numbers. Below is the FuelEconomy.gov and EPA vocabulary.

Page updated in 2026.