Fuel Cost Calculator
Work out what a trip costs in fuel, one way or there and back.
Total cost
$19.99
One way · 150 km
Fuel
9.75 liters
Per kilometer
$0.133
Please note: The result is an estimate and has been rounded. Actual costs and values may differ, and no rights can be derived from this calculation.
How this number is calculated
The blocks use your input. Change a value above and they update with it.
Step 1 · Total distance
Step 2 · Fuel
Step 3 · Cost
How the calculation works
The calculator combines the distance, your car's fuel economy and the price of fuel. Choose round trip and the distance is doubled.
The result is an estimate based on average fuel economy. A real trip can cost more or less depending on speed, load and weather. Miles, mpg and prices per gallon are converted to kilometers, liters per 100 km and price per liter before the calculation.
Formula
Cost = distance × trip (1 or 2) × fuel economy (L/100 km) ÷ 100 × price per liter
Assumptions
- Fuel economy is an average over the whole trip.
- The fuel price stays the same during the trip.
- Only fuel counts: no tolls, parking, maintenance or depreciation.
- For a round trip, the way back is as long as the way there.
Example calculations
The button fills in the calculator above, so you can carry on from there.
-
Commute, round trip
Total cost
$6.09
Distance 25 km · Fuel economy 5.8 L/100 km · Fuel price $2.10 per L · Round trip
-
Holiday drive, one way
Total cost
$156.00
Distance 1,200 km · Fuel economy 6.5 L/100 km · Fuel price $2.00 per L · One way
-
100-mile drive
Total cost
$25.75
Distance 100 mi · Fuel economy 8 L/100 km · Fuel price $2.00 per L · One way
Frequently asked questions
How do I find my car's fuel economy?
Check the trip computer. Or fill the tank, note the mileage, and at the next fill-up divide the liters you put in by the kilometers you drove and multiply by 100 for L/100 km, or divide the miles you drove by the gallons you put in for mpg.
Should I choose US or UK mpg?
Use the gallon of the country your figure comes from. A UK (imperial) gallon is 4.546 liters and a US gallon is 3.785 liters, so the same car shows a higher mpg figure in UK gallons. Other units can be converted with the Fuel Economy Converter.
How much does it cost to drive 100 miles?
That depends on your fuel economy and the fuel price. At 30 mpg (US) and 3.50 per US gallon, for example, 100 miles takes 3.33 gallons and costs about 11.67. The calculator also shows the cost per kilometer.
Why does my real fuel economy differ?
Speed, load, tyre pressure, air conditioning and weather all affect fuel use. Use an average over several fill-ups for a better estimate.
How do I split fuel costs with passengers?
Divide the total cost by the number of people sharing it. If a round trip costs 30 in fuel and three people share, each pays 10.
Does it work for diesel and LPG?
Yes, the calculation is the same for any fuel. Enter the fuel economy and the price of your fuel. A car on LPG usually uses more liters per 100 km than on petrol, so use its LPG figure.
Sources and checks
Sources
- Propane Vehicles | Alternative Fuels Data Center (U.S. DOE)
- NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically
- NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement
How we check it
This calculator has 12 fixed checks: 10 calculations with a result that is fixed in advance, and 2 cases of invalid input that must be rejected. They all run automatically every time we publish; if one fails, the calculator does not go live.
See the calculations
- Distance 150 km · Fuel economy 6.5 L/100 km · Fuel price $2.05 per L · One way → Total cost $19.99
- Distance 150 km · Fuel economy 6.5 L/100 km · Fuel price $2.05 per L · Round trip → Total cost $39.98
- Distance 100 mi · Fuel economy 8 L/100 km · Fuel price $2.00 per L · One way → Total cost $25.75
- Distance 300 km · Fuel economy 15 km/L · Fuel price $1.90 per L · One way → Total cost $38.00
- Distance 100 mi · Fuel economy 30 mpg (US) · Fuel price $3.50 per US gal · One way → Total cost $11.67
- Distance 200 mi · Fuel economy 40 mpg (UK) · Fuel price $6.59 per UK gal · One way → Total cost $32.95
- Distance 0 km · Fuel economy 6.5 L/100 km · Fuel price $2.00 per L · One way → Total cost $0.00
- Distance 100,000 km · Fuel economy 60 L/100 km · Fuel price $20.00 per L · Round trip → Total cost $2,400,000.00
- Distance 25 km · Fuel economy 5.8 L/100 km · Fuel price $2.10 per L · Round trip → Total cost $6.09
- Distance 1,200 km · Fuel economy 6.5 L/100 km · Fuel price $2.00 per L · One way → Total cost $156.00
Changes
- : Clearer help texts for the fields. Sources added and content reviewed.
- : Added an explanation, assumptions, worked examples and frequently asked questions.
- : First version.
Last reviewed: · How we build and check our calculators
More calculators
- Car Finance Calculator (Balloon Payment)Work out the monthly payment for car finance with a down payment and a balloon payment, and see what driving really costs you, also per kilometer.
- Average Speed CalculatorWork out your average speed from the distance and the travel time, in km/h and mph.
- Buy, Lease or Finance a CarCompare what a car costs per month if you pay cash, take out a car loan or lease it, including depreciation, running costs and interest.