Distance is between
What this tool does
This tool checks if the distance between two geographic locations falls within a specified range. It calculates the straight-line distance in kilometers between two sets of coordinates and compares it against a lower and upper limit.
The result is calculated using a standard mathematical formula. Please note that this is a theoretical straight-line distance ('as the crow flies') and does not account for roads, terrain, or actual travel routes, so it may differ significantly from real-world driving or walking distances.
Common uses
- Checking if a delivery location is within a specific service radius.
- Verifying if two sites are within a certain range for logistical planning.
- Filtering locations based on proximity for data analysis.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
coordinates1 | Yes | 41.2522,-12.10 | Enter the first location as latitude and longitude separated by a comma (e.g., 41.2522,-12.10). This field is required. |
coordinates2 | Yes | 41.2522,-12.50 | Enter the second location as latitude and longitude separated by a comma (e.g., 41.2522,-12.50). This field is required. |
distance1 | Yes | 10 | Enter the lower limit of the distance range in kilometers (e.g., 10). This field is required. |
distance2 | Yes | 60 | Enter the upper limit of the distance range in kilometers (e.g., 60). This field is required. |
Output data
| Field | Description |
|---|---|
result | Returns a yes/no indicator showing whether the calculated distance falls within the specified range (e.g., true or false). |