# Trip Fuel Cost Calculator

To find what a trip costs, divide the distance by your fuel economy to get the fuel used, then multiply by the price: a 300 mi round trip at 30 MPG (US) uses 10 US gal (37.85 L), which at a hypothetical $4.00 per US gallon costs $40.00, or $13.33 or $13.34 each for 3 people. Enter the distance in miles or kilometres, your economy in MPG (US or UK), L/100 km or km/L, and the price per US gallon, imperial gallon or litre, and the tool shows the fuel and the cost. It can also work out your mileage from a fill-up (distance driven and fuel added) and convert between MPG (US), MPG (UK), L/100 km and km/L. Conversions use the exact definitions of the gallon and the mile, and the cost shares add up to the total to the cent.

Canonical page: https://ponderloop.com/tools/fuel-cost-calculator/
Updated: 2026-10-03

## How to use

How to calculate fuel cost for a trip

1. **Enter the distance**: Type the distance and choose miles or kilometres. Tick “Round trip” to count the way back too: 150 mi each way is 300 mi.
2. **Enter your fuel economy**: Type your economy and pick its unit: MPG (US), MPG (UK), L/100 km or km/L. The example is 30 MPG (US), which is 7.84 L/100 km. If you do not know it, use the fill-up section below.
3. **Enter the fuel price**: Type the price you pay and choose per US gallon, per imperial gallon or per litre. The example uses a made-up $4.00 per US gallon; replace it with the price at your pump.
4. **Add people if you are sharing**: Set the number of people to split the cost. $40.00 among 3 is $13.33 to $13.34: the shares differ by one cent and add up to the total exactly.
5. **Read the fuel and the cost**: The result shows the fuel used in litres and gallons, the cost, and the cost per mile and per kilometre. For the example that is 37.85 L and $40.00.

## Reference tables and worked examples

### MPG (US) in L/100 km, MPG (UK) and km/L

Each row converts the MPG (US) figure with the exact gallon and mile definitions; a lower L/100 km means less fuel.

| MPG (US) | L/100 km | MPG (UK) | km/L |
| --- | --- | --- | --- |
| 10 | 23.52 | 12.01 | 4.25 |
| 15 | 15.68 | 18.01 | 6.38 |
| 20 | 11.76 | 24.02 | 8.5 |
| 25 | 9.41 | 30.02 | 10.63 |
| 30 | 7.84 | 36.03 | 12.75 |
| 35 | 6.72 | 42.03 | 14.88 |
| 40 | 5.88 | 48.04 | 17.01 |
| 45 | 5.23 | 54.04 | 19.13 |
| 50 | 4.7 | 60.05 | 21.26 |
| 55 | 4.28 | 66.05 | 23.38 |
| 60 | 3.92 | 72.06 | 25.51 |

### The constants behind every conversion

Three exact definitions; every other factor on this page is calculated from them.

| Quantity | Value | Where it is used |
| --- | --- | --- |
| 1 US gallon | 3.785411784 L (exact) | MPG (US), prices per US gallon |
| 1 imperial gallon | 4.54609 L (exact) | MPG (UK), prices per imperial gallon |
| 1 mile | 1.609344 km (exact) | Every mile and kilometre conversion |
| L/100 km × MPG (US) | 235.21 (100 × 3.785411784 ÷ 1.609344) | L/100 km = this ÷ MPG (US) |
| L/100 km × MPG (UK) | 282.48 (100 × 4.54609 ÷ 1.609344) | L/100 km = this ÷ MPG (UK) |

### Cost of a one-way trip by distance at 30 MPG

At a hypothetical $4.00 per US gallon. Replace the price with yours: the fuel used does not change, only the cost.

| Distance | Fuel used | Fuel cost | Cost per mile |
| --- | --- | --- | --- |
| 25 mi | 0.8333 US gal | $3.33 | $0.133 |
| 50 mi | 1.67 US gal | $6.67 | $0.133 |
| 100 mi | 3.33 US gal | $13.33 | $0.133 |
| 200 mi | 6.67 US gal | $26.67 | $0.133 |
| 300 mi | 10 US gal | $40.00 | $0.133 |
| 500 mi | 16.67 US gal | $66.67 | $0.133 |
| 1,000 mi | 33.33 US gal | $133.33 | $0.133 |

### The same 300-mile trip at different fuel economies

A one-way 300 miles at a hypothetical $4.00 per US gallon. A more efficient car saves the difference on every trip.

| Fuel economy | Fuel used | Fuel cost | Cost per mile |
| --- | --- | --- | --- |
| 15 MPG (US) | 20 US gal | $80.00 | $0.267 |
| 20 MPG (US) | 15 US gal | $60.00 | $0.200 |
| 25 MPG (US) | 12 US gal | $48.00 | $0.160 |
| 30 MPG (US) | 10 US gal | $40.00 | $0.133 |
| 40 MPG (US) | 7.5 US gal | $30.00 | $0.100 |
| 50 MPG (US) | 6 US gal | $24.00 | $0.080 |

## How it works

All conversions come from three exact definitions: 1 US gallon = 3.785411784 L, 1 imperial gallon = 4.54609 L and 1 mile = 1.609344 km. Economy is held as litres per 100 km. For MPG the factor is calculated, not typed in: L/100 km = 100 × (litres per gallon) ÷ (km per mile) ÷ MPG, which is 235.21 ÷ MPG (US) and 282.48 ÷ MPG (UK) to two decimals; km/L = 100 ÷ (L/100 km). A trip’s fuel is distance in km × L/100 km ÷ 100, doubled for a round trip. The cost is that fuel, divided by the litres in the price’s unit, times the price you typed, rounded to a whole cent once. Mileage from a fill-up is fuel in litres × 100 ÷ distance in km, shown in all four units. To split, the cost in cents is divided by the number of people with a remainder in cents; that many people pay one cent more, so the shares add up to the total exactly. Displayed figures are rounded to two decimals (the cost per mile and per km to three), while the calculations keep full precision. The calculator holds no fuel prices and makes no claim about what fuel costs; the example price is hypothetical. Electric vehicles are not covered. Everything runs in your browser and nothing you type is sent anywhere.

## FAQ

### How do I calculate the fuel cost of a trip?

Work out the fuel used, then multiply by the price per unit of fuel. With MPG, fuel in gallons is miles ÷ MPG: 300 mi at 30 MPG is 10 US gal. At a hypothetical $4.00 per US gallon that is $40.00. With L/100 km, litres are kilometres × L/100 km ÷ 100: 500 km at 8 L/100 km is 40 L, which at 2.00 per litre (also hypothetical) is $80.00.

### How much does 100 miles of driving cost in gas?

Divide the miles by your MPG and multiply by the price. At 30 MPG (US) 100 miles uses 3.33 US gal, and at a hypothetical $4.00 per US gallon that costs $13.33, or $0.133 a mile. Your own price per gallon scales the result in proportion.

### How much money does a more efficient car save on a 300-mile trip?

Compare the fuel each car uses. At a hypothetical $4.00 per US gallon, 300 miles at 25 MPG uses 12 US gal and costs $48.00; at 40 MPG it uses 7.5 US gal and costs $30.00. Run the calculator once per car with the same distance and price and subtract the two costs.

### How do I split fuel costs for a trip in kilometres and litres?

Enter the distance in km, the economy as L/100 km and the price per litre, then set the number of people. For 1,000 km at 6.5 L/100 km the fuel is 65 L, which at a hypothetical 1.80 per litre is €117.00: €29.25 each for 4 people (€0.117 per km).

### What is my cost per mile, for a commute or mileage claim?

Cost per mile is the fuel cost divided by the distance, which for fuel alone equals the price per gallon divided by your MPG. A 12-mile commute at 28 MPG costs $1.71 in fuel at the example price, or $0.142 a mile. This counts fuel only: tyres, servicing and depreciation are not included, and an official mileage rate (such as the IRS standard mileage rate) covers more than fuel.

### How do I work out my gas mileage from a fill-up?

Fill the tank, note the distance on the trip meter, and at the next fill-up divide the distance by the fuel you added. 350 miles on 11.2 US gallons is 31.25 MPG (US), 7.53 L/100 km, 37.53 MPG (UK) and 13.29 km/L. Fill to the same point each time for a fair figure, and average several fill-ups, since a single one can be off by a few percent. For odometer readings, a log of fill-ups and cost per mile, use the Gas Mileage (MPG) Calculator.

### How do I convert MPG to L/100 km?

Divide 235.21 by the MPG (US) figure: L/100 km = 235.21 ÷ MPG. The constant is 100 × 3.785411784 ÷ 1.609344. So 30 MPG (US) is 7.84 L/100 km. The same formula converts back, because 30 MPG and 7.84 L/100 km are the same economy: 235.21 ÷ 7.84 is about 30. For imperial MPG the constant is 282.48.

### Why is UK MPG a bigger number than US MPG?

The imperial gallon (4.54609 L) is larger than the US gallon (3.785411784 L), so the same car goes further on one imperial gallon. MPG (UK) is MPG (US) × 4.54609 ÷ 3.785411784, about 1.2 times as much: 30 MPG (US) is 36.03 MPG (UK). The car is the same; only the gallon differs. Always check which gallon a figure uses.

### Is a higher or lower number better?

It depends on the unit. MPG and km/L measure distance per fuel, so higher is better. L/100 km measures fuel per distance, so lower is better. The table above lines the units up.

### How does the round trip option work?

It doubles the distance you typed, so the fuel and the cost double too: $20.00 one way becomes $40.00 there and back for the example. Untick it for a one-way trip, or type the full distance yourself.

### How is the cost split between people?

The total is rounded to a cent once, then divided by the number of people with a remainder in cents, so some people pay one cent more and the shares add up to the total exactly. For the example, $40.00 among 3 people is $13.33 to $13.34 each, and the tool says how many people pay the extra cent.

### Does the calculator know current fuel prices?

No. It does not fetch or store any prices; you type the price you pay. The example price on this page is made up to show how the sums work and is not a real or current price. Prices differ by place and change often, so use your own.

### What about electric cars?

Electric vehicles are out of scope here. They are rated in kWh per 100 km or miles per kWh, and charging prices work differently, so this tool only covers liquid fuel.

### How accurate is the estimate?

The arithmetic is exact, but real fuel use depends on speed, load, weather, traffic and driving style, so the result is an estimate. Use a mileage figure from your own recent driving for the best answer. Nothing you type is stored or sent anywhere.

## Sources

- [NIST Special Publication 811, Appendix B: conversion factors (gallon, mile)](https://www.nist.gov/pml/special-publication-811)
- [Weights and Measures Act 1985 (UK): the imperial gallon](https://www.legislation.gov.uk/ukpga/1985/72)
- [IRS: Standard mileage rates (covers more than fuel)](https://www.irs.gov/tax-professionals/standard-mileage-rates)
- [Fuel economy in automobiles, Wikipedia](https://en.wikipedia.org/wiki/Fuel_economy_in_automobiles)

---

Cite as: Trip Fuel Cost Calculator, ponderloop, https://ponderloop.com/tools/fuel-cost-calculator/, updated 2026-10-03
