Private vs Public IP Addresses Explained

Every device has IP addresses, but not all of them are visible to the open internet. Your router and ISP use a public IP to communicate on the web, while devices inside your home or office typically use private IPs that are not routable on the public internet. This guide explains how the two types differ, shows common IPv4/IPv6 ranges, how NAT connects them, and how to quickly check what the world actually sees when you go online.

What is a public IP?

A public IP is an address that’s reachable over the public internet. It identifies your connection (or VPN exit) to websites and services. Public IPs are globally unique and are allocated to networks by registries and ISPs.

What is a private IP?

A private IP is used inside local networks (LANs). These addresses are not routed on the internet and can be reused by many networks worldwide. Routers translate private addresses to a single public IP via Network Address Translation (NAT).

Common IPv4 private ranges

These are defined for private use and appear on home routers, office LANs and hotspots.

IPv6 equivalents (at a glance)

Private vs Public: key differences

PropertyPrivate IPPublic IP
ScopeLocal network (LAN)Global internet
UniquenessNot globally unique (reused)Globally unique
RoutabilityNot routed on the internetRouted across the internet
Typical ownerEnd users / internal networksISPs / data centers / VPN exits
Security viewHidden behind NAT by defaultExposed entry point to your network

How NAT connects private and public IPs

NAT lets many devices share one public IP. Outbound traffic is mapped to the router’s public IP with unique port numbers. Replies come back to the router, which forwards them to the correct private device. This is why sites usually see a single public IP even though multiple devices are online behind the same router.

How to check which one you expose

  1. Open What is My IP — this shows the public IP the internet sees (or your VPN’s exit IP).
  2. On your device, find your private IP:
    • Windows: ipconfig → IPv4 Address
    • macOS/Linux: ifconfig / ip addrinet / inet6
    • Router admin → LAN / DHCP list
  3. If you use VPN, your public IP should change to the VPN server. Verify no leaks with WebRTC and DNS Lookup.

Privacy & security tips


Check now: See your public IP on What is My IP and confirm no exposure via WebRTC and DNS.