Distance is between
What this tool does
This tool helps you check whether the distance between two specific locations falls within a certain range. It is useful for verifying if two points are close enough or far apart based on your defined criteria.
When to use it
- Checking if two store locations are within a specific radius of each other
- Verifying if a delivery address is within a defined service area
- Validating if two geographic coordinates are within a required distance
What to expect
You will receive a simple yes or no answer indicating if the actual distance between the two points is within the range you specified.
Limitations
- The tool works only with exact coordinate pairs for both locations
- Distance is calculated in kilometers, so small input errors may affect accuracy
- It does not account for travel time or road routes, only straight-line distance
When it fails
- If the coordinates are not in a valid format (latitude, longitude)
- If the distance values are not valid numbers
- If the second distance value is smaller than the first distance value
Good to know
- Coordinates should be provided as two numbers separated by a comma, like 41.2522,-12.10
- The tool calculates straight-line distance, not travel distance
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). |