Waypoints4 / 25
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Calculates accurate highway driving distance between your origin and destination.
- 2
Divides route mileage by your vehicle miles-per-gallon (MPG) or liters per 100km (L/100km).
- 3
Multiplies required fuel volume by local gasoline price per gallon or liter.
Common uses
- Splitting gas expenses fairly with passengers on road trips.
- Budgeting travel expenses for cross-country moves.
- Evaluating whether to fly or drive based on total fuel expenditure.
Frequently asked questions
Yes, toggle the "Round Trip" switch to automatically double the mileage and total fuel budget.
More in Route Planning
- Halfway Point FinderFind the exact geographic or driving midpoint between two addresses, cities, or friends meeting up, with nearby hotels, restaurants, and gas stations.
- Isochrone MapInteractive multi-modal isochrone mapper rendering equal travel time contours for driving, cycling, and walking across global road networks.
- Route PlannerPlan multi-stop trips and delivery itineraries with automatic stop re-ordering for minimum drive time and distance.
- Halfway Point FinderEnter two addresses and find the exact geographic halfway point between two cities — with the distance from each side, shareable coordinates, and a one-tap map link for the meeting spot.
- Hiking Time CalculatorEnter trail distance and elevation gain for an honest hiking time estimate using Naismith's rule — adjusted for fitness, terrain, pack weight, and rest breaks.
Budgeting Fuel for a Denver to Salt Lake City Ski Trip
Four friends are splitting the cost of a ski trip from Denver to Salt Lake City and want the fuel budget agreed before anyone gets in the car. The drive is about 525 miles each way on the interstate, so they enter the round trip honestly: 1,050 miles total, not just the one-way number that makes the trip sound cheap.
The car is a midsize SUV that honestly returns 30 mpg on the highway. The math is simple: 1,050 divided by 30 is exactly 35 gallons. At $3.60 a gallon, that is $126 for the trip, or $63 each way, and split four ways it comes to $31.50 per person. Everyone agrees that number before departure, which is the entire point of the exercise.
Then they add the real world. The route climbs over mountain passes, the car will carry a roof box, and February cold hurts economy, so they rerun the calculator at 27 mpg instead. That gives about 38.9 gallons and a total of roughly $140. The group budgets $140 and treats anything under as a bonus for coffee.
Out of curiosity they price the other car in the group, a plain sedan that returns 36 mpg on the highway. The same 1,050 miles at 36 mpg needs about 29.2 gallons, which at $3.60 comes to roughly $105. The sedan would save about $35 against the padded SUV estimate, and the friends still pick the SUV, because four people, ski boots, and a roof box of gear do not fit in the sedan. The calculator did its job: the trade-off is now a known price, not an argument.
One cost the group keeps separate on purpose: tolls and parking never appear in a fuel estimate, and neither does the tank of gas the driver wants waiting in Denver for the Monday commute. Writing those down beside the fuel figure keeps the shared budget complete, so the end-of-trip settlement has no surprise line items.
One more what-if gets priced before they leave, because it is cheaper to ask in October than in February. If the same four friends tow a small trailer on the summer version of this trip, economy falls to about 18 mpg, and the calculator shows the honest consequence: 1,050 divided by 18 is roughly 58.3 gallons, and at $3.60 that is about $210 in fuel, a full $70 more than the unpadded ski estimate. Nobody is surprised by that number at a gas station in Green River, because it was agreed around a kitchen table months earlier.
The actual trip used 37 gallons, comfortably inside the padded estimate, and the leftover covered a celebratory pizza. The lesson they keep for summer is that the calculator was not lucky; the buffer absorbed exactly the mountain and cargo penalties they knew were coming. They have since run the same two-pass method, honest MPG first and padded MPG second, on every group trip they plan, and it has yet to leave them short.
Common mistakes to avoid
- Using city MPG for a highway trip. Most cars sip far less fuel at a steady 65 mph than in stop-and-go traffic. Entering the city figure inflates the budget and scares people off fair splits.
- Forgetting the return leg. Budgeting only the outbound 525 miles halves the true cost. Fuel calculators work on the distance you type, and round trips need round-trip miles.
- One gas price for the whole route. Prices can differ noticeably between states and between interstate exits and small towns. Use an average for the states you actually cross.
Pro tips
- Use the car's highway MPG figure, which is the honest number for road trips.
- Add roughly a 10 percent buffer for mountains, roof boxes, air conditioning, or winter cold.
- Agree on the split per person before departure, while everyone is still friends.
Distances, Routes & Drive Times: How Mapping Math Works
Why the Earth refuses to be flat, how calculators measure true distances, how road networks find your route, and what those drive-time blobs on the map really mean. Written for Fuel Cost Calculator & Driving Trip Estimator and the everyday mapping tasks around it.
The Earth Is Not Flat (and Your Math Must Know It)
For a walk to the corner store, flat math is fine. For a drive from Chicago to Denver, it is not. The Earth bulges at the equator and flattens at the poles — an oblate ellipsoid about 13 miles wider than it is tall. Ignore that shape and long distances come out wrong by miles.
Surveyors model the planet with the WGS84 ellipsoid: an equatorial radius of 3,963 miles and a polar radius of 3,950 miles. Every serious distance tool, including the ones on this site, measures along this curved surface rather than through the planet's interior.
The practical rule is simple. Under about 10 miles, flat-map math and true geodesic math agree to within a few feet. Past 100 miles, the gap grows fast. A flight from New York to London measured on a flat map would miss by over 200 miles — which is why aviation never uses flat math.
Haversine vs. Vincenty: Two Ways to Measure
The Haversine formula treats the Earth as a perfect sphere. It is a few lines of code, runs instantly, and gets within about 0.5% of the true distance. For store locators and "places near me" features, that is plenty. Most web maps use it under the hood.
Vincenty's method goes further. It walks the actual WGS84 ellipsoid, iterating until the answer converges, and lands within millimeters on distances of thousands of miles. The cost is complexity: the math needs a dozen steps and can fail to converge for nearly antipodal points, though modern implementations handle that gracefully.
Which should you trust? For driving estimates and everyday questions, both agree closely enough that you will never notice. For surveying, aviation, and scientific work, Vincenty or its modern successor Karney's algorithm is the standard. This site uses ellipsoidal math wherever precision matters.
One more subtlety: "distance" has flavors. Great-circle distance is the shortest path over the surface. Rhumb-line distance holds one compass bearing the whole way — longer, but easier to steer by hand, which is why sailors used it for centuries.
This page shows the first two chapters. Read the complete this category field guide →