Skip to content

IP Compare

Two IP addresses side by side: location, network and risk, differences marked.

Your IPv4: Not detected

Your IPv6: Not detected

IP Address Comparison

Enter two IP addresses to compare their geolocation, network details, and distance on an interactive map.

Bulk IP lookup

Have a list of IPs?

Paste up to 100 and get each one's risk score, location and owner in one table. The first 5 are free; full reports with CSV and Excel export from $1.99.

Check a list

IP Compare puts two IP addresses side by side: country, city, risk score, IP type, ISP, network (ASN), time zone, hostname and coordinates, with every row where they differ marked and both locations on a map with the distance between them. Use it to check that a VPN really changes your network, to see whether two logins came from the same place, or to match an IPv4 address with an IPv6 one.

Why compare two IP addresses?

A single IP lookup tells you about one address. Comparing two shows how they relate: the same network or different ones, the same city or hundreds of kilometres apart, a residential line next to a datacenter. That helps with geolocation checks (does this address resolve where you expect?) and with network troubleshooting, where the difference between two endpoints explains a routing or latency problem.

The most common use is VPN verification. Compare your address without the VPN with the one you get while connected. If the VPN works, the second address belongs to a different network (another ISP and ASN) and usually another location. Our guide on how to check if your VPN is working covers the other leaks to test.

What IP Compare shows

Each address gets one column, and the rows are:

  • Country and city, with the region, from our geolocation databases.
  • Risk: the 0 to 100 risk score and its band (Low, Medium or High), the same score the IP lookup shows.
  • Type: residential, datacenter, VPN, proxy, Tor exit, Relay (iCloud Private Relay) or verified bot.
  • ISP and network (ASN): who operates the address and which autonomous system routes it.
  • Time zone, hostname (reverse DNS) and coordinates.

Rows where the two addresses differ are highlighted and labelled “differs”. Above the table, a short summary says whether the two are on the same network (the same ASN), in the same city or country, and how many kilometres apart their locations are. Your own address is shown above the form with a copy button, and the page’s URL carries both addresses (?ip1=…&ip2=…), so a comparison can be shared as a link.

Comparing IPv4 and IPv6 addresses

IP Compare accepts IPv4 and IPv6 addresses and you can mix them, for example your IPv4 address in one box and your IPv6 address in the other. On a dual-stack connection the two should normally show the same ISP and a similar location; if they don’t, some of your traffic may leave by a different route, such as a VPN that only carries IPv4.

IPv6 is now common: on each day from 24 to 30 October 2026, between 46% and 51% of users reached Google over IPv6, according to Google’s IPv6 statistics.

Common use cases

  • Verifying a VPN: compare your address before and after connecting. The same ISP and ASN on both means your traffic is not going through the VPN. A VPN server can be in your own city, so compare the network, not only the location.
  • Checking CDN routing: compare a CDN edge address with your own. Many CDN addresses are anycast and geolocate to the provider’s registered location, so treat the distance as a hint and use the Visual Traceroute to see the real path.
  • Home versus office: see how two connections differ in ISP, network type and location, or confirm that an office VPN sends your traffic out through the office’s network.
  • Investigating logins: two sign-ins from different addresses on the same ASN in the same city are consistent with one person on one provider, though a whole city’s customers can share that ASN. A datacenter or VPN address with a High risk score in another country deserves a closer look.

How to read IP Compare results

A short distance with different ASNs usually means two networks in the same city, such as a home connection and a mobile carrier. A large distance with the same ASN points to one provider with addresses in many regions, typical of cloud providers, CDNs and large ISPs.

If one address is a datacenter or VPN and the other residential, that is what you expect when comparing a VPN connection with a direct one. For the full record of either address, including its risk signals and registry data, open it in the IP Lookup.

How accurate are the locations?

The locations come from IP geolocation databases (MaxMind GeoLite2, with DB-IP filling gaps) that map address ranges to places using registry data, ISP data and network measurements. Countries are usually right; cities are estimates, and MaxMind attaches an accuracy radius to each location. Datacenter and VPN addresses often resolve to the provider’s registered location rather than the server. The distance between two addresses is only as precise as those two estimates. Our data sources and accuracy page has the figures and the update schedule.

Frequently Asked Questions

How do I compare two IP addresses?

Paste one address in each box and run IP Compare; your own address is shown above the form with a copy button. Read the summary first (same network, same city or country, distance), then the rows marked “differs” in the table and the two pins on the map.

Does the same IP address mean the same location?

Usually the same network, not necessarily the same place or device. Many people can share one public address behind a router, a mobile carrier’s gateway or a VPN server, and they can be far apart. The address tells you where its network is registered or routed, which is often a city-level estimate, not where a person sits.

Why does the same IP address show a different location on different sites?

Each site uses its own geolocation database, and the databases disagree, mainly at city level. They are built from registry records, ISP data and measurements, updated on different schedules, so a block that recently moved or a mobile range can be placed in different cities. Countries match far more often than cities.

Can two devices have the same IP address?

Yes. Every device on a home or office network shares the router’s public address, and mobile carriers put many customers behind one address with carrier-grade NAT, using the shared range in RFC 6598. Inside one local network, though, each device needs its own private address, from ranges such as those in RFC 1918.

How do I check if two IP addresses are on the same network?

Compare their ASN. IP Compare’s summary says “Same network” when both addresses belong to the same autonomous system, which means one operator routes them. To check whether two addresses fall in the same subnet, a narrower question, use the Subnet Calculator with the subnet’s prefix length.

How is the distance between two IP addresses calculated?

It is the straight-line (great-circle) distance between the coordinates the geolocation database gives each address. Those coordinates are estimates, often the centre of a city or region, so the distance is approximate. Two addresses in one city can show 0 km, and an address placed at its provider’s registered location can make the distance look much larger than it is.

Why do I have two IP addresses?

Most people have at least two: a private address on the local network, assigned by the router, and the public address the internet sees. Many connections also have both an IPv4 and an IPv6 public address. IP Compare works with public addresses: it shows the one your browser connected with, so find the other one (your router’s status page usually lists both) and put both side by side to check they lead to the same ISP.

Can an IP address show an exact location?

No. IP geolocation gives an estimate, reliable at country level and approximate at city level, with a radius that can be tens or hundreds of kilometres. It never shows a street address. Usually only the ISP (or the VPN or carrier operating the address) knows which customer used it at a given time, and it normally shares that only under legal process.

Does my IP address change with Wi-Fi, a hotspot or a VPN?

Yes. Each network gives you its own public address: home Wi-Fi uses your ISP’s, a phone hotspot uses the mobile carrier’s, and a VPN replaces both with the VPN server’s. Comparing the address you get on each, for example in IP Compare or with the VPN and proxy detector, shows which network your traffic is leaving from.