About This Tool
The Fuel Range Calculator is a free browser tool that tells you whether a tank of fuel will get you from one fuel stop to the next along a route. Enter the range you get from a full tank, or a tank size and a consumption figure and it works the range out. Then load a GPX file with a track or a route. The tool finds the fuel stops among the file's waypoints, measures the distance of each leg between them, and marks every leg as within range, into your reserve, or longer than the tank allows, with the point where you would run dry shown on the map. You can tick any waypoint as a fuel stop, add stops by clicking the map, and ask for the fewest fill-ups that still work. Nothing is uploaded; the file is read and the legs are calculated entirely in your browser.
How to Use It
- Enter your range. Choose I Know My Range and type the distance a full tank takes you, or choose Tank & Consumption and enter the tank size and the consumption in L/100 km, km/L, or miles per gallon.
- Set a reserve. The share of the tank you would rather not use. It starts at 10%.
- Load the route. Drag and drop a .gpx file with a track or a route. Several tracks are joined in order.
- Check the fuel stops. Waypoints that look like fuel are ticked. Untick one to ride past it; show the other waypoints and tick any that sell fuel; or choose Add a Stop on the Map and click the route where there is one.
- Read the legs. Each leg shows its distance, how much of a tank it uses, and what would be left on arrival. Legs that do not fit are marked, and the map shows them in red with a mark where the tank runs dry.
- Trim the stops. Fewest Stops keeps only the fill-ups you need. Every Stop puts them all back. Download the legs as CSV to print or share.
What the Results Mean
| Result | On the map | What it means |
|---|---|---|
| OK | Green | The leg is no longer than your range with the reserve kept back |
| Into reserve | Amber | The leg can be done on one tank, but only by using some of the reserve |
| Short | Red, with a mark where the tank is empty | The leg is longer than a full tank. The figure is how far short you would be |
A leg runs from one fill-up to the next: from the start to the first stop you fill up at, between stops, and from the last one to the finish. The tank is taken as full at the start and after every fill-up.
Frequently Asked Questions
How does it know which waypoints are fuel?
From the waypoint's symbol, name, and type. A Gas Station or Fuel symbol counts, and so does a name or type containing a word for fuel: fuel, gas, petrol, diesel, gasolina, Tankstelle, essence, and others. Rally-style codes such as GAS068 count too. Only waypoints close to the route are used: within 500 meters unless you change it. The detection is a starting point; the ticks are yours to change.
My file has no fuel waypoints. What then?
Choose Add a Stop on the Map and click the route where each fuel stop is. The stop is placed on the route at the nearest point. To put fuel waypoints into the file itself, use the GPX Waypoint Editor.
What range should I enter?
The range you have measured, on ground like the route. Fill the tank, ride, fill it again, and divide the distance by the fuel that went in. Sand, mud, climbing, a loaded vehicle, and high speed all raise consumption, sometimes by a great deal, so a figure from the road flatters an off-road day. When in doubt, enter a lower range and a larger reserve.
What is the reserve for?
It is the share of the tank you plan not to use: for a closed station, a wrong turn, or worse consumption than expected. A leg that needs part of it is shown in amber. It is a planning margin and has nothing to do with the vehicle's own reserve tap or warning light.
How does Fewest Stops choose?
It rides as far as the tank allows each time, keeping the reserve back, and fills up at the last stop it can reach. That gives the smallest number of fill-ups. If a gap between stops is too long for the tank whatever you do, the stops either side of it are kept and the leg is marked as short.
What if a fuel stop is off the route?
Distance is measured along the route to the point nearest the stop. The detour to the pump and back is not added, so the list shows how far off the route each stop lies and you can allow for it. Fuel waypoints further away than the limit you set are left out and named in a note.
My route passes the same fuel stop twice. How is that handled?
The stop is listed once for each pass, so on an out-and-back you can fill up on the way out, on the way back, or both.
Does it allow for hills, wind, or speed?
No. It works on distance alone. Put what you know about the conditions into the range you enter.
Does it work with a planned route as well as a recorded track?
Yes. A file with a track is measured along the track; a file with only a route is measured along the route. A route drawn with few points measures shorter than the road it stands for, because the tool can only measure straight lines between its points, so leave more margin.
Does it assume a full tank at the start?
Yes, and after every fill-up. Fill up before you set off.
Which units can I use?
Kilometers or miles for distance, and L/100 km, km/L, miles per US gallon, or miles per UK gallon for consumption. The tank is entered in liters or in the matching gallon.
Is my file uploaded anywhere?
No. The file is read and the legs calculated by JavaScript in your browser. The map loads background tiles from OpenStreetMap, but your route is never sent anywhere. The range, tank, consumption, and reserve you type are remembered in your browser for next time and are not sent anywhere either.
What are the file limits?
Files must be .gpx and under 25 MB.
Related Tools
To add fuel stops to a file as waypoints, with a fuel symbol, use the GPX Waypoint Editor. To plan a trip recorded as several files, combine them first with the GPX Merger. The GPX Analyzer shows the route's distance and climb, and for rally stages the Waypoint Clearance Checker verifies a recorded track against the course waypoints.
Learn More
Editing GPX Waypoints
Adding, naming, and marking waypoints such as fuel stops
Waypoints & POIs in a GPX
Carrying a route and its points of interest in one file
Roadbook Navigation Basics
Distances, headings, and waypoints on a rally stage
Navigation Safety Tips
Margins, turn-around times, and staying found
Request a Feature
Have an idea that would make this tool better? Post it on the feature request board and vote on what gets built next.