About this tool
This fuel cost calculator works out how much fuel a trip uses and what it costs, then splits the total among the people sharing the ride. It is handy for road-trip budgets, carpool cost sharing and comparing driving with other travel options. Fuel consumption is entered in liters per 100 kilometers (L/100 km), the volume of fuel a vehicle burns to travel 100 km; a lower number means a more efficient vehicle.
How it works
Enter the distance in kilometers, your car's consumption in liters per 100 km, the fuel price per liter and how many people share the cost. For a return journey, double the one-way distance.
The calculator multiplies distance by consumption and divides by 100 to get liters, then multiplies liters by the price for the total trip cost. Dividing by the number of people gives each person's equal share. If you only know your car's mpg, convert it to L/100 km first using the FAQ below.
Example
The default trip is 200 km in a car that uses 8 L/100 km, with fuel at 1.5 per liter and two people sharing. Fuel used is liters. The trip cost is in your currency. Divided equally between two people, each pays 12. For a round trip, enter the total distance driven in both directions.
Assumptions and limits
Distances must be in kilometers, consumption in liters per 100 km and price per liter; the tool does not accept miles or miles per gallon. It excludes tolls, parking, wear and other trip costs, splits the cost equally and assumes the consumption figure you enter holds for the whole route.
Frequently asked questions
How do I convert miles per gallon to L/100 km?
Divide 235.21 by the fuel economy in US miles per gallon. For example, 30 US mpg is about 7.84 L/100 km. For imperial gallons, divide 282.48 by the mpg figure.
How do I measure my car's actual fuel consumption?
Fill the tank, reset the trip meter, drive normally, then fill the tank again. Divide the liters added by the kilometers driven and multiply by 100 to get L/100 km.
Why is real fuel use higher than the official rating?
Official figures come from standardized test cycles. Higher speeds, heavy loads, air conditioning, cold weather and frequent short trips all tend to increase consumption, so real-world figures commonly exceed the rating.
Should the driver be counted when splitting the cost?
That is up to the group. Enter the total number of people who will share the cost, including the driver if they pay a share.
How do I work out my fuel cost per kilometer?
Multiply consumption by the price per liter and divide by 100. At 8 L/100 km and 1.5 per liter, each kilometer costs . Multiply that by any distance for a quick estimate, or use it to compare driving with the price of a train or bus ticket.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
distance_kmDistance | number; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed ≥ 0 km | required |
fuel_consumption_l_per_100kmFuel consumption | number; allowed > 0 | required |
fuel_price_per_lPrice per liter | amount without a currency symbol; allowed ≥ 0 | required |
passengersPeople sharing the cost | whole number; allowed ≥ 1 | default 2 |
Examples
?distance_mi=300&fuel_consumption_l_per_100km=7.5&fuel_price_per_l=1.65&passengers=3
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="fuel_cost_calculator"]