What Is GeoIP
GeoIP is the umbrella term for technologies that estimate an approximate geographic location - country, region, and city - from an IP address. It works by matching IP address allocation records against the known locations of ISP connection points: country-level results are almost always correct, city-level accuracy stays around 50-80%, and a street address or individual can never be identified. It is widely used by websites to determine a visitor's country or region and to tailor content accordingly. For a quick summary of the term, see the GeoIP glossary entry.
The country, region, city, ISP, and AS number displayed on the IP Check-san homepage are all retrieved using a GeoIP database. Simply by visiting IP Check-san, you can instantly see which country and region your IP address is associated with and which ISP you are connecting through.
The underlying principle is straightforward. IP addresses on the internet are allocated to ISPs and organizations by Regional Internet Registries (RIRs). By cross-referencing this allocation data with the physical locations of ISP connection points, it is possible to estimate an approximate geographic location from an IP address. That said, this mechanism has inherent limitations - it is important to understand that "IP address" does not equal "exact street address."
How GeoIP Databases Work
A GeoIP database is essentially a lookup table that maps IP address ranges to geographic information. It is built from the following data sources:
- IP address allocation records from RIRs (Regional Internet Registries): managed by five RIRs - ARIN (North America), RIPE NCC (Europe), APNIC (Asia-Pacific), LACNIC (Latin America), and AFRINIC (Africa)
- Location data for ISPs and data centers
- BGP (Border Gateway Protocol) routing information: data showing which network paths IP address blocks traverse
- User feedback and correction reports
One thing that is easy to confuse with GeoIP is the positioning used by smartphone map apps, which relies on Wi-Fi access points and cell towers. That is a separate mechanism in which the device itself observes nearby radio signals to work out where it is, and a GeoIP database does not hold those observations. What GeoIP works with is allocation and routing information for IP addresses, not a position measured by the device.
How MaxMind GeoLite2 Works
IP Check-san uses the MaxMind GeoLite2 database. MaxMind is the leading GeoIP database provider, offering the free GeoLite2 and the paid GeoIP2. Among the GeoLite2 databases, the City and Country editions are updated twice a week (Tuesdays and Fridays) and the ASN edition is updated every weekday (as of August 2026), which is how IP address reassignments and ISP changes make their way in.
The GeoLite2 database stores location information for each IP address CIDR block (e.g., 203.0.113.0/24). During a lookup, the system identifies the CIDR block that contains the target IP address and returns the location data associated with that block. Because of this design, all IP addresses within the same CIDR block return the same location information.
Other Major Providers
- IP2Location: offers both free and commercial editions, with databases that carry attributes such as ISP and connection type alongside the location itself
- DB-IP: a GeoIP service with both free and paid tiers, employing proprietary data collection methods
- ipinfo.io: distributes databases and, primarily, offers lookups through an API
With the growing adoption of IPv6, GeoIP databases have been expanding their IPv6 coverage. However, because IPv6 address allocation structures differ from IPv4, location accuracy for IPv6 tends to be more variable. ISPs acquire vast IPv6 address blocks in bulk, making fine-grained regional classification within those blocks more difficult.
GeoIP Accuracy and Limitations
GeoIP accuracy varies significantly depending on the level of granularity. The belief that "GeoIP can pinpoint your exact address" is a common misconception - in reality, it only indicates an ISP's connection point or the center of a region. Unlike GPS, which uses satellite signals to determine precise coordinates, GeoIP relies on database lookups and is inherently approximate.
| Level of detail | Typical accuracy | Main reason results drift | What you can say at this level |
|---|---|---|---|
| Country | Reliable in practice (though not guaranteed to be 100 % correct) | ISPs near a national border using blocks assigned to the neighboring country | The country of the connection is almost always identified correctly |
| Region and city | Far more variable than the country level (errors of several tens of kilometers) | Large ISPs manage wide-area blocks and register them at their headquarters address | You get a rough area, but the city name is not guaranteed to match reality |
| Street address | Cannot be determined | What comes back is an ISP connection point or the center of a region | An individual's home address or name cannot be learned |
Country-Level Accuracy
Country identification is reliable in practice, returning the correct country for the vast majority of IP addresses. MaxMind does state, however, that it cannot guarantee the accuracy of its location data 100 %, and that accuracy varies considerably by country, by distance, by the type of connection (mobile or broadband, IPv4 or IPv6), and by the ISP's own practices (as of August 2026). In practice, misidentification does occur when ISPs near national borders use IP address blocks assigned to a neighboring country.
Region and City-Level Accuracy
City-level accuracy falls off sharply compared with the country level, and errors of several tens of kilometers can occur. This variation stems from how ISPs allocate IP addresses. Major ISPs manage large IP address blocks covering wide areas, so the actual user location and the ISP's registered location can differ significantly.
For example, if a user living in a rural area uses an ISP headquartered in a major city, GeoIP may identify their location as that major city. This happens because the ISP registers the IP address block's location as its headquarters address.
Common Cases Where Accuracy Decreases
- Mobile networks: mobile carriers use IP address blocks covering wide areas, so the carrier's registered location is often returned rather than the base station's position. City-level accuracy drops significantly compared to fixed-line connections
- Via VPN or proxy: the VPN server's location is displayed, producing results unrelated to the user's actual position. GeoIP results during a VPN connection reflect the country and city of the connected server
- CGNAT (Carrier-Grade NAT) environments: a setup where the ISP shares a single global IP address among many users. Under CGNAT, a wide range of users share the same IP, so location information is aggregated to the ISP's representative location. Adoption has spread mainly across mobile networks, and it is used on fixed lines as well
- Corporate networks: the headquarters' IP address is used, which may differ from the actual location of branch offices or remote workers
- Satellite internet (e.g., Starlink): an IP address tied to a location well away from where the service is used may be assigned. Because the position returned is the one associated with a ground station or with the operator's own facilities, it can be far from the actual whereabouts
- Via cloud services: IP addresses from AWS or Google Cloud regions are used, so the physical location of the server is returned
How the Update Cycle Relates to Accuracy
GeoIP accuracy also depends on how often the database is refreshed. The GeoLite2 City and Country editions are updated twice a week and the ASN edition every weekday (as of August 2026), so ISP reassignments and newly deployed address blocks are reflected on that cadence. Put the other way round, an IP address whose allocation changes between updates keeps returning its old location until the next refresh. When a GeoIP result disagrees with reality, one possible cause is simply that the database has not caught up yet.
GeoIP Use Cases
Content Localization
GeoIP is used to automatically switch languages and currencies based on a visitor's country. For example, an e-commerce site might serve Japanese with yen pricing for visitors from Japan, and English with dollar pricing for visitors from the United States. GeoIP is just one of several signals websites use for this purpose - for a broader look at how sites detect your preferred language, see our article on why websites know your language.
Regional Restrictions: Geo-Blocking
Video streaming services and similar platforms use GeoIP to permit access only from specific countries due to licensing agreements. Netflix and Amazon Prime Video offering different content libraries by country is a classic example of GeoIP-based geo-blocking.
Fraud Detection and Security
GeoIP is used to detect logins from unusual countries and flag potential unauthorized access. Online banking and e-commerce sites commonly require additional authentication for access from unfamiliar locations. It is also combined with firewalls to block access from specific countries entirely.
Ad Targeting
GeoIP is used to display region-specific advertisements. For locally focused businesses, GeoIP-based ad delivery is a cost-effective approach.
Regulatory Compliance
GeoIP is used to restrict service availability based on the laws of specific countries (e.g., online gambling regulations, data processing restrictions under data protection laws).
GeoIP and Privacy
GeoIP-based location estimation raises privacy concerns:
- An approximate residential area can be estimated from an IP address alone
- ISP information reveals which internet service is being used
- An AS number may allow the user's affiliated organization to be inferred
However, GeoIP cannot determine an individual's exact home address or name. MaxMind itself states plainly that its GeoIP location data is not precise enough to identify a specific household, individual, or street address (as of August 2026). What comes back stays at the "approximate region" level, so the fear that "GeoIP will reveal my home address" is a technically unfounded misconception.
Under the GDPR (EU General Data Protection Regulation) and Japan's Act on the Protection of Personal Information, IP addresses may be treated as personal data or equivalent. Under the privacy regimes of individual countries, GeoIP data therefore needs to be handled with care. Website operators are expected to establish appropriate privacy policies regarding the collection and use of GeoIP data.
GeoIP misidentification can also cause real-world problems. For instance, if you are actually in Japan but are identified as being overseas, you may be unable to view content on streaming services or may trigger security alerts on online banking. In such cases, you can contact your ISP or submit a correction through MaxMind's GeoIP location correction form.
GeoIP Information Available on IP Check-san
The IP Check-san homepage displays the following GeoIP information associated with your IP address in real time:
- Country name and flag: the country to which your IP address is allocated
- Region and city: regional information based on the ISP's connection point
- ISP name: your Internet Service Provider
- AS number: the identification number of your Autonomous System
- Latitude and longitude: estimated coordinates (displayed on a map)
Practical Examples
- Verify that GeoIP results change to the VPN server's country when connected to a VPN
- Confirm that your ISP information is displayed correctly
- Check how closely the displayed city matches your actual location and experience GeoIP accuracy firsthand
- Combine with a DNS leak test to comprehensively verify that your VPN's anonymity is maintained
How to Hide Your Location
The following methods can help you avoid GeoIP-based location estimation:
- Use a VPN: the VPN server's location is displayed instead, hiding your actual position. However, if a DNS leak occurs, your real location may still be exposed even while using a VPN
- Use the Tor browser: the exit node's location is displayed. The trade-off is a significant reduction in connection speed
- Route through a proxy server: the proxy's location is displayed. However, traffic may not be encrypted
When connected to a VPN, GeoIP results change to reflect the VPN server's country. For example, connecting from Japan to a US-based VPN server will in most cases cause GeoIP to report the United States. Because the result depends on where the VPN provider has registered that IP address, the country shown and the country the server physically sits in can disagree. Even with a VPN, your actual location may be exposed in the following cases:
- DNS leak: DNS queries are sent outside the VPN tunnel, and your actual IP address is recorded by the ISP's DNS server
- WebRTC leak: the browser's WebRTC functionality exposes your local IP address
- VPN connection drops: when the VPN connection is temporarily interrupted, communication occurs using your real IP address
Check your IP address and location on IP Check-san to verify that your location is properly hidden when connected to a VPN.
Frequently Asked Questions
How accurate is GeoIP location data?
Country-level identification is reliable in practice, but city-level accuracy varies a great deal. Results can be off by tens of kilometers, and the location shown is often the ISP's connection point rather than your own - GeoIP cannot identify your exact home address.
Does using a VPN change my GeoIP location?
Yes. The registered location of the IP address assigned to the VPN server is displayed as your GeoIP location instead of your actual position. This is how people access region-restricted content and protect their privacy. Note that the country shown does not always match the country where the server physically sits.
What is a GeoIP database?
A lookup table that maps IP address ranges to geographic information. It is built from Regional Internet Registry (RIR) allocation records, ISP location data, and other sources; regularly updated databases such as MaxMind GeoLite2 are widely used. All IP addresses within the same CIDR block return the same location.
Actions You Can Take Right Now
After reading this article, try the following steps:
- Visit the IP Check-san homepage and check your GeoIP information (country, region, city, ISP)
- Compare the displayed city name with your actual location to experience GeoIP accuracy firsthand
- If you use a VPN, compare GeoIP results with and without the VPN connection
- Compare GeoIP results between mobile and Wi-Fi connections to observe accuracy differences by connection type
- If GeoIP results differ significantly from reality, submit a correction through MaxMind's correction form