TikoTools

Fuel Cost Calculator – Gas Cost for a Trip

Work out how much fuel a trip will use and what it will cost. Enter the distance, your car’s fuel economy in mpg (US or UK), L/100 km or km/L, and the price per gallon or litre to get the total cost, cost per mile or km and the cost per person for shared trips.

Formula checked 23 Oct 2026 Free · no sign-up
Was this calculator helpful?

Found a bug or have a suggestion?

Leave it here and we will fix it and reply to you.

Embed this calculator on your website (free)

Copy this code into your page. It stays free and updates automatically.

How to use the fuel cost calculator

  1. Enter the trip distance in miles or kilometres. Tick round trip to double it.
  2. Choose the fuel economy unit you know — US mpg, UK mpg, L/100 km or km/L — and enter the figure.
  3. Enter the fuel price and whether it is per US gallon, per litre or per UK gallon.
  4. To share costs, enter how many people are splitting the fuel bill.

The formulas

US / UK mpg: Gallons = Miles ÷ mpg L/100 km: Litres = Kilometres × L/100 km ÷ 100 km/L: Litres = Kilometres ÷ km/L Fuel cost = Fuel used × Price per gallon (or litre) Cost per mile = Price per gallon ÷ mpg

Worked examples

  • US road trip: 300 miles at 25 mpg = 12 gallons × $3.50 = $42. A round trip costs $84, or $42 each for two people.
  • Europe: 500 km at 6.5 L/100 km = 32.5 L × €1.80 = €58.50.
  • UK: 200 miles at 45 mpg (UK) = 4.44 UK gallons = 20.2 L × £1.45 = £29.30.

Fuel economy conversion table

mpg (US)mpg (UK)L/100 kmkm/L
1518.015.76.4
2024.011.88.5
2530.09.410.6
3036.07.812.8
3542.06.714.9
4048.05.917.0
5060.04.721.3

Cost per 100 miles at different gas prices

Fuel economy$3.00/gal$3.50/gal$4.00/gal$5.00/gal
20 mpg$15.00$17.50$20.00$25.00
25 mpg$12.00$14.00$16.00$20.00
30 mpg$10.00$11.67$13.33$16.67
40 mpg$7.50$8.75$10.00$12.50

Getting an accurate estimate

  • Use your real mpg: fill the tank, reset the trip meter, drive normally, then divide the miles by the gallons needed to refill. Window-sticker figures are often optimistic.
  • Highway vs city: most cars use less fuel per mile on the highway, but very high speeds increase drag sharply.
  • Towing and loads: a trailer or heavy roof load can cut fuel economy by 10–30% or more.
  • Prices vary on the route: fuel is often cheaper away from highway service areas and in some states or countries than others.
  • Compare with electric: use the EV charging cost calculator to compare the same trip in an electric car.

Budgeting for a longer trip

For a multi-day road trip, add up the planned driving for each day and add 10–15% for detours, side trips and searching for parking. In a rental car, check whether you must return it full: refuelling charges at the rental desk are often far higher than pump prices. If several people share the car, splitting fuel evenly is the simplest fair method; for one-way passengers, split the cost of the legs they ride along for.

Frequently asked questions

How do I calculate the fuel cost of a trip?

Divide the distance by your fuel economy to get the gallons needed, then multiply by the price per gallon. A 300-mile trip in a car that gets 25 mpg uses 12 gallons, which costs $42 at $3.50 a gallon.

How do I calculate fuel cost with L/100 km?

Litres = distance in km × L/100 km ÷ 100. A 500 km trip at 6.5 L/100 km uses 32.5 litres; at €1.80 per litre that costs €58.50.

How do I convert mpg to L/100 km?

L/100 km = 235.21 ÷ mpg (US). 25 mpg is 9.4 L/100 km, and 40 mpg is 5.9 L/100 km. For UK mpg, use 282.48 ÷ mpg.

Why are UK mpg figures higher than US ones?

A UK (imperial) gallon is 4.546 litres while a US gallon is 3.785 litres, so the same car shows about 20% more miles per UK gallon. UK fuel is also sold by the litre, so choose “per litre” for the price.

What is the cost per mile to drive?

Fuel cost per mile = price per gallon ÷ mpg. At $3.50 and 25 mpg that is 14¢ per mile for fuel alone. AAA estimates total ownership costs, including depreciation, insurance and maintenance, at several times that.

How can I use less fuel on a road trip?

Drive at a steady speed, avoid high speeds (fuel use rises quickly above about 50–60 mph), keep tires properly inflated, remove roof racks and extra weight, and use cruise control on the highway.

How we checked this calculator

We test this tool against worked examples before every release (last check: 23 Oct 2026, version 1.0.0). Results are estimates for planning — confirm critical figures with your supplier or a qualified professional.

References: