Every device you own that goes online uses an IP address, but most of them actually use two: a private one inside your home and a public one that the rest of the internet sees. Mixing them up is the reason an address like 192.168.1.5 on your laptop never matches the number a website shows you. Here is how the two differ, how to find each one, and which one matters for your privacy.
| Feature | Public IP | Private IP |
|---|---|---|
| Who assigns it | Your internet provider | Your router |
| Where it works | Across the whole internet | Only inside your own network |
| Who can see it | Every website and service you connect to | Only devices on the same network |
| Unique? | Unique on the internet at any given moment | Unique only within your network; reused in other homes and offices |
| Typical look | Any address outside the reserved private ranges | Starts with 192.168, 10, or 172.16 through 172.31 |
A public IP address is the address your internet provider gives to your connection. It is what identifies your home or office network to the rest of the internet. When you load a website, the site's server needs to know where to send the page back to, and your public IP is that return address.
In a typical home, the public address belongs to the router, not to any single device. Your phone, laptop and smart TV all go online through that one address. You can see yours right now on the YesMyIP homepage, which simply shows the address our server received your request from.
A private IP address is one your router hands out to each device on your local network so they can talk to the router and to each other. Your printer, phone and laptop each get their own. This usually happens automatically through a router feature called DHCP, which is why you rarely have to think about it.
Private addresses come from three blocks that were set aside for local networks and are never routed on the open internet:
Because these ranges only have meaning inside a local network, they can be reused everywhere. Your laptop may be 192.168.1.5 at home, and a stranger's laptop on another network can be 192.168.1.5 too, without any conflict.
Your router sits between the two worlds. It has a private address on the inside (often something like 192.168.1.1) and the public address on the outside. When your laptop asks for a web page, the router rewrites the request so that it appears to come from the public address, remembers which device asked, and passes the reply back to the right one. This is called network address translation, or NAT.
NAT exists mostly because the original addressing system, IPv4, does not have enough addresses for every device in the world to have its own public one. Sharing one public address among a household solves that. Some internet providers go a step further and share a single public address among several customers, which is known as carrier-grade NAT.
The newer system, IPv6, has a vastly larger address space, so devices can be given globally unique addresses and the public and private split works differently there. Many connections today use both IPv4 and IPv6 side by side.
Open the YesMyIP homepage in any browser. The address shown is your public IP. To see what a specific address reveals, such as the provider and the approximate area, use the IP Lookup tool.
If the number you find starts with 192.168, 10, or 172.16 through 172.31, it is a private address.
The public one. Websites, apps and online services never see your private address; they see the public address your traffic arrives from. That address can be matched to your internet provider and to an approximate location, usually a city or region. It does not by itself reveal your name or street address. Our guide to what your IP address reveals covers this in more detail.
Your private address is only visible to devices on the same network. Knowing that someone's laptop is 192.168.1.5 tells an outsider nothing useful, because countless other networks use the same number.
If you would rather websites did not see your real public address, the usual fix is a VPN. A VPN sends your traffic through an encrypted tunnel to a server run by the VPN company, and websites see that server's address instead of yours. Two widely used options are NordVPN and Surfshark. If you are not sure what to look for, the VPN quiz narrows it down in a few questions.
A VPN changes the public address that websites see. It does not change the private address your router gave your device on your home network. After connecting, reload the homepage to confirm the address shown is different, and follow the steps in Is My VPN Working? to check for leaks. For other methods, see how to hide your IP address.
Your private IP is a local label your router gives each device. Your public IP is the single address your whole network shows to the internet. Only the public one is visible to the sites you visit, so it is the one to pay attention to when you think about privacy.
A VPN swaps your public IP address for the address of a VPN server, so the sites you visit see that one instead.
Get NordVPN →It is a private address. Every address that starts with 192.168 belongs to a range reserved for local networks, and 192.168.1.1 is commonly used by home routers. It cannot be reached directly from the internet.
Yes, as long as they are on different networks. Private ranges are reused in homes and offices everywhere. Inside a single network each device needs its own address, and two devices with the same one will cause a conflict.
A VPN changes the public address that websites see, replacing it with the address of the VPN server. The private address your router assigned to your device on your home network stays the same.
No. A private address only has meaning inside your own network and the same numbers are used on countless other networks. The address that websites and other people online can see is your public IP, which points to your internet provider and an approximate area.