OnlineCalcFree

How to Calculate Fuel Cost for a Trip (MPG and L/100 km)

By Updated How we check our numbers

Short answer

Divide the total distance by your car's fuel economy to get the fuel you'll use, then multiply by the fuel price: cost = miles ÷ MPG × price per gallon, or in metric, cost = km ÷ 100 × L/100 km × price per liter. For a round trip, double the one-way distance first. A 500-mile round trip at 28 MPG and $3.40 a gallon uses 17.857 gallons and costs about $60.71.

Estimating what a drive will cost in fuel takes three numbers: how far you're going, how much fuel your car burns, and what fuel costs. This guide shows the formula in both US and metric units, works through real examples, explains how to convert between MPG and liters per 100 km, and covers what makes real-world fuel use higher than the estimate.

What is the formula for trip fuel cost?

Work out the fuel you'll burn, then price it. Which version you use depends on how your fuel economy is quoted.

Total distance = one-way distance × 2 (if round trip)

US (MPG):      gallons = miles ÷ MPG
               cost    = gallons × price per gallon

Metric:        liters  = km ÷ 100 × L/100 km
               cost    = liters × price per liter

The only rule is to keep every input in the same system: miles with MPG and price per gallon, or kilometers with L/100 km and price per liter.

How do I calculate fuel cost for a trip using MPG?

Worked example: you're driving 250 miles each way, there and back, in a car that averages 28 MPG, and gas costs $3.40 a gallon.

  1. Total distance: 250 × 2 = 500 miles.
  2. Fuel used: 500 ÷ 28 = 17.857 gallons.
  3. Cost: 17.857 × $3.40 = $60.71.

Our fuel cost calculator shows the same 17.857 gallons and $60.71 when you enter 250 miles, tick round trip, and use 28 MPG at $3.40.

A useful shortcut is cost per mile: price per gallon ÷ MPG. Here that's $3.40 ÷ 28 ≈ $0.12 a mile, which makes it easy to price other drives in your head.

How do I calculate fuel cost in liters per 100 km?

L/100 km already tells you how much fuel each 100 km takes, so you count how many hundreds of kilometers you'll drive and multiply. Worked example: a 400 km drive each way, round trip, in a car using 6.5 L/100 km, with fuel at 1.80 per liter.

  1. Total distance: 400 × 2 = 800 km.
  2. Hundreds of km: 800 ÷ 100 = 8.
  3. Fuel used: 8 × 6.5 = 52 liters.
  4. Cost: 52 × 1.80 = 93.60.

The method works in any currency. The calculator's metric mode gives 52 liters and 93.60 for these inputs (shown without a currency symbol, because the arithmetic is the same for euros, pounds, rupees or anything else).

Where do I find my car's real fuel economy?

The estimate is only as good as the economy figure you put in. In rough order of accuracy:

  • Your own fill-ups. Fill the tank, reset the trip meter, drive normally, then fill up again. Miles driven ÷ gallons added is your real MPG; liters added ÷ km driven × 100 is your real L/100 km.
  • The car's trip computer. Handy, though it can be a little optimistic.
  • The official rating. In the US, FuelEconomy.gov lists city, highway and combined MPG for most cars. Combined is a weighted average of city and highway; if your trip is mostly highway, the highway figure is closer.

How do you convert MPG to L/100 km?

Because MPG is distance per fuel and L/100 km is fuel per distance, you divide rather than multiply:

L/100 km = 235.21 ÷ MPG (US)       MPG (US) = 235.21 ÷ L/100 km
L/100 km = 282.48 ÷ MPG (UK)       MPG (UK) = 282.48 ÷ L/100 km

The constant comes from unit definitions. A US gallon is 3.785412 liters and a mile is 1.609344 km, so 100 × 3.785412 ÷ 1.609344 ≈ 235.21. The UK (imperial) gallon is bigger, 4.54609 liters, which gives 282.48. That's why the same car shows a higher MPG figure in the UK than in the US: a UK MPG number is about 1.2 times the US number for the same car.

Two examples: 28 US MPG is 235.21 ÷ 28 = 8.40 L/100 km. Going the other way, 6.5 L/100 km is 235.21 ÷ 6.5 = 36.19 US MPG, or 282.48 ÷ 6.5 = 43.46 UK MPG.

US MPGL/100 kmUK MPG (same car)Gallons per 100 miles
1515.6818.06.67
2011.7624.05.00
259.4130.04.00
307.8436.03.33
356.7242.02.86
405.8848.02.50
504.7060.02.00

L/100 km vs MPG: which is better for comparing cars?

Fuel-per-distance measures (L/100 km, or gallons per 100 miles, which now appears on US window stickers) are easier to compare because they move in step with the fuel you actually burn. MPG doesn't. FuelEconomy.gov gives the classic example: going from 10 to 15 MPG saves about 33 gallons every 1,000 miles, while going from 30 to 35 MPG saves only about 5. The last column of the table above shows the same effect: the gap between 15 and 20 MPG is 1.67 gallons per 100 miles, but between 40 and 50 MPG it's just 0.5.

How much does it cost to drive 100 miles?

Cost per 100 miles is 100 ÷ MPG × price per gallon. Multiply by your trip distance in hundreds of miles to get a quick estimate.

MPG$3.00/gal$3.50/gal$4.00/gal$4.50/gal
15$20.00$23.33$26.67$30.00
20$15.00$17.50$20.00$22.50
25$12.00$14.00$16.00$18.00
30$10.00$11.67$13.33$15.00
35$8.57$10.00$11.43$12.86
40$7.50$8.75$10.00$11.25
50$6.00$7.00$8.00$9.00

For example, a 350-mile trip at 30 MPG and $3.50 a gallon costs 350 ÷ 30 × $3.50 ≈ $40.83, or roughly 3.5 times the $11.67 in the table.

How do you split fuel costs between passengers?

The simplest fair split is total fuel cost divided by the number of people sharing it. For the $60.71 round trip above with four people, that's $60.71 ÷ 4 = $15.1775, so about $15.18 each (rounding up by a fraction of a cent so the driver isn't short).

If people ride for different parts of the journey, split by distance instead: work out the fuel cost of each leg and divide each leg among the people in the car for it. Agree up front whether the driver pays a share, and whether tolls and parking go in the same pot.

What makes real fuel use higher than the estimate?

The formula assumes your economy figure holds for the whole trip. In practice it moves with how and where you drive. FuelEconomy.gov, run by the US Department of Energy and EPA, highlights these:

  • Speed. Gas mileage usually drops quickly above 50 mph, because air resistance rises with speed.
  • Aggressive driving. Speeding, hard acceleration and hard braking can lower gas mileage by roughly 15% to 30% at highway speeds and 10% to 40% in stop-and-go traffic.
  • Air conditioning. Running the AC on max can reduce MPG by roughly 5% to 25% compared with not using it.
  • Load and roof boxes. Extra weight and roof-mounted cargo (boxes, bikes, canoes) add drag and weight, and official MPG tests don't account for them.
  • City vs highway. Stop-and-go traffic, idling and short trips in cold weather all burn more fuel per mile than steady highway cruising. Idling alone can use a quarter to half a gallon an hour.

A simple safeguard is to budget with a slightly worse figure. Knocking 10% off 28 MPG gives 25.2 MPG; the same 500-mile round trip then uses 19.841 gallons and costs $67.46 instead of $60.71.

What this doesn't cover

This is a fuel-only estimate. It doesn't include tolls, parking, ferries, tire and oil wear, depreciation or insurance, which can add a lot to the real cost of driving. It also assumes one fuel price for the whole route; on a long trip, prices can vary from state to state or country to country. It doesn't apply to electric cars, which are priced per kWh rather than per gallon or liter. And it isn't a mileage-deduction method: tax rules for business driving have their own rates and records, so check with your tax authority or an accountant.

Sources

Related guides