Calculate Distance
distance_toolCalculate the great-circle distance between two geographic coordinates. Supports kilometers, miles, meters, feet, and nautical miles using the Haversine formula. Works offline without API calls.
Instructions
Calculate the distance between two geographic coordinates. Supports various units including kilometers, miles, meters, feet, and nautical miles. Uses the Haversine formula for accurate great-circle distance calculations. This tool works offline without requiring API calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Ending coordinate with longitude and latitude | |
| from | Yes | Starting coordinate with longitude and latitude | |
| units | No | Unit of measurement for distance | kilometers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Ending coordinate | |
| from | Yes | Starting coordinate | |
| units | Yes | Unit of measurement | |
| distance | Yes | Calculated distance between points |