IP geolocation is usually reliable at the country level, reasonably good at the region or state level, and often wrong at the city level, sometimes by a long way. It can never reliably identify a street address, because an IP address describes a network connection, not a physical place.
How IP geolocation works
There is no official registry that records where each IP address is physically used. Instead, commercial and free geolocation providers build databases by combining several imperfect sources and estimating a location for each block of addresses. When you look up an address with a tool such as the IP lookup, you are reading one of those estimates.
Registry and routing data
The five Regional Internet Registries publish who each block of addresses is allocated to, along with that organisation's country and postal address. This is a solid starting point for the country, but the registered address is usually the ISP's head office, not where its customers live. Routing data, such as which Autonomous System announces a block and where it connects to other networks, adds further clues.
Information published by ISPs
Network operators can publish a geofeed, a simple CSV file in the format defined by RFC 8805 that lists their IP prefixes alongside the country, region and city where they are used. RFC 9632 describes how to point to a geofeed from the network's registry record, so that geolocation providers can find it. Where operators maintain accurate geofeeds, location data for their addresses tends to be much better.
Hostnames and network measurements
Many ISPs name their routers and customer addresses with location hints, such as airport codes or city abbreviations, in their reverse DNS hostnames. Providers also measure network latency from servers in known locations: because signals cannot travel faster than light through fibre, a very short round-trip time from a probe proves an address is physically close to it. Traceroutes reveal which regional routers traffic passes through.
Device and user data
Some providers also correlate IP addresses with locations reported by apps and services where users have shared GPS or Wi-Fi-based location, and accept corrections submitted by users and ISPs. The quality and privacy safeguards of this data vary between providers.
The result of all this is a best guess per address block, often accompanied by an "accuracy radius" that indicates how uncertain the guess is.
How accurate is it, really?
Accuracy depends heavily on the country, the ISP, the type of connection and which database is used. Some providers publish their own accuracy estimates, broken down by country, and these consistently show the same pattern:
| Level | Typical reliability | Why |
|---|---|---|
| Country | High for most fixed-line connections | Address blocks are allocated and routed within national networks |
| Region / state | Moderate to good | ISPs often organise their networks regionally |
| City | Variable; frequently off by tens of kilometres or more | Customers in many towns can share the same regional gateway and address pool |
| Postcode / street | Not reliable | IP data does not contain this information |
Different databases frequently disagree about the same address, which is itself a good indication of how uncertain city-level results are. Treat any city shown for an IP address, including the one on the ToolsForAnyone home page, as "somewhere in this area" rather than a precise location.
Why your IP location is wrong
Mobile networks
Mobile carriers often route all traffic for a large area, sometimes an entire country, through a small number of gateways and carrier-grade NAT pools. The address your phone uses on the internet reflects where that gateway is, not where you are. It is common for a phone to appear hundreds of kilometres away.
VPNs, proxies and privacy relays
A VPN or proxy replaces your IP with one belonging to its server, so geolocation shows the server's location, which is usually the point. Services like iCloud Private Relay deliberately assign an address that represents your approximate region rather than your exact city. See How to Hide Your IP Address for how these services differ.
Corporate and satellite networks
Large organisations often send employees' internet traffic through a central office or cloud security service, so a remote worker may appear to be at headquarters or in a provider's data centre. Satellite internet services assign addresses based on the ground station or point of presence handling your traffic, which may be in a different city or even a different country.
Reassigned and traded addresses
Because IPv4 addresses are scarce, blocks are bought, sold, leased and moved between regions. A block that served customers in one country last year may now be used in another, and databases can take weeks or months to catch up. ISPs also reorganise their address pools internally without announcing it.
IPv6
IPv6 address space is enormous and changes frequently as prefixes are delegated to customers. Coverage in some geolocation databases is less mature than for IPv4, so your IPv6 address may geolocate differently from your IPv4 address. The IPv6 test shows both side by side.
What IP geolocation is used for
Despite its limits, IP location is good enough for many tasks that only need a rough area:
- Choosing a default language, currency or regional website.
- Enforcing content licensing by country for streaming services.
- Calculating taxes or applying legal restrictions that vary by jurisdiction.
- Fraud detection, such as flagging a login from an unusual country.
- Routing users to a nearby server or content delivery node.
- Analytics on roughly where a website's visitors come from.
Precise location features, such as maps showing where you are, use your device's location services (GPS, Wi-Fi and cell towers), not your IP address. Browsers only share that location after asking for your permission.
How to correct your IP location
If websites consistently place you in the wrong city or country, you have a few options:
- Check what the databases say. Look up your address with the IP lookup tool and note the location and ISP. If you are on a VPN, disconnect first.
- Submit corrections to geolocation providers. Major providers have correction forms on their websites. Corrections typically apply to the whole address block and may take some time to propagate to the services that use the data.
- Ask your ISP. If your whole area is mislocated, your ISP is in the best position to fix it, for example by publishing or updating a geofeed for its address blocks.
- Fix individual services. Many sites let you set your region in account settings. For search engines and maps, enabling precise device location usually overrides IP-based guesses.
- Get a new IP. Sometimes simply receiving a different address from your ISP solves the problem; see How to Change Your IP Address.
Frequently asked questions
Can someone find my home address from my IP?
Not from public geolocation data. At best it narrows things down to a city or region. Your ISP can link an IP address to a customer account, but it only discloses that information under legal process such as a court order.
Why does my IP show a different country?
The most common causes are a VPN or proxy, a corporate network routing traffic abroad, satellite internet, or an address block that was recently transferred from another country and has not yet been updated in the databases.
Why do different IP lookup sites show different locations?
Each site uses its own database or a different commercial provider, built from different sources and updated on different schedules. Disagreement between them is normal, especially at the city level.
Is IP geolocation more accurate on Wi-Fi than on mobile data?
Usually yes. Fixed broadband addresses tend to be assigned regionally and change less often, while mobile traffic is frequently routed through distant gateways shared by large numbers of users.