Back to Blog
Privacy

How Accurate Is IP Geolocation, Really

By Kunal Khatri·Mar 9, 2026
How Accurate Is IP Geolocation, Really

IP geolocation databases map IP addresses to geographic locations. When they work, they're accurate to within a few miles. When they don't, they can place a user on the wrong continent. Understanding the accuracy range — and why the errors happen — explains a lot about both privacy tools and frustrating user experiences.

How Geolocation Data Is Built

Geolocation databases are built from multiple sources. WHOIS and RIR registration data gives the country and sometimes city registered for each IP range. BGP routing data shows which networks are reachable through which internet exchange points. Active measurement — pinging IP addresses from multiple locations and triangulating based on latency — adds precision. User-submitted corrections round things out.

MaxMind and IP2Location are the dominant commercial providers. They maintain databases updated multiple times per week. Free databases like GeoLite2 (MaxMind's free tier) are updated less frequently and have lower accuracy, particularly at the city level.

Where It Goes Wrong

Mobile carriers aggregate their cellular network traffic through regional data centres. A user physically in Edinburgh might appear as a Glasgow IP, or a London IP, depending on which data centre handles their traffic. For mobile users, country-level accuracy is high; city-level accuracy is poor.

VPNs, Tor exit nodes, and proxies completely break geolocation — showing the VPN server's location rather than the user's. CDNs complicate it further, since the IP a server sees might belong to a CDN edge node in a different city from the actual user.

The Absurd Failure Cases

Here's the thing — a famous case involved a Kansas farm that became the default location for millions of unlocatable US IP addresses in a MaxMind database. The farm's owner spent years dealing with the consequences: police showing up looking for fraud suspects, people knocking on the door accusing her of crimes committed from 'her' IP address. Being the geocode for 'unknown US IP' turned out to be a nightmare.

Accuracy by Geography

Country-level accuracy is high — typically 95-99% for major commercial databases. State/region accuracy drops to around 55-80% depending on the country. City-level accuracy is the weakest — usually 50-75% within a 25-mile radius for US addresses, lower in countries with less structured IP allocation.

Check Your IP Geolocation

See what location your IP address is mapped to in geolocation databases.

Check My IP Location
Share this article: