Fuel Cost Calculator

Estimate the fuel cost of a trip from distance, fuel efficiency and price. See fuel used, total cost, and a per-person or per-mile split.

Trip distance, efficiency and price

Runs in your browser

Uses exact conversions: 1 mile = 1.609344 km, 1 US gallon = 3.785411784 litres. Fuel use is calculated in the efficiency's native unit. The price you enter is per the selected container; no live station price is fetched.

This is fuel arithmetic only. It does not predict actual consumption, traffic, elevation, load or vehicle-specific performance. Splitting is even per person; any remainder cents are reported, not silently redistributed.

Enter your own values to calculate.

Your result appears here

Enter values and calculate. Changing an input clears the previous result.

Inputs stay in this page. Normal assets and visit-statistics requests still occur. Downloads contain the values you entered.

How this calculator works

Fuel cost from distance, efficiency and price

Enter the trip distance, fuel efficiency and fuel price, and optionally split the cost between several people or treat the distance as a round trip. Fuel use is calculated in the efficiency's native unit: miles per gallon divides miles by mpg, and litres per 100 km multiplies kilometres by the rate and divides by 100.

The editable example is 120 miles at 30 mpg with fuel at 3.50 per gallon: 4.00 gallons, total 14.00. The same 120-mile trip is 193.121 km; at 30 mpg the fuel is about 15.142 litres. A metric example at 7.8 L/100km over 200 km uses 15.60 litres.

Conversions are exact: 1 mile = 1.609344 km and 1 US gallon = 3.785411784 litres. The price is your value for the selected container, gallon or litre, and no live station price is fetched. The total rounds half-up to cents. Even split keeps whole cents per person and reports any remainder instead of silently redistributing it.

Fuel cost FAQ

Can I mix miles with litres per 100 km?

Yes. Distance and efficiency are independent: miles or kilometres for distance, mpg or L/100km for efficiency. Fuel is first computed in the efficiency's native unit, then converted for display. You still choose whether to price the fuel per gallon or per litre.

Does this predict my actual fuel use?

No. It assumes the efficiency you enter is constant for the whole trip. Traffic, elevation, load, speed, weather and vehicle condition all change real consumption. Use your best estimate and review a real fill-up for accuracy.

Is the price live?

No. Enter the current or expected price yourself. The tool does not fetch station prices or currency rates. A currency label is not shown; the total is a plain number in whatever currency your price uses.

How is the per-person split handled?

It divides the total evenly and keeps whole cents per person. If the total cannot be divided exactly, the remaining cents are reported, not silently assigned or dropped. Enter a whole number of people from 1 upward.

What limits and privacy apply?

Distances accept up to two decimal places, efficiency and price up to two decimal places, and distances stay within 100,000 units. Inputs stay in this page and are not uploaded or saved; normal assets and visit statistics still occur. CSV and JSON contain the values you entered.