Example Data Table
| Example |
First address |
Lat 1 |
Lon 1 |
Second address |
Lat 2 |
Lon 2 |
Route factor |
| City comparison |
New York City Hall, New York |
40.7128 |
-74.0060 |
Empire State Building, New York |
40.7484 |
-73.9857 |
1.18 |
| Local delivery |
Warehouse A, Main Road |
34.0522 |
-118.2437 |
Customer Site B, Hill Street |
34.1016 |
-118.3269 |
1.25 |
| Text only |
221B Baker Street London |
|
|
221 Baker St London |
|
|
Skipped |
Formula Used
The calculator uses the Haversine formula for straight line distance.
a = sin²(Δlat / 2) + cos(lat1) × cos(lat2) × sin²(Δlon / 2)
c = 2 × atan2(√a, √(1 − a))
distance = earth radius × c
The earth radius is 6,371.0088 kilometers. Estimated route distance equals straight distance multiplied by the route factor.
Estimated travel time equals estimated route distance divided by average speed. Bearing uses spherical trigonometry. Text difference uses similarity percentage, edit distance, and word set comparison.
How To Use This Calculator
Enter the first address and the second address. Add latitude and longitude for both places when distance is needed.
Choose your preferred output unit. Enter average speed in kilometers per hour. Adjust the route factor if roads are indirect.
Use 1.00 for pure straight distance. Use 1.10 to 1.35 for common route estimates. Use higher values for difficult paths.
Click the calculate button. The result appears above the form. Download the report as CSV or PDF when needed.
About address distance
A typed address is a human label. A calculator needs numbers to measure space. This tool uses latitude and longitude for each address. It then returns the straight line distance, route estimate, bearing, midpoint, and text difference. The address boxes still matter. They make the report clear. They also allow a spelling and wording comparison.
Why coordinates improve accuracy
Street names can repeat in many cities. Postal formats also change by country. Coordinates remove that confusion. They define one point on the earth. You can copy them from a map service. Use decimal degrees for the best result. North and east values are positive. South and west values are negative. The calculator checks ranges before it accepts them.
Route factor planning
A straight line distance is useful, but roads are rarely straight. The route factor adjusts the result. A value near 1.10 may suit open highways. A higher value may suit local streets, hills, rivers, or detours. It is still an estimate. Use a mapping service when legal, traffic, or delivery choices need exact routing.
What the output means
The distance tells how far apart the points are. Bearing shows the starting direction from the first point. The midpoint helps find a central meeting point. Estimated time uses your speed and the route factor. Text similarity shows how alike the two address lines are. Word differences highlight missing street names, unit numbers, or city details.
Good data habits
Enter full addresses for readable exports. Add coordinates from the same source when possible. Check signs before submitting. A wrong minus sign can move a point across the world. Keep notes about data sources when reports are shared. Export the CSV for spreadsheets. Export the PDF for quick records. Review every result before using it for travel, shipping, site planning, or customer communication.
Team use
When this tool is used for field work, create a consistent routine. Paste the first address as the origin. Paste the second address as the destination. Record who supplied the coordinates. Set the same distance unit for each report. Use the same route factor for similar jobs. This makes comparisons fair. It also helps teams explain changes between old and new records with simple notes.
FAQs
Can it calculate distance from address text only?
No. Address text alone is not enough for reliable distance. Coordinates are needed because many places can share similar street names.
Where can I get latitude and longitude?
You can copy decimal coordinates from a map service. Paste latitude and longitude into the matching fields before calculating distance.
What does route factor mean?
Route factor estimates extra travel distance. A value of 1.20 means the route may be twenty percent longer than the straight line distance.
What is bearing?
Bearing is the starting direction from the first point to the second point. It is shown in degrees from north.
Why is the route distance only an estimate?
This page does not read live roads, closures, traffic, or turn rules. It multiplies straight distance by your selected route factor.
Can I compare spelling between two addresses?
Yes. The result includes text similarity, edit distance, and words found in only one address field.
Which unit should I choose?
Use kilometers or miles for travel. Use meters or feet for local site work. Use nautical miles for marine or aviation planning.
Can I download my result?
Yes. After calculating, use the CSV button for spreadsheets. Use the PDF button for a simple saved report.