There are a bunch of sites out there that all translate ip address to location, but I needed a simple and easy to use API so I could do it programmatically. I found this little guy:
http://freegeoip.net/json/50.202.78.174
Instead of json you can also use xml or csv and the last bit is the ip address what you want to translate to location. I love it, stupid simple.