A website never sees where you are. It sees your IP address, looks it up in a geolocation database, and shows whatever the database says. The address is real; the location is a guess about a whole block of addresses, made by a company you have never dealt with. When it's wrong you get the wrong language, the wrong prices, a search engine that thinks you're in another city, or a service that refuses you because of a country you're not in.
This post explains where that guess comes from, why it goes wrong, and what you can do about it. To see what websites think right now, open What Is My Country: the card at the top is our database's answer for your IP address, and "Use my precise location" compares it with where your device says you are. Your position is checked on your device and never sent to us.
How a website decides where you are
Blocks of IP addresses are handed out by five regional registries (ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC) to internet providers, companies and hosting firms. The registry records who holds a block and in which country they're registered. That says nothing about where the addresses are used, so geolocation companies such as MaxMind build databases on top: they combine the registry records with feeds that providers publish about their own networks, corrections people send in, and their own measurements. The result is one location per block of addresses, not per person.
Each location comes with an accuracy radius, MaxMind's estimate in kilometres of how far the real position may be from the point it gives. A site that shows you a city name or a pin on a map has usually thrown that radius away.
What our own database says about itself
We use MaxMind's free GeoLite2 City database, and we checked how much it actually knows. These figures are from the edition built on 27 October 2026, counted across every IPv4 address in it:
- 3.69 billion IPv4 addresses are placed in a country.
- Only 45% of them come with a city at all. For the rest, the database knows the country and nothing finer.
- Where there is a city, half the addresses have an accuracy radius of 20 km or less, and one in ten a radius of 200 km or more.
- Where there is only a country, the typical radius is 1,000 km.
- About 5% of addresses (some 184 million) are placed in a different country from the one their block is registered in.
These are counts of addresses, not of people, so large blocks that are barely used weigh as much as busy home networks. MaxMind's own estimate for the United States is about 80% of addresses placed in the right state and 66% within 50 km of the right city (MaxMind: geolocation accuracy).
Why "country only" can still look like a city
An address with no city still gets coordinates: a default point for its country. We counted where those points are. For the United States, 991 million addresses have no city, and 98% of them share a single point at 37.751, -97.822, in rural Kansas. Elsewhere the default is often the capital: central London for the United Kingdom, Moscow for Russia, Tehran for Iran, central Paris for France.
So if a site shows you in London, or puts a pin in the middle of the country, it may only mean the database knows your country. A site that turns those coordinates into a place name shows a precision the data never had.
The usual reasons it's wrong
You're using a VPN, proxy, Tor or a relay
Websites see the address your traffic leaves from, so with a VPN they see the VPN server's country. That's the point of a VPN. Apple's iCloud Private Relay, Tor and proxies work the same way: the site sees the relay's address, not yours. If you're on a VPN and some sites still know your real country, something is leaking; our VPN leak test checks the usual causes.
You're on mobile data
Mobile operators often send their customers' traffic out to the internet through a small number of gateways, so a phone can appear in the city where the gateway is rather than where you are. When you roam abroad, your data usually travels back through your home operator, so websites still see your home country. Switching to the local Wi-Fi changes the answer.
The block changed hands, and the database hasn't caught up
IPv4 addresses ran out years ago and are now bought and sold, including between countries. When a block moves, the databases learn about it at different speeds, and each website updates its copy on its own schedule. That's also why two sites can disagree about the same address. Every database has a date: ours is shown in the footer of every page.
The network is registered in one country and used in another
Companies with offices in several countries, cloud providers and satellite and corporate networks often use addresses registered elsewhere. If the database has nothing better than the registration, you get the country of the head office. The 184 million addresses above are the blocks it has already moved away from their registration country; it can't move the ones it knows nothing more about.
Your company's network or a security service sends your traffic elsewhere
On a work laptop, traffic often goes through the company's own network or a cloud security service before it reaches the internet. Websites then see the address of that service, which can be in another country.
Why Google sometimes knows better, or worse
Google doesn't rely on your IP address alone. According to its own help page, Search can use your device's location if you allow it, the home and work addresses in your Google account, your past activity, and your internet address. The bottom of the results page says which one it used. So Google can be right while every other site is wrong, or the other way round if your account still has an old home address.
Your browser and phone can also give a site your real position from GPS or nearby Wi-Fi networks, but only when you allow it. That's a separate answer from the IP address, and it's the one our "Use my precise location" button reads.
How to check what's going on
- Open the home page and look at the country and city we show for your IP address, and the network type next to it.
- Press "Use my precise location". If the country matches, the database is right about your country, even if the city is off.
- If it doesn't match and you're on a VPN or relay, that's expected. If you're not, the database has your network in the wrong place.
- For the details, look your address up in our IP lookup. It shows the accuracy radius as a circle on the map, the network block the location applies to, and the date of the database.
How to get it fixed
Tell the database company. MaxMind has a correction page with a form for a personal or home IP address. You don't need an account, but without one you must confirm your email address within 24 hours. MaxMind says one-off corrections are usually reviewed within one or two business days and go into the next database release if accepted. Acceptance isn't guaranteed, especially for addresses shared across a wide area. Other databases have their own correction pages.
Tell Google. If Google products show content for the wrong country because of your IP address, Google has a "Report IP problems" form. It's for the country only, and Google says updates may take more than a month and that it won't reply individually.
Ask your internet provider. A correction from one customer fixes one address at best. Providers can publish a geofeed: a simple file, defined in RFC 8805, listing their address blocks with a country and city. MaxMind and the other databases read these, so a provider that keeps one up to date fixes the whole network at once. It's worth asking support whether they publish one.
Then wait for the sites. Each website, this one included, updates its copy of the database on its own schedule, so a correction can show up on one site within a week and on another months later. The date of ours is in the footer of every page.
Whatever the outcome, the quickest check is the same: open What Is My Country and compare the country we show for your IP address with the one your device reports.