Private vs Public IP Addresses Explained

Open your home router's settings and you'll probably see an address like 192.168.1.1. But open this website, and a completely different address shows up. How are these two related, and why are they different?

What is a private IP address?

A private IP address only means something inside one local network (home, office, coffee shop) and isn't reachable from outside that network. Your router assigns a private IP to every device that connects — laptop, phone, printer — so they can talk to each other and to the router.

Three standard ranges are reserved for private IP addresses and are never used on the public internet:

  • 10.0.0.0 to 10.255.255.255
  • 172.16.0.0 to 172.31.255.255
  • 192.168.0.0 to 192.168.255.255

What is a public IP address?

A public IP address is what your ISP assigns to your entire home or office connection, and it's visible and reachable from anywhere on the internet. This is the address websites actually see, and it's what Show-IP.ir displays.

So how do multiple devices share one public IP?

The answer is a process called NAT (Network Address Translation). Your router combines all the requests from devices on your network under a single public IP address, and routes the responses back to the right device. That's why five people in the same house can be online at once, yet the internet sees them all under one shared public IP address. NAT is also one of the reasons the internet still works despite the IPv4 address shortage — something we cover in more detail in IPv4 vs IPv6.

Quick comparison

FeaturePrivate IPPublic IP
Visible toLocal network onlyThe whole internet
Assigned byYour routerYour ISP
UniquenessCan repeat across different networksGlobally unique

Key takeaways

  • A private IP address only matters inside your local network and isn't visible from outside.
  • A public IP address is what the entire internet, including this site, actually sees.
  • NAT lets multiple devices share a single public IP address.
  • You can see your current public IP address right now on the Show-IP.ir homepage.
Show-IP.ir
Find your public IP address along with your country, city, ISP, time zone and location on a map. Includes VPN/proxy/Tor detection and a free subnet calculator.
Try it
Back to articles