What Is Geolocation by IP?
Geolocation by IP is the practice of estimating where a device is from its IP address alone: the country, region, city and sometimes the postal code. It needs no GPS, no phone signal and no permission from the user, which is both its strength and its limit.
How it works
An IP address points to a network, not to a house. Providers build databases that connect ranges of addresses to places, using several kinds of evidence:
- Registry data: the regional internet registries record which organization holds each range and in which country.
- Routing and network data: which networks announce a range, where they connect to each other, and how long the round trip takes from known points.
- Provider and user data: information from internet providers, and from apps and websites where people have shared their real location.
A lookup then returns what the database holds for the range: country, region, city, postal code, coordinates, time zone, the network owner and its AS number. Nothing here involves cell towers or Wi-Fi triangulation.
How accurate is it?
It depends on how much detail you ask for:
- Country is very reliable.
- Region or state is usually right.
- City is often right for home connections, and sometimes only a nearby city, or the provider's regional hub.
- Postal code varies a lot between providers and addresses. Treat it as a hint.
- Street or building is not possible from an address alone. If a service seems to know, it is using something else.
Mobile networks, company networks, satellite links and VPNs reduce accuracy further, because the address belongs to the place where the traffic leaves the network, not to the person who started it. The coordinates a service returns are often just the center of the city or region it chose, so a pin on a map is a best guess rather than a measurement.
Why services disagree
Each provider builds its own database from its own evidence and updates it on its own schedule, so two of them can place the same address in different cities, or even different countries. That is the idea behind this site: ask several at once and see where they agree. When they all point to the same place, you can be fairly confident. When they scatter, you know to be careful.
Try it on an address that is well known, such as 8.8.8.8, or on your own from the home page, and look at the map to see where each provider puts the pin.
What websites use it for
- Language and currency: showing a page in your language and prices in your currency.
- Rights and rules: enforcing licensing, tax and privacy rules that differ by country or state.
- Security: noticing a sign-in from a place you have never been.
- Advertising and statistics: regional offers, and counting visitors by country.
Can it be blocked or faked?
Yes. A VPN, a proxy or the Tor network replaces your address with another one, and the location follows the new address. That is why serious fraud checks combine the address with other signals such as device history and behavior, rather than trusting it alone.
Related: what an IP address is, types of proxies, and the countries an address can belong to.