Fuel Cost Calculator
Find the petrol, gas or diesel cost of a trip. Enter the distance, your fuel economy and the pump price in the units you use, then split the total between passengers.
Fuel cost = distance ÷ fuel economy × fuel price. A 300-mile trip at 30 US mpg and $3.50 a gallon uses 10 gallons and costs $35.00. A 500 km trip at 6.5 L/100 km and €1.75 a litre uses 32.5 litres and costs €56.88.
The fuel price is an example, not a live figure. Replace it with the price on the pump or your receipt.
Fuel cost for the trip
$35.00
300 miles (482.8 km) using 37.9 litres
$0.12
Cost per mile
$0.07
Cost per km
10 US gal
Fuel used
8.3 UK gal
Fuel used
The same car in other units: 30 US mpg, 36 UK mpg, 7.8 L/100 km, 12.8 km/L.
Key takeaways
- Fuel cost is the fuel you burn multiplied by the price you pay: distance ÷ economy × price.
- A UK gallon (4.54609 L) is about 20% larger than a US gallon (3.785 L), so UK and US mpg figures for the same car differ.
- With mpg and km/L a higher number is better. With L/100 km a lower number is better.
- Real-world consumption is usually higher than the official test figure, so use the economy you measure yourself.
How the fuel cost formula works
Every version of the sum has the same two steps: work out how much fuel the trip burns, then multiply by the price of that fuel. What changes between countries is the unit for fuel economy and the unit fuel is sold in.
- United States: cost = miles ÷ US mpg × price per US gallon.
- United Kingdom: cost = miles ÷ UK mpg × 4.54609 × price per litre. Economy is quoted in miles per imperial gallon, but fuel is sold by the litre.
- Europe, Canada, Australia: cost = km × L/100 km ÷ 100 × price per litre.
- India, Japan and others using km/L: cost = km ÷ km/L × price per litre.
Worked examples in four unit systems
| Trip | Economy | Example price | Fuel used | Cost |
|---|---|---|---|---|
| 300 miles (US) | 30 US mpg | $3.50 per US gallon | 10.0 US gal | $35.00 |
| 200 miles (UK) | 45 UK mpg | £1.45 per litre | 20.2 L | £29.30 |
| 500 km (Europe) | 6.5 L/100 km | €1.75 per litre | 32.5 L | €56.88 |
| 300 km (India) | 18 km/L | ₹100 per litre | 16.7 L | ₹1,667 |
Prices in this table are round example figures, not current averages. Official price series are linked under Sources.
Fuel economy units by country
The United States quotes fuel economy in miles per US gallon. The United Kingdom quotes miles per imperial gallon, although fuel has been sold by the litre there for decades. The European Union, Canada and Australia use litres per 100 kilometres. India and Japan commonly quote kilometres per litre.
These are two different kinds of measure. Miles per gallon and km/L say how far a unit of fuel takes you, so a bigger number means a more economical car. L/100 km says how much fuel a fixed distance needs, so a smaller number is better. Because one is the inverse of the other, the conversion is a division, not a multiplication: L/100 km = 235.215 ÷ US mpg, or 282.481 ÷ UK mpg.
| US mpg | UK mpg | L/100 km | km/L |
|---|---|---|---|
| 20 | 24.0 | 11.8 | 8.5 |
| 25 | 30.0 | 9.4 | 10.6 |
| 30 | 36.0 | 7.8 | 12.8 |
| 35 | 42.0 | 6.7 | 14.9 |
| 40 | 48.0 | 5.9 | 17.0 |
| 50 | 60.0 | 4.7 | 21.3 |
| 60 | 72.1 | 3.9 | 25.5 |
Getting a realistic estimate
The economy printed on a window sticker or in a brochure comes from a standard laboratory cycle: the EPA test in the United States and WLTP in Europe and the UK. Those figures are for comparing cars, not for predicting a particular journey. Motorway speeds, cold starts, hills, a full boot and a roof box all push consumption up.
For trip planning, use the average shown by your car over several tanks, or measure it: fill up, reset the trip meter, drive normally, fill up again and divide the distance by the fuel added. Use the price at the pumps you will actually use; motorway service areas usually charge more than supermarkets and town forecourts.
Fuel is only part of the cost of driving. Tolls, parking, tyres, servicing and depreciation are separate. If you are claiming business mileage, use the rate your tax authority or employer sets, not your fuel cost.
FAQ
Frequently asked questions
How do I calculate the fuel cost of a trip? ▾
Is a gas cost calculator the same as a fuel cost calculator? ▾
Why is UK mpg higher than US mpg for the same car? ▾
How do I convert mpg to L/100 km? ▾
How do I split fuel costs between passengers? ▾
Does the calculator work for diesel, hybrid or electric cars? ▾
Why is my real fuel cost higher than the estimate? ▾
Sources & Methodology
The calculator converts distance to kilometres and fuel economy to litres per kilometre, multiplies them to get litres used, and multiplies litres by the price per litre. A US gallon is 3.785411784 litres (231 cubic inches) and an imperial gallon is 4.54609 litres, both exact by definition. Prices shown in the form are examples for you to replace.
- US EPA and Department of Energy: how to read the fuel economy label
- UK legislation: The Units of Measurement Regulations 1995 (definition of the gallon)
- US Energy Information Administration: weekly gasoline and diesel prices
- GOV.UK: weekly road fuel prices
- European Commission: Weekly Oil Bulletin (pump prices by EU country)
Related Calculators
Cite this page APA · MLA · BibTeX
APA
WorldCalculators.org. (2026, November 19). Fuel Cost Calculator: Trip Gas Cost in mpg or L/100km. https://worldcalculators.org/calculators/fuel-cost/
MLA
“Fuel Cost Calculator: Trip Gas Cost in mpg or L/100km.” WorldCalculators.org, 19 Nov. 2026, worldcalculators.org/calculators/fuel-cost/.
BibTeX
@misc{worldcalculators2026calculatorsfuelcost,
title = {Fuel Cost Calculator: Trip Gas Cost in mpg or L/100km},
author = {{WorldCalculators.org}},
year = {2026},
howpublished = {\url{https://worldcalculators.org/calculators/fuel-cost/}}
} Figures change when tax years or guidance change. Cite the date shown and link the page so readers see the current version.