Not all IP addresses are created equal. Some are visible to the entire internet, while others are hidden behind your router. Knowing the difference is essential for anyone setting up a network — whether at home or in a business.
Public IP Addresses: Your Address on the Internet
When you visit a website, the website sees your public IP address. It's like your home's street address — unique and findable from anywhere in the world.
Your ISP (Internet Service Provider) assigns you a public IP address. It might be:
- Static: Same every time you connect (like having a permanent PO box)
- Dynamic: Changes each time you reconnect (like getting a new phone number each call)
Most home users have a dynamic public IP. Businesses often pay for static IPs so customers can always find their servers.
Private IP Addresses: Your Home Network
Your router hands out private IP addresses to all your connected devices. These addresses are reserved specifically for private networks and won't ever appear on the internet.
The Three Private IP Ranges
10.0.0.0 - 10.255.255.255 (10.0.0.0/8) 172.16.0.0 - 172.31.255.255 (172.16.0.0/12) 192.168.0.0 - 192.168.255.255 (192.168.0.0/16)
If your device has an IP starting with 10., 172.16-31., or 192.168., it's definitely a private address.
Common Private IP Setups
Typical home router: 192.168.1.1 (gateway) Your computer might be: 192.168.1.100 Partner's laptop: 192.168.1.101 Smartphone: 192.168.1.20 Smart TV: 192.168.1.30 Printer: 192.168.1.40
How Your Router Connects the Two
This is called Network Address Translation (NAT). Your router has two jobs:
- To your devices: Acts as the gateway (192.168.1.1)
- To the internet: Uses your public IP address
When your computer (192.168.1.100) wants to visit google.com:
1. Your computer sends data to the router (192.168.1.1) 2. Router replaces your private IP with its public IP 3. Google sees the request coming from the public IP 4. Google sends the response back to your router 5. Router looks up which private IP asked and forwards the response
When Google replies, it sends data to your public IP. Your router knows which private device asked, so it delivers the response. But Google has no idea your private address even exists!
Finding Your IP Addresses
On Windows:
ipconfig
On Mac or Linux:
ifconfig (or ip addr show)
To find your public IP:
Visit whatismyip.com in your browser
Why This Matters
Understanding the difference helps you:
- Troubleshoot network issues: Know which device is having trouble
- Set up port forwarding: Tell your router which device gets incoming connections
- Configure routers correctly: Avoid using public IPs on your local network
Written by the subnetcalc.io team | Last updated: May 2026