300 km at 7 L/100 km burns 21 L of fuel costing $36.75; with $10.00 in tolls and parking the trip costs $46.75, or $23.38 each for 2 people.
Where the money goes
Fuel78.6%Tolls and parking21.4%
How it's calculated S
Distance
300km×1=300km
Fuel used
14.285714km/L300km=21L
Economy converted to km/L (7 L/100 km).
Fuel cost
21L×1.75per L=36.75
Total and share
36.75+10=46.75;÷2=23.38
About the trip fuel cost calculator
Fuel used is the distance divided by the fuel economy, and fuel cost is that volume times the price per litre or gallon. Tolls and parking are added for each leg, a round trip doubles both the distance and the tolls, and the total is divided by the people sharing the car. Economy can be entered in L/100 km, km/L, US mpg or UK mpg, and the price per litre, US gallon or imperial gallon.
With the defaults, 300 km at 7 L/100 km burns 21 L. At 1.75 a litre that is 36.75 of fuel, and 10 of tolls brings the trip to 46.75, or 23.38 each for two people. The same sum prices a commute, a holiday drive or a share of the petrol money.
The answer is only as good as the economy figure. Speed, traffic, load and cold weather all change consumption, so a figure worked out from your own fill-ups gives a closer cost than the official rating.
How to calculate the fuel cost of a trip
Work out the fuel used, then multiply by the price. Fuel used is distance × L/100 km ÷ 100, or miles ÷ mpg. A 300 km drive at 7 L/100 km uses 21 L; at 1.75 a liter that is 36.75 of fuel, and 10 of tolls makes 46.75, or 23.38 each for two people.
For a round trip, double both the distance and the tolls. Add parking and other trip costs before dividing among the people sharing the car.
Worked examples in US and UK units
US gallons. 500 miles each way at 30 mpg is 1,000 miles ÷ 30 = 33.33 gallons. At $3.50 a gallon that is $116.67, or $29.17 each for four people.
UK mpg with fuel priced per liter. 200 miles at 45 UK mpg uses 200 ÷ 45 = 4.444 imperial gallons, or 4.444 × 4.54609 = 20.20 L. At £1.45 a liter the fuel costs £29.30.
The UK example mixes units on purpose: British cars are rated in miles per imperial gallon while pumps charge per liter. Convert the fuel volume to the unit of the price before multiplying.
Converting mpg and L/100 km
L/100 km is consumption: a lower number means less fuel. km/L and mpg measure distance per fuel, so a higher number is better.
US mpg to L/100 km: divide 235.215 by the mpg. UK mpg: divide 282.481 instead. The same division converts back, so 7 L/100 km is 33.6 US mpg or 40.4 UK mpg.
The gallons differ: a US gallon is exactly 3.785411784 L, an imperial gallon 4.54609 L and a mile 1.609344 km (NIST SP 811).
UK to US mpg: multiply by 0.8327, so 45 UK mpg is 37.5 US mpg.
Price per gallon to price per liter: divide by 3.785411784 for a US gallon or 4.54609 for an imperial one.
Trip cost examples
Default is the 300 km drive above, and US round trip is the 500-mile example for four people. UK economy is the 200-mile drive at 45 UK mpg and £1.45 a liter, for one person.
Tolls each way is 100 km one way at 5 L/100 km and 2 a liter, with 5 in tolls each way, driven both ways and split three ways. Imperial fuel price is 100 miles at 40 UK mpg with fuel at 6 per imperial gallon.
Scenario
Fuel used, L
Trip total
Per person
Default
21.000000
46.750000
23.375000
US round trip
126.180393
116.666667
29.166667
UK economy
20.204844
29.297024
29.297024
Tolls each way
10.000000
30.000000
10.000000
Imperial fuel price
11.365225
15.000000
15.000000
In the tolls row, 200 km at 5 L/100 km is 10 L, or 20 of fuel, and the two 5 tolls bring it to 30: 10 each.
Splitting gas money
Divide the whole trip cost, fuel plus tolls and parking, by the number of people sharing it, including the driver if they share. Shares rounded to the cent may not add back exactly: two shares of 23.38 make 46.76 for a 46.75 trip.
Per-kilometer and per-mile costs include the tolls. The default trip costs 0.1558 per km in total but 0.1225 per km for fuel alone, because the fixed 10 of tolls is spread over 300 km.
This is the out-of-pocket cost of the drive. Wear, insurance and depreciation are extra; the car ownership cost calculator adds them up.
Round trips, one-off costs and units
Distance is one way. A round trip doubles it, so entering a return distance and also choosing round trip counts four legs.
Tolls and parking are per leg. A single parking fee for the whole visit should not be doubled: enter the full trip's distance and costs as one leg instead.
Economy and price units are independent. UK mpg with a price per liter, or L/100 km with a price per US gallon, both work.
A zero fuel price is allowed, for prepaid fuel; the total is then the tolls and parking alone.
Why real fuel use differs from the rating
The US Department of Energy's driving-efficiency guidance says aggressive driving can lower gas mileage by roughly 15–30% at highway speeds and 10–40% in stop-and-go traffic. Load and weather move it too.
For the closest estimate, use economy measured from your own fill-ups, which the gas mileage calculator works out from odometer readings and fuel added.
Common trip-cost mistakes
Reading UK mpg as US mpg. Treating 45 UK mpg as US gives 16.82 L instead of 20.20 L for 200 miles, a sixth too little.
Double-counting the return. Use the one-way distance with round trip, or the full distance without it.
Reading L/100 km like mpg. 8 L/100 km uses more fuel than 6, the opposite of mpg.
500 mi each way at 30 mpg, $3.50/gal, round trip, 4 people
Distance (one way)
500 mi
Fuel economy
30 mpg (US)
Fuel price per
US gallon
Fuel price
3.5
Tolls and parking (one way)
0
Round trip
yes
People sharing the cost
4
Fuel used
33.33 US gal
Trip cost
116.67
Cost per person
29.17
Cost per mile
0.12
Checked against: Hand calculation: 1,000 mi ÷ 30 mpg = 33.33 gal × 3.50 = 116.67; ÷ 4 = 29.17
200 miles at 45 mpg (UK), £1.45 per litre
Distance (one way)
200 mi
Fuel economy
45 mpg (UK)
Fuel price per
Litre
Fuel price
1.45
Tolls and parking (one way)
0
People sharing the cost
1
Fuel used
20.2 L
Trip cost
29.30
Checked against: 200 ÷ 45 × 4.54609 L = 20.2048 L × 1.45 = 29.297
Edge: round trip doubles the tolls too
Distance (one way)
100 km
Fuel economy
5 L/100 km
Fuel price per
Litre
Fuel price
2
Tolls and parking (one way)
5
Round trip
yes
People sharing the cost
3
Fuel used
10 L
Trip cost
30.00
Cost per person
10.00
Checked against: Hand calculation: 200 km × 5/100 = 10 L × 2 = 20, plus 2 × 5 tolls = 30; ÷ 3 = 10
Questions
How do you calculate the fuel cost of a trip?
Divide the distance by the fuel economy to get the fuel used, then multiply by the price. 300 km at 7 L/100 km uses 300 × 7 ÷ 100 = 21 L, which costs 36.75 at 1.75 a litre. In US units, 500 miles at 30 mpg uses 16.7 gallons, or $58.33 at $3.50 a gallon. Add tolls and parking, then double everything for a round trip.
How do you convert mpg to L/100 km?
Divide 235.21 by US mpg, or 282.48 by UK mpg; the same division converts L/100 km back to mpg. The constants follow from the US gallon (231 cubic inches, 3.785411784 L), the imperial gallon (4.54609 L) and the mile (1.609344 km), as listed in NIST SP 811. So 7 L/100 km is 33.6 US mpg or 40.4 UK mpg.
Why is a UK mpg figure higher than a US one for the same car?
The imperial gallon holds 4.54609 L and the US gallon 3.785 L, so a UK gallon is 20% larger and the same car travels 20% further on it. Multiply UK mpg by 0.8327 to get US mpg: 45 UK mpg is 37.5 US mpg. Reading a UK figure as US mpg understates the fuel used by a sixth.
How do you split gas money fairly?
Add fuel, tolls and parking and divide by the number of people sharing: the default 46.75 trip is 23.38 each for two. That covers only out-of-pocket costs. To include wear, insurance and depreciation, some drivers charge the IRS standard mileage rate instead, 76 cents a mile for business driving from 1 July 2026 (IR-2026-29); fuel alone at 30 mpg and $3.50 a gallon is 11.7 cents a mile.
Why does my car use more fuel than its official rating?
Driving style and weather move real consumption away from the label. The US Department of Energy's fueleconomy.gov says aggressive driving can cut gas mileage by 15–30% at highway speeds and 10–40% in stop-and-go traffic, and a petrol car's city mileage is roughly 15% lower at 20 °F (−7 °C) than at 77 °F (25 °C). Economy measured from your own fill-ups gives the closest trip cost.
This calculator includes 4 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.
Put this calculator on your site
Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.