# How does one know my geographic location through my IP address?

**URL:** <https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244>\
**Category:** Factual Questions\
**Created:** [August 3, 2012, 2:26am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244 "2012-08-03T02:26:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linden\_Arden](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@Linden\_Arden](https://boards.straightdope.com/u/Linden_Arden)\
**Post date:** [August 3, 2012, 2:26am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/1 "2012-08-03T02:26:20Z")

</div>

And how granular can they get?

I posted on a board and they honed right in on the town I live in. Its no big deal except I would like to know how close they can get to my actual street address.

Thanks.

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [August 3, 2012, 2:32am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/2 "2012-08-03T02:32:04Z")

</div>

IP addresses are assigned to organizations (businesses, ISPs, universities, government agencies, etc.) by IANA, and the databases containing the assigned ranges are publicly available. By correlating your IP with the business it is assigned to, plus some other information (like intelligence about your ISP’s network architecture) you can make an educated guess about your location. There are a number of freely-available databases out there that map IP ranges to best-guess location information. They’re not always up-to-date, and sometimes they are hilariously wrong. But they are getting better as more information is collected.

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [August 3, 2012, 2:37am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/3 "2012-08-03T02:37:31Z")

</div>

Generally the best they can get is at a neighborhood level, which is pretty close, but unless you’ve paid for a static IP it’s usually impossible to narrow it down to individual’s address.

Though as friedo said, sometimes they’re way off. Last I checked they thought I was somewhere in Alabama (I’m in Tucson, AZ).

---

<div class="post-metadata">

**Author:** ![TriPolar](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tripolar/32/3008_2.png) [@TriPolar](https://boards.straightdope.com/u/TriPolar)\
**Post date:** [August 3, 2012, 2:42am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/4 "2012-08-03T02:42:16Z")

</div>

To add just a little to the above, your IP will can usually be tracked to your internet provider, and to more specific locations for that provider. But there is no requirement to map IPs to a specific geographical location. Your IP might seem to be from someplace else entirely. There are a number of ways to use a different IP than the one assigned by your internet provider if you want to disguise your location. But unless you are on the lam, planning nepharious activity, or really paranoid, there isn’t much need to do that.

---

<div class="post-metadata">

**Author:** ![Linden\_Arden](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@Linden\_Arden](https://boards.straightdope.com/u/Linden_Arden)\
**Post date:** [August 3, 2012, 2:44am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/5 "2012-08-03T02:44:07Z")

</div>

Thanks, both.

The board I referred to prints something like this (q5NFp) instead of your actual numerical IP address for every poster.

Why?

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [August 3, 2012, 3:03am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/6 "2012-08-03T03:03:35Z")

</div>

My guess would be they are printing a one-way hash of the IP so that users can tell if two posts were made from the same address, but they don’t know what the actual address is, so they can’t do silly things like launch DDoS attacks against people they don’t like.

---

<div class="post-metadata">

**Author:** ![ZipperJJ](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zipperjj/32/211_2.png) [@ZipperJJ](https://boards.straightdope.com/u/ZipperJJ)\
**Post date:** [August 3, 2012, 3:10am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/7 "2012-08-03T03:10:11Z")

</div>

Here’s a very easy way to look up info on an IP address: [http://whois.domaintools.com/](http://whois.domaintools.com/)

---

<div class="post-metadata">

**Author:** ![Flyer](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/flyer/32/7298_2.png) [@Flyer](https://boards.straightdope.com/u/Flyer)\
**Post date:** [August 3, 2012, 3:42am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/8 "2012-08-03T03:42:38Z")

</div>

I’ve found this site to be quite good at showing what other people can find out about you. It’s based on background information that your computer sends out.

> **[Digital Footprint](https://www.auditmypc.com/digital-footprint.asp)**
>
> Transparency is key to understanding the information you give away each time you visit a website (Digital Footprint) and it's our mission to empower users by helping them understand that footprint along with security risks before it's too late! Each...

---

<div class="post-metadata">

**Author:** ![Dallas\_Jones](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dallas_jones/32/3277_2.png) [@Dallas\_Jones](https://boards.straightdope.com/u/Dallas_Jones)\
**Post date:** [August 3, 2012, 4:51am UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/9 "2012-08-03T04:51:13Z")

</div>

The nearest that these IP address locators get to me is about 200 miles away, in the neighboring state. The ads that try to customize to my address are way wrong.

The ‘local’ mom with the amazing skin treatment in my home town is not anywhere near me. Must be some hub of my ISP.

---

<div class="post-metadata">

**Author:** ![clairobscur](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@clairobscur](https://boards.straightdope.com/u/clairobscur)\
**Post date:** [February 4, 2013, 12:15pm UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/12 "2013-02-04T12:15:58Z")

</div>

It doesn’t always work. For a long time, my IP adress indicated that I was residing in some unheard of village in the region around Paris. At another time, briefly, it located me in Spain.

---

<div class="post-metadata">

**Author:** ![GuanoLad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/guanolad/32/42_2.png) [@GuanoLad](https://boards.straightdope.com/u/GuanoLad)\
**Post date:** [February 4, 2013, 12:26pm UTC](https://boards.straightdope.com/t/how-does-one-know-my-geographic-location-through-my-ip-address/630244/13 "2013-02-04T12:26:35Z")

</div>

The closest my IP address can get to my location is a neighbouring suburb.
