This calculator estimates how much fuel a trip will cost from the distance, your car's consumption in liters per 100 km, and the local price per liter. It uses metric units throughout, so drivers who think in miles per gallon will need to convert their figures first (the steps below show how).
How to use the Fuel Cost calculator
- Enter the trip length in Travel distance (km). For a round trip, enter both legs.
- Enter your vehicle's Fuel consumption in L/100 km.
- Enter the pump price in Fuel price per liter, and choose a symbol in Display currency. The symbol is only a label; no exchange rate is applied.
- Read the estimated cost, rounded to two decimals.
How the fuel cost calculation works
Converting US figures
A US gallon is exactly 3.785411784 liters, and a mile is exactly 1.609344 km. To convert miles to km, multiply by 1.609344: 280 miles is about 450.6 km.
To turn miles per gallon into L/100 km, divide 235.215 by the mpg figure. A car rated at 31 mpg uses about 7.6 L/100 km, and one at 22 mpg uses about 10.7 L/100 km. Note that the relationship is inverse, so higher mpg means lower L/100 km.
For price, divide the price per gallon by 3.785. Gas at $3.50 a gallon is about $0.92 a liter.
Getting a realistic estimate
Your car's official rating comes from a standardized laboratory test, and real trips differ. Highway speeds above about 100 km/h, roof boxes, towing, cold weather and air conditioning all raise consumption. Your own measured figure from the Fuel Economy calculator is usually a better input.
The estimate covers fuel only. Tolls, parking, wear and tear, and insurance are not included, so the figure is lower than the full cost of driving.
To split the cost among passengers, divide the result by the number of people, or use the Personal Expense Splitter.
Worked example
Travel distance: 450 km · Fuel consumption: 7.5 L/100 km · Fuel price per liter: 1.65
- Fuel used: 450 × 7.5 ÷ 100 = 33.75 liters.
- Cost: 33.75 × 1.65 = 55.6875.
- Rounded to cents: 55.69.
Result: $55.69
Assumptions and limits
Constant consumption and manual local fuel price; no live prices, traffic, tolls or parking.
Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.
Frequently asked questions
How do I calculate gas cost for a trip in miles and mpg?
Divide the miles by your mpg to get gallons, then multiply by the price per gallon. For 300 miles at 30 mpg and $3.40 a gallon: 300 ÷ 30 = 10 gallons, × $3.40 = $34. To use this metric calculator, convert miles to km and mpg to L/100 km first.
Is it cheaper to drive at 55 or 70 mph?
Most cars use more fuel per mile at higher highway speeds, because air resistance rises sharply with speed. The size of the difference depends on the vehicle. Measure consumption on two trips at different speeds and compare the L/100 km figures here.
Does the calculator use live fuel prices?
No. You type the price yourself, so the result reflects whatever price you enter. Prices can vary noticeably between stations and regions, so use the price where you expect to fill up.
Why is my actual fuel bill higher than the estimate?
Traffic, idling, heavy loads, short trips with a cold engine and higher speeds all increase consumption compared with a steady drive. Detours and searching for parking add distance too. Adding 10 to 15 percent to the distance is a simple buffer for planning.