Road and straight-line distance
Use the Mileage Calculator to find driving mileage between map coordinates or calculate distance from an odometer and estimate reimbursement.
How the calculation works
Driving mode sends the entered coordinates to the public BRouter service, using road data from OpenStreetMap contributors. Odometer and straight-line calculations run locally.
OpenStreetMap data attribution
Odometer and reimbursement
Subtract readings and apply your own per-mile rate.
Use the odometer mode when you already have start and end readings. For route lookup, enter latitude followed by longitude for both locations and use straight-line distance when you only need a geographic comparison.
Worked example
Example inputs include Starting odometer (mi) 12000, Ending odometer (mi) 12150, Reimbursement per mile 0.65. The result is 150 mi.
How to read the result
The road result comes from a route service, with an estimated drive time. The straight-line mode gives geographic separation, and the odometer mode measures mileage from readings.
Choose driving, air-line or odometer distance
Use odometer mileage for a trip you have already logged. A driving route estimates the distance along roads between coordinates. Straight-line distance helps compare geographic separation when you do not need a road itinerary. For a reimbursement estimate, use the rate that applies to the journey and enter the mileage from your recorded odometer readings.
Use the right measurement for your record
Record starting and ending odometer readings in the same unit and keep the rate consistent with that unit. A two-leg trip can be estimated from both readings together or by adding separate legs. Geographic distance helps make regional comparisons, while a road route is more useful for planning travel. Save the odometer distance for reports that ask for actual miles traveled.
Compare a planned route with recorded travel
A driving route follows roads between two coordinates. A straight-line result is useful for geographic comparisons. For a completed trip, starting and ending odometer readings give the actual mileage, including detours along the way.
Use recorded mileage when reimbursement depends on actual travel. For example, 150 miles at 0.65 per mile yields 97.50. Match the rate to the unit used by the odometer.
Common questions
Roads follow the road network. Straight-line mode measures the shortest distance over the Earth's surface.
Enter latitude, then longitude, in decimal degrees. Keep the negative signs for south or west coordinates.
It is a routing estimate. Current traffic, stops and detours can change the actual driving time.
Subtract the starting odometer from the ending reading, then multiply the distance by the reimbursement rate you enter.
Check the coordinates and try again. Straight-line distance is available for a geographic comparison.