Home › Guides › Public vs private IP

Public vs private IP address: what’s the difference?

Updated 3 October 2026 · 4 min read · By the MyIPLookup team

Open your phone’s Wi-Fi settings and you’ll probably see an address like 192.168.1.15. Visit our home page and you’ll see a completely different one. Both are your IP address — one is private, one is public — and they do different jobs.

The one-sentence answer

A public IP address identifies your whole connection on the internet, while a private IP address identifies a single device inside your home or office network.

Public IPPrivate IP
Assigned byYour ISPYour router (via DHCP)
Visible toEvery website and service you connect toOnly devices on the same local network
Unique?Unique across the internet (at any given moment)Only unique within your network — millions of homes use 192.168.1.1
Example203.0.113.42192.168.1.15
How to see itmyiplookup.ioYour device’s network settings

The private IP address ranges

Three blocks of IPv4 addresses are reserved for private networks by a standard called RFC 1918. Routers on the public internet won’t forward traffic to them, which is why the same addresses can be reused in every home and office:

A few other special addresses you might spot:

IPv6 has its own equivalents: addresses starting with fe80:: are link-local and those starting with fd are private “unique local” addresses.

How NAT lets your devices share one public IP

Your ISP typically gives your home a single public IPv4 address, yet you might have twenty devices online. The trick is Network Address Translation (NAT), built into every home router.

  1. Your laptop (192.168.1.15) asks for a web page.
  2. The router swaps the private source address for your public IP, notes which device asked, and sends the request on.
  3. The reply comes back to your public IP. The router checks its notes and forwards it to 192.168.1.15.

A useful side effect: devices on the internet can’t start a connection to your laptop directly, because they only see the router. That’s a basic layer of protection, though it isn’t a substitute for a proper firewall.

What is CGNAT, and does it affect me?

Because the world has run short of IPv4 addresses, many mobile networks and some home broadband providers use carrier-grade NAT (CGNAT). Your router gets an address from the 100.64.x.x range, and the ISP performs NAT a second time so many customers share one public IP.

For browsing and streaming you won’t notice any difference. CGNAT can cause problems if you want to:

How to tell: compare the WAN or internet address shown in your router’s admin page with the public IP on our home page. If they differ, or the router shows a 100.64–100.127 address, you’re behind CGNAT. Many ISPs will give you a public IP on request, sometimes for a small fee, and IPv6 avoids the problem entirely.

How to find your private IP address

How to find your public IP address

Your device doesn’t know its own public IP when it’s behind a router, so you need to ask something on the internet. Just open myiplookup.io — your public IP, ISP and approximate location appear instantly. You can also find it in your router’s admin page, unless you’re behind CGNAT.

Is it safe to share either one?

Private IPs are harmless to share — they’re meaningless outside your network, and huge numbers of people have the same one. Public IPs are visible to every site you visit anyway, so sharing one isn’t dangerous by itself. Still, avoid posting it publicly alongside your name. It can reveal your approximate area and make you a target for nuisance traffic. If that concerns you, see how to hide your IP address.

Find your public IP

This is the address websites see — check it in one click.

Show my public IP

Keep reading