Get Geographic $2.00 / 1,000 calls

Distance between IPs

What this tool does

This tool calculates the straight-line distance in kilometers between two locations identified by their IP addresses.

Important: This result depends on the geographic data associated with the IP addresses. If an IP address is a proxy, mobile network, or located in a data center far from the user's actual physical location, the calculated distance may not reflect the true location of the person using the device.

Common uses

  • Estimating the physical separation between two servers or network nodes.
  • Checking if two users connecting from different IP addresses are in different regions.

Input data

Parameter Required Example Description
ip1 Yes 95.23.100.79 Enter the first IP address as plain text (e.g., '95.23.100.79'). This field is required.
ip2 Yes 88.190.16.36 Enter the second IP address as plain text (e.g., '88.190.16.36'). This field is required.

Output data

Field Description
result Returns the distance in kilometers as a text number (e.g., '1205.45') if both IP addresses are valid and their locations are found. Returns empty text if the inputs are invalid or locations cannot be determined.