JoseFitani
✈️ Travel Planning

Fuel Cost Calculator

Calculate the fuel cost of a trip based on distance, vehicle consumption and fuel price.

This page explains how the fuel cost calculator works, the data and formulas behind it, and how to interpret the result. Average speeds are empirical guidelines: walking 5 km/h, cycling 18 km/h, city driving 30 km/h, highway driving 90 km/h, train 120 km/h, airplane 800 km/h. These values are accurate to within about 20% for typical trips. The tool is one of 329 free, open tools on JoseFitani for maps and geography. It runs in your browser with no sign-up needed. Use the search field or click the map to drop a pin - the tool uses great-circle distance divided by mode-specific average speeds and returns the result in seconds. Below you'll find a step-by-step guide, real use cases, the methodology, FAQs, and data sources.

Important notice

Fuel costs shown are estimates based on the prices and mileage you enter. Actual costs vary with traffic, driving style, vehicle condition, and fuel price changes — treat the result as a planning estimate, not a guaranteed figure.

Fuel needed
37.5 L
Total trip cost
60.00
311 miles
Cost per 100 km
12.00

Formula: total cost = distance × (efficiency ÷ 100) × price per litre. This is a planning estimate — real consumption varies with traffic, terrain, load and driving style.

How to use this tool

1
Enter your input

Type your query, paste coordinates, or click on the map. The tool uses great-circle distance divided by mode-specific average speeds to process your input locally in the browser.

2
View the result

The result appears instantly with the map showing your location. You can adjust by clicking elsewhere or searching a new place.

3
Copy or share

Click Copy to save to clipboard, or Share to send a direct link with the exact inputs.

What people use this tool for

Budgeting road-trip spending

Drivers can work out the fuel bill for a long trip before leaving, so the cost lands in the holiday budget instead of ambushing it. Entering the route distance, the car's consumption, and the local fuel price gives a single honest number. Comparing two candidate destinations by fuel cost sometimes settles the debate.

Example: A family in Texas prices a 1,400 km round trip to the coast and discovers fuel will cost less than two nights of the hotel they were considering upgrading.
Comparing cars before buying

Buyers torn between two models can translate the consumption figures into annual money using their real yearly mileage. A car that sips fuel can save thousands over five years, which often outweighs a lower sticker price on the thirstier rival. The calculator makes that trade-off visible in currency, not litres per hundred.

Example: A commuter driving 25,000 km a year compares a 6.5 L/100 km hatchback against a 9 L/100 km SUV and sees the five-year fuel gap clearly.
Splitting costs fairly on shared drives

Friends sharing a long drive can split the actual fuel cost instead of guessing or arguing about it. The driver enters the trip distance and the car's real consumption, and everyone sees the same number. Fuel receipts at the end can then be reconciled against the estimate.

Example: Four friends driving from Berlin to Prague split the computed fuel cost four ways before leaving, so nobody tracks receipts mid-trip.
Choosing the cheaper route

Two routes to the same destination can differ in both distance and the speeds they allow, which changes consumption. Running both through the calculator shows whether the shorter mountain road or the longer motorway actually costs less in fuel. Tolls and time still need separate consideration.

Example: A driver compares the motorway route to Lyon against the shorter national-road route and finds the motorway's steadier speeds make it cheaper in fuel despite the extra kilometres.

How it's calculated

Cost = (distance / consumption per 100 km) x price per liter.

The calculation runs in your browser - no data is sent to our servers. Map tiles come from OpenStreetMap (ODbL license), geocoding uses Nominatim (1 request/second limit), and elevation uses the Open-Elevation API backed by SRTM data. All are free, open services.

All calculations use the WGS84 datum (EPSG:4326), the same as GPS. For other datums (NAD27, NAD83, ETRS89), a separate conversion is needed. The difference is typically under 1 metre - negligible for most uses but important for survey-grade work.

The formulas match those in professional GIS software (QGIS, ArcGIS, Global Mapper), just in a browser-friendly form. For sub-metre accuracy, use professional software with ellipsoidal calculations. Results are shown in multiple units: km and miles for distance, km²/m²/hectares/acres for area, metres and feet for elevation. Conversion factors are exact (1 mile = 1.609344 km), so the only error source is input precision.

Related tools and resources

For more tools in this category, explore the related tools listed below. Each tool includes full documentation, examples and FAQs. Explore related tools in our Travel category for complementary functionality. See the Tools index for all 329 tools, or read our blog for in-depth articles on geography and maps.

Frequently asked questions

Does this work with MPG?

Yes - both L/100km and MPG are supported.

What inputs do I need for an accurate estimate?

You need the trip distance, your vehicle's fuel consumption, and the current fuel price per litre or gallon. Consumption should be your real-world figure, not the laboratory test number, which is usually optimistic. The more honest your consumption input, the more honest the cost output.

Should I use the manufacturer's consumption figure?

Manufacturer figures are measured in standardised tests and almost always understate real driving, especially in cities and winter. Use your own measured consumption from several tankfuls if you have it. As a rough guide, adding 15–25% to the official figure gets closer to reality for mixed driving.

Does it handle litres per 100 km and miles per gallon?

The calculator works with the consumption unit you enter, converting internally so the cost math stays correct. Just make sure the distance unit matches — kilometres with L/100 km, miles with mpg. Mixing units is the most common error and produces wildly wrong costs.

Can I compare petrol versus diesel costs?

Yes — run the calculation once with the petrol car's consumption and petrol price, then again with the diesel figures. Diesel usually consumes less per kilometre but costs more per litre, so the winner depends on your local prices. The side-by-side numbers settle it without guesswork.

What about electric vehicles?

EVs need a different calculation based on electricity price per kWh and the car's efficiency in kWh per 100 km, plus charging losses. A fuel-cost tool built for liquid fuel will not give a meaningful EV number. Use an EV-specific calculator that handles home versus public charging rates.

Does the estimate include tolls and parking?

No, it covers fuel only. Tolls, parking, congestion charges, and wear-and-tear are separate costs that can rival fuel on some trips. Add them manually to the fuel figure for the true cost of driving versus flying or taking the train.

Why is my actual fuel bill higher than the estimate?

The usual culprits are optimistic consumption input, heavy traffic, air conditioning, roof boxes, and underinflated tyres — all raise real consumption. Cold starts and short trips are also far thirstier than steady cruising. Track a few real tankfuls and use that figure instead of the brochure number.

Can I save calculations for regular commutes?

The tool computes in your browser session without accounts or saved history. For a daily commute, note your weekly distance once and reuse the per-trip cost figure. A simple spreadsheet of your regular routes turns one calculation into a lasting budget reference.

Data sources & methodology