Guide
How websites know where you are
A website can usually tell which country and city you are in before you type anything. Most of that comes from your IP address, and it is less exact than people expect.
The short answer
Every connection you make carries your public IP address. Companies maintain databases that map blocks of addresses to places, and a website looks yours up. This is IP geolocation. It is normally right about the country, often right about the region or city, and cannot identify your street or home.
How IP geolocation works
IP addresses are handed out in blocks to internet providers, which register them with a regional internet registry. Geolocation providers start from those public records and refine them with other evidence: where a provider's network equipment sits, timing measurements across the internet, and location data shared by apps and websites that already know where their users are.
The result is a lookup table. A website sends your address to it and gets back a best guess: country, region, city, postcode area, and the name of your provider.
How accurate it is
Mobile connections are the least accurate: your phone's traffic can leave the network in a city hundreds of miles away. Home broadband is better but still commonly shows a neighbouring town.
| Level | Typical reliability | Why |
|---|---|---|
| Country | Very high | Address blocks are registered by country. |
| State or region | High | Providers usually assign blocks by region. |
| City | Moderate | Often the city of the provider's nearest hub, not yours. |
| Street or home | Not possible from IP alone | An address identifies a connection, not a building. |
Other ways a site can place you
- Browser location: if you press 'Allow', the browser shares a position worked out from GPS, Wi-Fi networks and phone masts. This can be accurate to a few metres, and it is not affected by a VPN.
- Your account: a delivery address, billing country or phone number you have given.
- Time zone and language settings, which hint at a region.
- Nearby Wi-Fi network names, on phones, through the operating system's location service.
Why websites do it
- To show the right language, currency and tax.
- To meet licensing terms that differ by country.
- To apply laws that differ by state or country.
- To spot fraud, such as a card used from an unexpected country.
- To target advertising.
What a VPN changes
With a VPN on, websites see the VPN server's IP address instead of yours, so IP geolocation places you where the server is. It does not change browser location you have allowed, details in your accounts, or your device's time zone. It also does not change which laws apply to you. When Veilgrid was tested on a Mac in December 2026, the IPv4 address shown changed to the VPN's; whether IPv6 traffic is fully covered is still being verified, so check both address types yourself with the tool below.
Our IP address tools show the address and approximate location that websites see for you right now.
Questions
Sources
- ARIN, about IP address registration, checked December 3, 2026
- MDN, Geolocation API, checked December 3, 2026
Last updated December 3, 2026.
Ready when you are
Three plans, one product, every feature included. Try it for 30 days and get a full refund if it isn't for you.