Network security

IP Address Location: How It Works, How Accurate It Is, and What It Reveals

Your IP address can reveal your country and often your city, but never your street address. Here is how the lookup works, how far you can trust it, and how to fix a wrong result.

Cysoro Security TeamPublished · 10 min read
203.0.113.42 NETWORK SECURITY IP addresslocation An estimate, not a GPS pin.
Quick answer

An IP address location is an estimate of where the network that owns that address is based, worked out from registry records, ISP data and network measurements. It is usually right at country level, often right at city level on home broadband, and unreliable on mobile networks, VPNs and satellite links. It never reveals a street address or a specific person.

Key takeaways

  • IP geolocation maps an address to a network, not a device, so the result is always an estimate with an accuracy radius.
  • Country results are right in the large majority of cases; city results are often off, especially on mobile data and VPNs.
  • An IP address can count as personal data under EU law, so lookups and logs need a lawful basis and a retention limit.

Type your IP address into a lookup tool and it will probably name your city. That feels like magic, and a little unsettling. In reality the tool is not tracking your device at all. It is guessing, from public records about the network your address belongs to.

What is an IP address location?

An IP address location is the estimated geographic place where the network block containing an IP address is used, usually a country, region and city, plus the ISP and network that own it.

Every device on the internet has a public IP address, the number other computers use to send data back to it. That address belongs to a block assigned to an internet provider, and the provider's records say roughly where that block is used. A lookup tool reads those records and returns the best estimate it has.

The key word is estimate. The coordinates in a lookup result are the centre of the area the address block covers, never the position of a device. A result that shows six decimal places of latitude and longitude looks precise, but it is a city centre dressed up as a pin.

How does IP geolocation work?

IP geolocation works by matching an address against a database built from registry records, ISP data, network measurements and location feeds published by network operators.

No single source holds the answer. Providers combine several signals, and the quality of the database depends on how well they reconcile them. IPRegistry's GeoIP guide explains how registry records, geofeeds and latency measurements are combined. The main sources are:

  • Regional internet registries. ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC publish which organisation holds each address block and the country it was registered in.
  • ISP and operator data. Providers publish where their blocks are used, and some publish geofeeds, machine-readable files that state the location of each prefix.
  • BGP routing data. The routing system shows which network announces a block and where its routers sit, which catches blocks used far from their registered country.
  • Latency measurements. Light in fibre travels about 200 km per millisecond, so round-trip times from known probes put a physical limit on where a target can be.
  • User and device data. Some providers refine their tables with location data from apps and websites, where users have shared it.

When you run a lookup, the tool finds the smallest matching block in its database and returns the location stored for that block. A narrow block assigned to one office gives a tight result. A wide block spread across a whole country by a mobile carrier gives a vague one, whatever city is written on the row.

How an IP address becomes a location1. Registrywho holds the block,and in which country2. ISP datageofeeds and networkmaps from the operator3. RoutingBGP shows which networkannounces the block4. Latencyround-trip time setsa physical distance limitDatabase lookup: smallest matching block winsThe result is the centre of that block's area — an estimate, not a device position.
Four signals combine into one IP location estimate. Illustration by Cysoro.

How accurate is IP address location?

Country-level results are right in the large majority of cases, city-level results are usually right on fixed broadband, and postal-code or street-level claims from IP data alone are not reliable.

The numbers depend on the study and the connection type, but the pattern is consistent across research. A 2011 study by Poese and colleagues compared five databases against location data from a large European ISP and found the correct country for 96 to 98 percent of address blocks, while city-level accuracy was far weaker.

A 2022 study by Saxon and Feamster, checking two databases against smartphone GPS positions in New York, Chicago and Philadelphia, found median errors of 2.6 to 4.3 km for one database and 12 to 24 km for the other on fixed broadband. The IPLookupAPI accuracy guide summarises both studies and the newer mobile results.

Mobile is the weak spot. A 2026 measurement study, "Lost in the Prefix", checked four major databases against 37,302 ground-truth observations in 175 countries and found median errors of 3 to 16 km on fixed lines but 179 to 207 km on mobile networks. MaxMind, one of the largest providers, publishes a minimum accuracy radius of 5 km, which is the engineering floor for IP geolocation.

LevelTypical accuracyWhat to use it for
CountryRight in the large majority of cases (96-98% in the Poese study)Language, currency, fraud rules, licensing
Region or stateUsually right on home broadband, weaker near bordersRegional content, tax rules, rough routing
CityOften right on broadband; often wrong on mobileLocal content defaults, approximate analytics
Postal codeWeak; treat as a guessDo not use for delivery or verification
Street addressNot possible from IP data aloneNeeds GPS, Wi-Fi positioning or user consent

Read any city result as a radius, not a pin. Good providers publish an accuracy radius with each result, and you should use that radius in your decisions rather than the coordinates alone.

What does an IP address location reveal about you?

An IP lookup typically reveals your approximate city or region, your ISP, your connection type, your time zone and sometimes your organisation, but not your name, street address or exact position.

That is still more than many people expect. A website you visit can see your public IP address on every request, with no permission prompt and no JavaScript. From it, the site can infer your country and city, tailor prices and content, enforce licensing rules, and flag logins from unusual places.

What it cannot do is identify you personally. The link between an IP address and a subscriber sits with your ISP, and in most countries it is only disclosed to law enforcement with a court order or equivalent legal process. That gap is why IP location is useful for security checks but useless as proof of who someone is.

Why is my IP address location wrong?

Your IP location is usually wrong because your traffic is routed through a hub in another city, your address block was recently reassigned, or you are on a mobile network, a VPN, a corporate network or a satellite link.

The most common causes are:

  • Mobile data. Carriers route traffic through a small number of gateways, so thousands of users share an exit point far from where they actually are.
  • VPNs and proxies. Websites see the exit server's location, not yours. This is the single biggest cause of a wrong country result.
  • Corporate and school networks. Traffic exits through a head office or data centre, often in another city or country.
  • Satellite internet. Your traffic reaches the internet through a ground station that may be hundreds of kilometres away.
  • Reassigned blocks. Address blocks move between ISPs and regions, and databases take time to catch up. IPv6 blocks are reassigned more often than IPv4 ones.
  • Privacy relays. Services such as iCloud Private Relay route traffic through relay servers, which deliberately hides your real location.

If your location suddenly jumps to another country, check first whether a VPN, a work profile or a privacy relay is active. That explains most cases.

How do you look up an IP address location?

To look up an IP address location, paste the address into a lookup tool, or check your own address with a free IP checker, then read the country, city, ISP and accuracy radius it returns.

  1. Find the address. Use our free what-is-my-IP tool to see your own public address, or copy the address you want to check from your server logs.
  2. Run the lookup. Paste the address into a geolocation tool and note the country, region, city, ISP and connection type.
  3. Check the accuracy radius. If the tool gives one, treat the result as "somewhere within this radius", not as a point on a map.
  4. Cross-check with a second database. Different providers disagree, especially at city level. If two tools agree on the country but differ on the city, trust the country.
  5. Check for VPN or proxy flags. If the address is flagged as a VPN, proxy or Tor exit node, the location is the exit server's, not the user's.

For a domain rather than an address, a DNS lookup shows the records behind it.

A WHOIS lookup shows who registered it. Together they tell you more about a suspicious site than a location lookup alone.

How do you fix a wrong IP address location?

Start by turning off any VPN or privacy relay and restarting your router, which usually gives you a fresh address from your ISP's pool. If the error persists, report it to your ISP or to the geolocation provider.

Most providers have a correction form. MaxMind, IP2Location and the other large databases accept reports from ISPs and from users, and corrections usually appear in the next database update. Your ISP can also publish a geofeed, a file that tells providers exactly where each of its blocks is used, which is the most reliable fix at scale.

If a specific service, such as a streaming site or a bank, shows the wrong location, the problem may be on that service's side: it may be using an old database copy. Contact its support and give them your IP address and your real city so they can update their records.

IP location vs GPS: what is the difference?

GPS locates a device to within a few metres using satellites, while IP geolocation locates a network block to within kilometres using public records. GPS needs permission and a receiver; IP location needs neither.

That difference decides which one to use. GPS is right for navigation, delivery and emergency services. IP location is right for setting a default language, spotting a login from an unexpected country, or enforcing a licensing region. If you need sub-city precision, you need GPS, Wi-Fi positioning, or the user to tell you where they are.

IP geolocation vs GPSIP geolocationPrecision: city or region, 5 km minimumPermission: none neededSource: public network recordsBest for: country checks, fraud signalsFails on: mobile, VPN, satelliteGPSPrecision: 1 to 5 metresPermission: user must allow itSource: satellites + device sensorsBest for: navigation, deliveryFails on: indoors, no signal, denied
IP location is a network estimate; GPS is a device measurement. Illustration by Cysoro.

Is an IP address personal data?

Yes, an IP address can be personal data under EU law. In the Breyer case (C-582/14), the Court of Justice of the EU ruled that a dynamic IP address is personal data where the website operator has legal means to identify the visitor with additional information from the ISP.

That matters for anyone who logs IP addresses. Under the GDPR, an IP address in a server log, an analytics tool or a security feed is personal data, so you need a lawful basis to process it, a retention limit, and a way to honour deletion and access requests. Security is a recognised legitimate interest: the Breyer court accepted that operators may store IP addresses to protect against cyber attacks.

For businesses, the practical rules are simple. Log IP addresses only where you need them, keep them for as short a time as the purpose allows, restrict who can see them, and tell users in your privacy notice. If you share them with a geolocation or analytics provider, you need a data processing agreement with that provider.

For individuals, the same ruling is reassuring: an IP address alone does not identify you to a random website. It takes the ISP's records, and a legal process, to close that gap.

If you want to hide your approximate location from websites, a VPN is the usual tool, but remember it only moves the apparent location to the VPN server. Our guide to securing your Wi-Fi covers the home-network side of the same problem.

How should businesses use IP location?

Businesses should use IP location as one signal among several, never as the only check. It works well for defaults and for risk scoring, and badly for identity, delivery and anything that needs certainty.

Good uses include setting a default language and currency, flagging a login from a country the user has never used, blocking traffic from regions you do not serve, and spotting credential-stuffing attacks that arrive from many countries at once. In each case the location is a hint that triggers a second check, such as a passkey prompt or a confirmation email.

Bad uses include refusing a legitimate customer because their IP says the wrong city, using IP location as proof of identity in a dispute, or storing full IP addresses indefinitely in analytics. Keep the accuracy radius in mind, respect the GDPR rules above, and give users a way to correct a wrong result.

The bottom line

An IP address location tells you where a network is, not where a person is. Country results are dependable, city results are a useful estimate on broadband and a poor one on mobile, and street-level results are a sales pitch, not a fact.

Use it for what it is good at, check the accuracy radius before you act on it, and fix wrong records through your ISP or the database provider. You can see what the internet currently thinks about your own connection with the free what-is-my-IP tool.

Frequently asked questions

Can you find someone's exact address from their IP address?

No. IP geolocation returns the location of the network block, usually a city or region, never a street address. Only the ISP holds the subscriber record that links an address to a person, and it only shares that with law enforcement under a lawful request.

How accurate is IP address location?

Country is right in the large majority of cases. City is usually right on fixed home broadband but often wrong on mobile data, where the median error can be hundreds of kilometres. Postal code and street-level results from IP data alone are not reliable.

Why does my IP address show the wrong city?

Your ISP may route your traffic through a hub in another city, your address block may have been reassigned recently, or you may be on a mobile network, a VPN, a corporate network or a satellite link. Any of these can move the reported location.

Can I look up my own IP address location?

Yes. Free lookup tools and the Cysoro IP checker show your public address and its estimated location. Compare the result with your real city to see how accurate the database is for your connection.

Is an IP address personal data under GDPR?

Yes, it can be. The EU Court of Justice ruled in the Breyer case that a dynamic IP address is personal data where the operator has legal means to identify the visitor with additional information from the ISP.

Does a VPN change my IP address location?

Yes. Websites see the location of the VPN exit server, not your real location. That is why a VPN can make streaming services, shops and security checks think you are in another country.

How do I fix a wrong IP address location?

First check whether you are on a VPN or mobile data, then restart your router to get a fresh address. If the error persists, report it to your ISP or to the geolocation provider, which can correct the database record for your address block.

Sources

  1. IPRegistry — What Is GeoIP? How IP Geolocation Works and How Accurate It Is in 2026
  2. IPGeolocation.io — IP Geolocation Explained: How It Works in 2026
  3. IPLookupAPI — How Accurate Is IP Geolocation and Why Is It Wrong?
  4. KU Leuven CiTiP — Court of Justice rules on IP addresses and legitimate interests in Breyer Case
  5. IP Tracker Online — IP Locator: How to Find Any IP Address Location
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against IP geolocation provider guides, published accuracy studies cited by IPLookupAPI, and the CJEU Breyer judgment (C-582/14).

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free