If an IP lookup says you are in a city you have never lived in, nothing is broken on your side. The location was never measured. It is a guess stored in a database, and different databases guess differently.
We wanted to know how good those guesses really are, so we tested them against home connections whose location we know.
IP location accuracy at a glance
| What we checked | Result |
|---|---|
| Home connections tested | 400, in 60 countries |
| Where the true locations come from | RIPE Atlas probes tagged as home connections |
| Databases tested | ip-api.com, ipwho.is, ipinfo.io (all with coordinates) and DB-IP (country and city only) |
| Right country | 99.0% to 99.3% |
| Within 25 km | 62.5% to 67.8% |
| More than 250 km away | 7.0% to 8.9% |
| Same city name in three databases | 38.7% |
| Date of the test | 21 November 2026 |
How did we test it?
You need connections whose real location is known. The RIPE NCC, the registry for Europe and the Middle East, runs a network of small measuring devices called RIPE Atlas probes. Volunteers plug them into their own internet connection and register where the probe is. Many hosts tag their probe as a home connection.
We took every connected public probe tagged "home" from the RIPE Atlas probe list, 2,862 in total, and picked 400 at random with no more than 20 from one country so Europe would not swamp the result. For each probe we looked up its public address in four free databases and measured the distance from the database's answer to the location the host registered.
One limit to keep in mind: hosts enter their probe's position themselves, and some place it roughly. A few kilometres of the error below can be the host's, not the database's.
How accurate is IP geolocation?
| Database | Answered | Right country | Within 10 km | Within 25 km | Within 50 km | Within 100 km | Over 250 km | Median miss |
|---|---|---|---|---|---|---|---|---|
| ip-api.com | 395 | 99.0% | 46.1% | 62.5% | 71.9% | 80.3% | 8.9% | 13 km |
| ipwho.is | 400 | 99.3% | 49.8% | 67.5% | 76.0% | 85.0% | 7.3% | 11 km |
| ipinfo.io | 400 | 99.3% | 51.5% | 67.8% | 75.0% | 83.8% | 7.0% | 10 km |
| DB-IP (free) | 400 | 99.0% | no coordinates |
The pattern is the same in every database. The country is close to perfect. The typical answer is 10 to 13 km off, which on a phone map looks like the right town or the next one along. But the average miss is 93 to 108 km, because a small share of answers are very wrong: one in ten is more than 159 to 223 km away depending on the database.
Here is a single connection as an example. One probe in Amsterdam was placed in Amsterdam by ip-api.com (7.4 km off), in Utrecht by ipinfo.io (31.5 km off) and in Gouda by ipwho.is (39.7 km off). All three are reasonable guesses. None of them is where the connection is.
Is IP location better in some places?
We split the 395 connections that all three coordinate databases answered by region. Each cell shows the typical miss and the share placed within 25 km.
| Region | Connections | ip-api.com | ipwho.is | ipinfo.io |
|---|---|---|---|---|
| Europe (25 countries) | 238 | 16 km, 58% | 12 km, 65% | 12 km, 62% |
| Rest of the world (34 countries) | 137 | 10 km, 67% | 9 km, 72% | 9 km, 77% |
| United States | 20 | 11 km, 85% | 14 km, 75% | 13 km, 80% |
Europe came out slightly worse than the rest of the world in every database. The United States sample is small because we capped every country at 20 connections, so treat that row as a hint, not a ranking. The bigger lesson is that no region is precise: in every group at least one in five connections was more than 25 km from where a database put it.
How do websites use your IP location?
Knowing the size of the error explains a lot of everyday annoyances.
| What the site does with it | What a 10 to 40 km error means |
|---|---|
| Shows prices, language and currency | Almost never matters, because the country is right about 99% of the time |
| Picks the nearest store, weather or news | Can show the next town, or the city where your provider's hub is |
| Licenses video by country | Works, because licensing is by country, not by town |
| Flags a login as suspicious | Can trigger a "new location" email when your provider moves you to a new address block |
| Fills in an address form | Often wrong. Type your real address |
Why do lookup sites disagree with each other?
Because each one is a different guess. For the 395 connections where all three coordinate databases answered:
| Measure | Result |
|---|---|
| All three gave the same city name | 38.7% |
| Typical distance between two databases' answers for the same address | 7.1 km |
| At least two databases more than 50 km apart | 25.6% |
| At least two databases more than 100 km apart | 14.4% |
| All three more than 100 km from the true location | 11.1% |
That last line matters. For 44 connections, every database was more than 100 km off. When that happens no lookup site will show you the right place, because none of them has it.
The country was wrong for 4 of the 400 connections. Three were placed in another country by every database (Spain shown as France, Montenegro as the United Kingdom, Russia as the United States), which can happen when an address block is registered to a company abroad. The fourth was Puerto Rico shown as the United States by two databases, which is a labelling choice more than an error.
Why is my IP location wrong?
The causes, roughly from most to least common:
- Your provider's network is built around hubs. Traffic from a whole region often enters the internet in one city. Databases see the hub and name it, so a town 40 km away shows the hub city.
- The address block is registered to a head office. Registry records list where the company is, not where each customer is. Databases use these records when they have nothing better.
- The address moved. Providers reassign blocks between regions, and databases catch up later.
- You share an address. On mobile data and on carrier grade NAT, many customers in a wide area use the same public address, so a database cannot be more precise than the whole area.
- You are on a VPN, proxy or work network. Then the location is the server's or the office's, not yours. A hosting network in the result is the giveaway: our VPN detection test found free databases label 98.9% of VPN servers that way.
Providers can publish their own location data in a standard format called a geolocation feed, described in RFC 8805. Databases that read the feed can place addresses where the provider says they are used. When a provider publishes nothing, the database has to guess.
To see what your own address says, use our IP lookup. It shows the network name next to the location, which tells you quickly whether you are looking at your home provider, a mobile carrier or a server. For what else an address gives away, see what your IP address reveals.
What to do when your IP location is wrong
- Check the network name first. If it is not your provider, turn off any VPN, proxy or privacy relay and look again.
- Restart your router only if the network name is right but the region is very wrong. A new address may sit in a better mapped block. Our guide on how to change your IP address covers what each method really changes.
- Ask the databases to correct it. MaxMind and ipinfo have correction forms. Give your address, your real city and your provider's name.
- Ask your provider to publish or fix its geolocation feed. This fixes the problem for every customer and every database that reads feeds.
- For a site that needs your real location, let it use your device's location. Browsers can share it when you allow it, and it does not depend on any IP database. Google, for example, lists your past activity and your connection's IP address among its sources on its location help page.
What the numbers mean for your privacy
The same weakness that annoys you when a weather site shows the wrong town also protects you. In our test the best database placed one in three home connections more than 25 km away, and for about one in four connections at least one database was more than 100 km off. A public IP lookup tells a website your country and, on a good day, your town. It does not tell anyone your street.
