Fuel Cost Calculator — Trip, Annual & EV vs Petrol | LazyTools

Free Fuel Cost Calculator — Trip, Annual & EV vs Petrol

Calculate the fuel cost of any trip, your annual fuel bill, or compare petrol vs diesel vs electric running costs side by side. Works in km/L, L/100km, US MPG and UK MPG, every major currency. Includes per-trip CO₂ emissions, a session trip log with totals, and one-click Excel export. Free, no login.

Trip · Annual · Compare EV vs petrol vs diesel CO₂ emissions estimate Excel export Free, no login

Fuel Cost Calculator Tool

$
Trip cost
$51.80
28.0 L of fuel
Cost per km
$0.130
$0.208 / mile
Fuel used
28.0 L
7.40 US gal
CO₂ emissions
64.7 kg
0.16 kg/km
Currency:
$
Annual fuel cost
$2,590
$216 / month
Per week
$49.81
52 weeks
Fuel used
1,400 L
370 US gal
Annual CO₂
3,234 kg
3.2 tonnes
Cheapest annual cost
vs most expensive
savings per year
CO₂ delta (cheapest vs worst)
kg CO₂ / year
Saved trip log
No trips saved yet. Calculate a trip cost above and click Save trip to add it to the log.
⭐ User Ratings

Rate this tool

4.9
Based on 21,670 ratings
5
19,503
4
1,517
3
433
2
109
1
108
Was this fuel cost calculator helpful?
✅ Thank you for your rating!
✦ Features

More than just trip cost — what makes this calculator different

Most free fuel calculators do exactly one thing — multiply distance by efficiency by price and show a number. The LazyTools fuel cost calculator does that, plus eight things that competitors either skip or charge for.

Trip, annual & comparison modes
Switch between calculating a single trip, projecting annual fuel cost from yearly mileage, or comparing up to three vehicles side by side. Each mode shares the same input units so the numbers stay consistent.
EV vs petrol vs diesel
The compare mode lets you mix electric and combustion vehicles in the same comparison. Set one car to petrol at 7 L/100km, another to diesel at 6 L/100km, and a third to electric at 17 kWh/100km — and see exactly how much each costs to run per year.
CO₂ emissions per trip
Every result shows kilograms of CO₂ emitted using standard emission factors (petrol 2.31 kg/L, diesel 2.68 kg/L, EV based on grid mix). Useful for carbon footprint reports, sustainability tracking and comparing the climate impact of vehicle choices.
Every unit on Earth
Distance in km or miles, efficiency in L/100km, km/L, US MPG or UK MPG, price per litre or per gallon (US or UK), all 12 major currencies. The conversions are exact and you can switch any unit at any time without re-typing the numbers.
Trip log with running totals
Click Save trip after any calculation to add it to a session log with the date, all input parameters, the calculated cost, fuel used and CO₂. The log shows running totals at the bottom — perfect for tracking weekly commute costs or a road trip's running total.
One-click Excel export
Click Export to Excel and the calculator downloads a spreadsheet file (CSV format) of the entire trip log, with date, distance, efficiency, price, total cost, fuel used and CO₂ in separate columns. Open it in Excel, Google Sheets, Numbers or any other spreadsheet program.
Auto-saves to your browser
The trip log persists in your browser's local storage between sessions, so closing the tab and reopening it later restores everything. Nothing is uploaded to any server — your trip data stays on your own device.
Live calculation as you type
No "Calculate" button to click — every result updates the moment you change a value. Tweak the price up by ten cents and watch the annual cost shift in real time. Change MPG to L/100km and the result re-converts instantly.
100% private — no signup
Runs entirely in your browser. No login, no account, no telemetry, no ads other than the standard banner placements. Your fuel prices, mileage and trip data never leave your device.
📖 How to use

How to calculate your fuel cost

Pick your mode
Three modes at the top of the calculator. Trip cost is for a single one-off journey ("how much will fuel cost for the drive to Edinburgh?"). Annual cost is for projecting yearly fuel spending from total annual mileage ("how much do I spend on petrol per year?"). Compare vehicles is for side-by-side cost comparison of up to three cars ("would switching to an EV save money?").
Enter distance, efficiency and price
Distance is the trip length or annual mileage. Efficiency is your car's fuel consumption from its manual or trip computer — type the number and pick the matching unit (L/100km, km/L, US MPG or UK MPG). Price is the current local fuel price per litre or per gallon. Every unit dropdown is independent, so you can mix and match (km distance with MPG efficiency, etc.) and the calculator handles the conversion.
Read the results
The result panel shows the four most useful numbers: total cost (the headline), cost per kilometre or mile, total fuel used, and CO₂ emissions. All four update live as you type. In annual mode you also get a per-week and per-month breakdown for budgeting; in compare mode you get a "cheapest vs most expensive" delta showing how much each vehicle saves or costs versus the others.
Save trips to the log
Click Save trip in trip mode to add the current calculation to the session log at the bottom of the tool. The log shows every saved trip with its date, distance, cost, fuel and CO₂, plus running totals. The log is perfect for tracking a road trip's running cost or building up a week's commute receipts.
Export to Excel for expense claims
When you have trips saved, click Export to Excel to download a spreadsheet of the entire log. The file opens directly in Excel, Google Sheets, Numbers, LibreOffice Calc, and any other spreadsheet program. From there you can paste it into an expense claim, sum the totals by week, or feed it into your accounting workflow. To go straight to a printable expense claim, use the Expense Claim Generator linked below the calculator.
⚖️ How we compare

LazyTools vs other free fuel cost calculators

We benchmarked against the most popular free fuel cost calculators — fueleconomy.gov, calculator.net, omnicalculator.com, gasbuddy.com and theaa.com's fuel cost calculator. Here's how the features stack up.

Feature LazyTools fueleconomy.gov calculator.net omnicalculator theaa.com
Trip cost calculation
Annual cost projection
EV vs petrol comparisonEV only
3-vehicle side-by-side compare
Per-trip CO₂ emissionsbasic
L/100km, km/L, US & UK MPGUS onlyUK only
12 currenciesUSDUSDGBP
Save trip log to browser
Excel / CSV export
Live calculation (no submit button)
No login required

Where LazyTools wins: the only free calculator with three-vehicle side-by-side comparison mixing electric and combustion vehicles, the only one with per-trip CO₂ emissions calculation, the only one with a saved trip log, and the only one with one-click Excel export. Where competitors win: fueleconomy.gov (US Department of Energy) has a giant database of real-world MPG figures for every car ever sold in the US, GasBuddy has live local fuel prices through its app — both useful for sourcing accurate input data to plug into the LazyTools calculator.

🌍 Quick reference

Standard fuel emission factors

The CO₂ figures shown by the calculator use these standard emission factors, which come from the chemistry of fuel combustion and are widely published by government environmental agencies including the UK Department for Energy Security & Net Zero, the US EPA and the IPCC Fourth Assessment Report.

Fuel CO₂ per litre CO₂ per US gallon CO₂ per UK gallon
Petrol (gasoline)2.31 kg8.74 kg10.50 kg
Diesel2.68 kg10.14 kg12.18 kg
LPG / autogas1.51 kg5.71 kg6.86 kg
CNG (compressed natural gas)2.00 kg / m³
Electric (global avg grid)~0.40 kg / kWh
Electric (low-carbon grid)~0.05 kg / kWh

Note: EV emissions vary massively by country and time of day depending on the local electricity grid mix. Norway, France, Sweden and parts of Canada have low-carbon grids; coal-heavy grids in parts of Asia and Eastern Europe push EV emissions per kWh much higher. The default 0.4 kg/kWh used in the comparison mode is a global average — override it with your local grid factor for the most accurate result.

📖 Complete guide

The Real Cost of Driving: Fuel, Efficiency & Carbon

Most people radically underestimate how much they spend on fuel. The price per litre at the pump is the visible part — the part you grumble about when it goes up — but the actual annual cost is hidden behind a fog of "I'll figure it out later" arithmetic. Twenty thousand kilometres a year times seven litres per hundred kilometres times two dollars a litre is twenty-eight hundred dollars. That's a holiday. That's three months of groceries. Knowing this number, and watching how it changes when you tweak any of the three inputs, is the first step toward making informed decisions about commuting, vehicle choice and route planning. This guide walks through the formula, the unit conversions that trip people up, the comparison with electric vehicles, and the carbon footprint that matters more every year.

The fundamental formula

Trip fuel cost is one equation: cost = (distance ÷ efficiency) × price. The complication is that "efficiency" can be measured in four different ways depending on where you live, and "distance" and "price" both depend on which units you're using. In the metric world, efficiency is usually given in litres per 100 kilometres (L/100km), where lower is better — 5 L/100km is excellent and 12 L/100km is thirsty. The trip formula in metric units is straightforward: litres needed = distance in km × (L/100km ÷ 100), then multiply by the price per litre. So a 400 km trip in a car at 7 L/100km uses 28 litres, and if petrol costs $1.85 per litre that's $51.80. The math is identical for diesel — the fuel cost calculation doesn't care about the fuel type, only about how much you burn and how much it costs per unit.

In the US, efficiency is measured in miles per gallon (MPG), where higher is better — 30 MPG is average, 40+ is efficient, 50+ is hybrid territory. The formula is the same shape: gallons needed = distance in miles ÷ MPG, then multiply by the price per gallon. A 250-mile trip in a 30 MPG car uses 8.33 gallons, and at $3.50 per gallon that's $29.17. The UK uses MPG too but with the imperial gallon (4.546 L) instead of the US gallon (3.785 L), so the same physical car has a higher MPG number in the UK than in the US. This is one of the great sources of cross-Atlantic confusion — a 35 MPG American car is roughly a 42 MPG British car, even though the actual fuel efficiency hasn't changed.

Converting between L/100km and MPG

The math is uglier than it should be because L/100km and MPG are reciprocals — one measures volume per distance, the other measures distance per volume. The conversion is L/100km = 235.215 ÷ MPG (US) or L/100km = 282.481 ÷ MPG (UK), where 235.215 = 100 × 3.785 ÷ 1.609 (one US gallon in litres divided by one mile in km, scaled to per-100km) and 282.481 = 100 × 4.546 ÷ 1.609 (the same with the UK gallon). To convert the other way: MPG (US) = 235.215 ÷ L/100km, MPG (UK) = 282.481 ÷ L/100km. So 7 L/100km is about 33.6 US MPG or 40.4 UK MPG. The calculator does these conversions automatically — pick whichever unit your car's manual or trip computer uses, and the result comes out in that same unit's currency.

Real-world vs published efficiency

Manufacturer-published fuel efficiency figures come from standardised lab tests (the WLTP test in Europe, the EPA test in the US) that simulate driving conditions in a controlled environment. Real-world efficiency is almost always worse — typically 10 to 20 percent worse for petrol cars, 5 to 15 percent worse for diesel, and the gap is biggest for hybrids and small turbocharged engines whose tuning is optimised for the test cycle. So if your car is rated at 6 L/100km but in the real world you actually average 7.2 L/100km, the calculation should use 7.2, not 6. The most accurate source for real-world efficiency is your own car's trip computer averaged over a full tank, or a site like fueleconomy.gov (for US cars) or honestjohn.co.uk (for UK cars) that aggregates owner-reported figures. For trip planning where you don't have personal data, add a 15 percent buffer to the manufacturer's figure as a safe estimate.

Annual fuel cost — the number that matters

Trip cost is useful for planning a single journey, but the number that actually affects your finances is annual fuel cost — total spent on fuel over a year. This is the same formula scaled up: annual cost = (annual distance ÷ efficiency) × price. The average UK driver covers about 7,400 miles per year (~12,000 km); the average US driver covers about 14,000 miles per year (~22,500 km). At an average efficiency of 8 L/100km and a fuel price of $1.85/L, that's an annual fuel bill of about $1,776 for the UK driver and $3,330 for the US driver. The number scales linearly with each input — a 10% drop in fuel price saves you 10%, a 10% improvement in efficiency saves you 10%, a 10% drop in mileage saves you 10%. This makes the annual cost calculator a useful sensitivity tool: try changing one number at a time and see how much it moves the total. You'll quickly discover that small changes in efficiency — switching from a 9 L/100km SUV to a 6 L/100km hatchback — save more money over a year than you'd guess from the per-kilometre numbers.

Electric vs petrol — the comparison most people get wrong

Comparing the running cost of an electric vehicle to a petrol or diesel car looks complicated because the units are different — petrol is sold per litre, electricity per kilowatt-hour. But the math is the same shape. For petrol: cost per 100 km = (L/100km) × price per litre. For electric: cost per 100 km = (kWh/100km) × price per kWh. Plug in realistic numbers — a typical petrol car at 7 L/100km × $1.85/L = $12.95 per 100 km — and a typical EV at 17 kWh/100km × $0.30/kWh = $5.10 per 100 km. The EV is roughly 60% cheaper to run per kilometre, which over 20,000 km per year is a saving of about $1,570. Multiply by ten years of ownership and you have $15,700 — comfortably more than the price difference between equivalent petrol and electric models in many segments.

The catch is that the comparison is sensitive to local prices. If you live somewhere with cheap petrol and expensive electricity (parts of the US Gulf Coast), the gap closes dramatically. If you live somewhere with expensive petrol and cheap off-peak home charging (much of Europe), the gap widens. The compare mode in this calculator lets you plug in your own local prices for both fuels and see the real number for your situation, instead of trusting a generic comparison from a manufacturer brochure. It's also worth noting that running cost is only one part of total cost of ownership — depreciation, insurance, maintenance, charging infrastructure investment and resale value all matter, and in some markets they tilt the balance the other way.

CO₂ emissions — why every fuel calculator should show them

The chemistry of burning a fossil fuel is fixed: every litre of petrol releases approximately 2.31 kg of CO₂ when burned, every litre of diesel releases approximately 2.68 kg. These figures come directly from the carbon content of the fuel and the stoichiometry of complete combustion, and they're the same whether you burn the fuel in a Formula 1 car or a lawnmower. They're widely published — by the UK Department for Energy Security and Net Zero, the US EPA, and the IPCC — and they're used as the standard inputs for every carbon footprint calculator in the world. Multiplying the litres your trip uses by these factors gives you a per-trip CO₂ figure that's accurate to within a few percent.

The same calculation for an electric vehicle is more complicated because EVs don't burn anything directly — the emissions happen at the power station instead, and the per-kWh emission factor depends entirely on how that power station generates electricity. Norway is mostly hydro, so an EV in Norway emits roughly 0.02 kg CO₂ per kWh. Coal-heavy grids in parts of India and China can push the same number above 0.8 kg/kWh, at which point a small efficient petrol car can actually have a lower carbon footprint per kilometre than an EV running on coal-fired electricity. The global average for grid electricity is around 0.4 kg CO₂/kWh, which is what the comparison mode uses by default — but you should override it with your local grid factor for an honest answer. The International Energy Agency publishes country-by-country grid emission factors annually if you want the exact number.

Saving fuel — the boring but effective list

Once you know your real fuel cost, the next question is how to lower it. The boring answer is the same set of recommendations every fuel-economy guide has been making for fifty years, because they actually work: drive smoothly (gentle acceleration and braking, no rapid lane changes); keep your tyres properly inflated (under-inflated tyres can cost 3 to 5 percent fuel economy); remove unnecessary weight from the boot; remove roof racks when you're not using them (a roof box can cost 10 percent on long drives); use cruise control on motorway journeys; and don't idle the engine for more than 30 seconds. None of these are dramatic individually, but stacked together they typically deliver 10 to 20 percent better real-world efficiency than the manufacturer's figure, which the annual cost calculator will translate directly into hundreds of dollars per year of savings. Try plugging your current efficiency and a 15-percent-better figure into the annual mode to see exactly what better driving habits would be worth.

Turning trips into expense claims

For business travel, the reason to track fuel cost is usually to claim it back. Many countries and companies use a per-mile or per-kilometre standard mileage rate (for example, the UK HMRC rate is 45p per mile for the first 10,000 business miles), and the rate is meant to cover fuel, wear and tear, insurance and depreciation in one number. If you're claiming actual fuel cost instead of the standard rate (which is sometimes more advantageous, especially for thirstier vehicles), you need a record of every trip with the date, distance, fuel used and total cost. The trip log in this calculator does exactly that — save each trip as you make it, then export the whole log to Excel at the end of the month and either paste it directly into your expense form or feed it into the LazyTools Expense Claim Generator which builds a printable claim form ready to email to your accounts team.

Frequently asked questions

The formula is simple: trip fuel cost = (distance ÷ fuel efficiency) × price per unit. So if your trip is 400 kilometres, your car uses 7 litres per 100 kilometres, and petrol costs $1.85 per litre, the fuel needed is 400 × (7 ÷ 100) = 28 litres, and the cost is 28 × $1.85 = $51.80. The Fuel Cost Calculator does this for you instantly — type in the three numbers and the result appears as you type. The tool also supports imperial units (miles, gallons, MPG) and accepts efficiency in any of the four common formats: L/100km, km/L, US MPG, or UK MPG.
L/100km means litres per 100 kilometres, the metric unit for fuel consumption used in most of the world outside North America. A lower L/100km number means a more efficient car: 5 L/100km is excellent, 8 L/100km is average for a small petrol car, and 12+ L/100km is thirsty. MPG means miles per gallon and works the opposite way: a higher MPG number means a more efficient car. To convert between them, the formula is L/100km = 235.215 ÷ MPG (US) or L/100km = 282.481 ÷ MPG (UK), because a UK gallon is larger than a US gallon. So 30 US MPG is roughly 7.84 L/100km, and 30 UK MPG is roughly 9.42 L/100km. The Fuel Cost Calculator does the conversion automatically — pick whichever unit your car's manual uses.
The comparison mode takes the same trip distance and computes the running cost for up to three vehicles side by side, where each vehicle can be either fuel-powered (with its own efficiency in L/100km or MPG and its own fuel price) or electric (with its own efficiency in kWh per 100 km and its own electricity price per kWh). For an electric vehicle, the formula is the same shape as for petrol: cost = (distance ÷ 100) × kWh per 100km × price per kWh. The default values use realistic averages — a typical petrol car at 7 L/100km, a diesel at 6 L/100km, and an EV at 17 kWh/100km — but you should override these with your own car's actual numbers from its manual or trip computer. The comparison tells you exactly how much per trip and per year switching between vehicles would save.
The calculator multiplies the litres of fuel burned by a standard CO₂ emission factor for that fuel: petrol releases approximately 2.31 kg of CO₂ per litre when burned, and diesel releases approximately 2.68 kg per litre, based on the carbon content of the fuel and the chemistry of complete combustion. These figures are widely published by the UK Department for Business Energy and Industrial Strategy, the US EPA and the IPCC and are the standard used in carbon footprint calculations. For an electric vehicle the calculation is different — the emissions depend on how the electricity was generated, which varies massively by country. The default value used here is around 0.4 kg CO₂ per kWh, a global grid average; if you live in a country with a cleaner grid (Norway, France, much of the Pacific Northwest) the real number is much lower, and if you live in a country with a coal-heavy grid (parts of India, Poland) it can be higher. You can override the EV emission factor in the comparison mode.
Click the Save trip button after each calculation to add the trip to your session log, then click Export to Excel and the calculator will download a CSV file (which Excel, Google Sheets, Numbers and any other spreadsheet program will open natively) containing every saved trip with the date, distance, efficiency, price, total cost, fuel used and CO₂ emissions in separate columns ready for further analysis or expense reporting. The session log auto-saves to your browser's local storage so it survives a tab reload — your trips are not uploaded anywhere.
Yes. The unit selector lets you pick L/100km, km/L, US MPG or UK MPG independently for each calculation, and the underlying conversions handle both correctly. A UK (imperial) gallon is 4.546 litres while a US gallon is only 3.785 litres, which is why the same car has a higher MPG number in the UK than in the US even though the actual fuel efficiency is identical. If you are buying fuel in the UK, you almost certainly want UK MPG; if you are buying fuel in the US or Canada, you want US MPG.
The arithmetic is exact — the calculator does not round intermediate values and uses the standard physical conversion constants. The accuracy of the result depends entirely on the accuracy of the inputs you give it. Real-world fuel efficiency is often 10 to 20 percent worse than the manufacturer's published figures because those are measured under ideal lab conditions, so for trip planning you may want to add a 15 percent buffer to be safe. Real-world fuel prices vary daily and by station, so use a recent local price for the most accurate result. CO₂ emission factors are standard scientific values and accurate to within a few percent for typical road fuel; the EV emission factor is the most variable input because grid mix changes by country and time of day.
Yes. Every saved trip is stored in your browser's local storage on your own device, so closing the tab and reopening it later will restore the full log. Nothing is uploaded to any server — there is no account, no login and no telemetry. Clearing your browser's site data or clicking the Clear log button will erase the saved trips.
🔗 Related tools

More free calculators