An IP address is the return address of the internet. Every time your phone or laptop asks for something, whether it’s a web page, a video or a message, it stamps the request with its IP address so the answer knows where to come back to. No IP address, no reply.
That one idea explains most of what follows: why every site you visit can see your IP, why it points to your city but not your street, and why hiding it means routing your traffic through someone else’s address.
How an IP address gets your data to you
Everything you send online is split into small packets. Each packet carries two addresses: where it came from (yours) and where it’s going (the server’s). Routers along the way read the destination, pass the packet one step closer, and forget about it. The server does the same in reverse, sending its reply to the source address on your packets.
To make that work at internet scale, addresses are handed out in blocks. Internet providers, mobile carriers, hosting companies and large organisations each run networks identified by an ASN (autonomous system number), and each one announces to the rest of the internet which blocks of addresses it can deliver to. That’s why an IP lookup can tell you the provider behind an address: the block belongs to it.
The two formats: IPv4 and IPv6
There are two versions of the internet protocol in use, and many connections have both.
- IPv4 addresses are four numbers from 0 to 255, separated by dots, like
203.0.113.42. - IPv6 addresses are eight groups of hexadecimal digits, separated by colons, like
2001:db8:85a3::8a2e:370:7334. The double colon stands in for a run of zeros, so addresses stay shorter.
IPv6 exists because IPv4 ran out of addresses. Our guide to IPv4 vs IPv6 covers the difference in detail. (The example addresses in this guide come from ranges reserved for documentation, so they don’t belong to anyone.)
Public vs private
You have at least two IP addresses right now.
Your public IP is the one your internet provider gives your connection. It’s what the tool on our homepage shows, and it’s what every website you visit sees.
Your private IP is the one your router gives each device on your home network. Private addresses come from ranges set aside for local networks in RFC 1918, so they’re never used on the public internet:
10.0.0.0to10.255.255.255172.16.0.0to172.31.255.255192.168.0.0to192.168.255.255
Our subnet calculator shows the full range, mask and host count for any of them. If your laptop says its address is 192.168.1.23, that’s its private address. The router itself usually sits at something like 192.168.1.1. An address starting with 169.254 means the device couldn’t get an address from the router at all, which is a sign of a network problem.
You can see a device’s private address in its network settings: in the Wi-Fi details on a phone or Mac, or by running ipconfig on Windows or ip addr on Linux. Our guide on how to find your IP address on any device has the exact steps for each one.
NAT and CGNAT
If a dozen devices in your home each have private addresses, how do they all reach the internet through one public address? Your router translates between the two. It swaps each device’s private address for the public one on the way out, remembers which device asked for what, and passes replies back to the right device. That translation is called NAT (network address translation).
Many providers now do the same trick one level up. With CGNAT (carrier-grade NAT), the provider gives your router an address from a shared range, and many customers share one public IPv4 address behind the provider’s own translator. The range reserved for this is 100.64.0.0 to 100.127.255.255 (RFC 6598). Mobile networks use CGNAT almost everywhere, and many home broadband providers use it too.
Signs you’re behind CGNAT:
- Your router’s status page shows a WAN (internet) address starting with
100.64to100.127, or any private address. - The address on your router doesn’t match the one our homepage shows.
- Port forwarding doesn’t work, or games report a strict NAT type.
CGNAT is usually invisible for browsing. It matters if you want to host something at home, and it explains why you sometimes get extra captchas: other people share your public address, and a site can’t tell you apart.
Dynamic vs static
Most home and mobile connections get a dynamic IP. Your provider lends you an address for a while and may give you a different one when your router reconnects or the lease runs out. That’s why the address on our homepage can change between visits.
A static IP stays the same. Businesses often pay extra for one because they run servers, remote access or security systems that need a fixed address. For everyday browsing, dynamic works fine. Our guide to static vs dynamic IP addresses covers how to tell which you have and whether you need a static one.
What your IP reveals
From an IP address alone, anyone can look up:
- Your approximate location, usually a city or region
- Your internet provider and its network number (ASN)
- A timezone, derived from that location
It doesn’t reveal your name, your street address or which device on your network made the request. Your provider knows which customer had an address at a given time, because it assigned it, but it doesn’t publish that. Getting it usually takes a legal request. For the practical side, see what someone can actually do with your IP address.
Why IP location is often wrong
IP location comes from databases, not GPS. They’re built from address registration records, information providers publish, and network measurements, and they’re always somewhat out of date. Some common reasons your location looks off:
- Your provider routes traffic through a regional hub, so you appear in the city where that hub is.
- Mobile carriers send traffic out through a few gateways, so a phone can appear in a different city, sometimes much farther away.
- Address blocks get reassigned, and databases take time to catch up.
- You’re using a VPN, so you appear wherever the VPN server is.
The coordinates on our homepage are a point in the estimated area, not your house.
Who can see your IP
- Every website and server you connect to, including the services a page loads in the background, such as ad networks and content delivery networks.
- Your internet provider, which assigned it.
- The operator of the network you’re on, such as your office or a café’s Wi-Fi, sees your device’s traffic on its network.
- People you connect to directly. Peer-to-peer file sharing, some online games and some video calls connect devices directly, so the other side sees your IP.
Email is mixed. Some providers add the sender’s IP address to message headers and many webmail services don’t, so it depends on the service.
Try it live
- Open our IP address lookup. The big number is your public IP, and the IPv4/IPv6 indicator next to the Copy button shows which version your connection used.
- Look at the details under the map: Location, ISP, ASN, Timezone and Coordinates. That’s everything a website can learn from your IP.
- On your phone, switch from Wi-Fi to mobile data and reload. The IP and ISP will change, because you’re now on your carrier’s network.
- If you’re curious about CGNAT, compare the homepage result with the WAN address on your router’s status page.
- To see whether your connection uses IPv6, run our IPv6 test.
How to change or hide it
Restarting your router sometimes gets you a new dynamic address, but many providers hand back the same one, and it stays with the same provider in the same area. To stop sites seeing your address at all, you need to route your traffic through someone else’s: a VPN, Tor or a similar relay. Our guide on how to hide your IP address compares the options honestly.
Frequently asked questions
Can someone find my home address from my IP?
Not from the IP alone. It points to an area, usually a city or region, and to your provider. Your provider can link an address to a customer account, but it doesn’t share that with the public.
Why does my IP address keep changing?
Most connections use dynamic addresses, which the provider can reassign when your router reconnects or the lease runs out. Mobile connections change more often, especially as you move between networks.
What’s the difference between an IP address and a MAC address?
A MAC address is a hardware identifier for a network interface, used only on your local network. It doesn’t travel across the internet, so websites don’t see it. Your IP address is what the internet sees.
Is 192.168.1.1 my IP address?
No. That’s a private address, usually your router’s address on your home network. Your public IP is the one our homepage shows.
Why do my phone and laptop show the same IP?
When both are on the same Wi-Fi, they share your router’s public address through NAT. Switch the phone to mobile data and it will show a different one.