Guide
How IP geolocation works
An IP-to-city lookup is a database guess based on who registered the address block — useful for routing and fraud, not a substitute for GPS.
Why you should care
Sites use IP location for language, currency, content licensing, and fraud scoring. Wrong city-level data is common; wrong country is less common.
If you use a VPN, the lookup describes the exit node’s registration, not your chair.
Registries and ISPs
Regional internet registries assign IP blocks to organizations. Geolocation vendors map those blocks to countries and sometimes cities.
The ISP and ASN tell you who operates the network, which is often more reliable than the city field.
What you might expect
Physical place of the person
- You
- City you are in
What the database has
Registered home of the IP block
- IP address
- Registry / ISP data
- Approximate city
Accuracy limits
Country is usually right for consumer ISPs. City can lag, especially for mobile, CGNAT, and anycast.
Hosting and VPN ranges frequently show a datacenter metro. Treat that as the server’s neighborhood, not the user’s.
How to check
Look up your current public IP, then a known address such as 8.8.8.8, and compare how specific the city field is.
Connect a VPN and look up again — country and ISP should follow the exit, not your home.
Remember
- IP geolocation is not GPS and is not a legal proof of presence.
- Proxy flags are hints, not a verdict.
- Anycast services can appear in several places at once.
- Re-query after the IP changes.
