Every device on the internet has an address. Here's yours — down to the city block.
What is a public IP address?
Your public IP address is the identifier your internet service provider assigns to your connection so the rest of the internet knows where to send data back to you. It's the address visible to any website, server, or service you connect to — the digital equivalent of a return address on a letter.
This is different from the private IP address your router hands out to devices at home — your laptop, phone, or smart TV. Those addresses only make sense inside your own network. Your public IP is what represents your entire household, office, or network to the outside world.
Knowing your public IP matters when you're opening ports for gaming or a home server, setting up remote access, troubleshooting a connection, or checking whether your VPN is actually hiding what it should.
How an IP address is built
An IPv4 address is four numbers between 0 and 255, separated by periods — like 192.0.2.14. Every internet-connected device, from a laptop to a smart fridge, is assigned one so it can send and receive data.
Who hands them out
The Internet Assigned Numbers Authority (IANA) allocates blocks of addresses to regional registries and ISPs, who then assign individual addresses to your account — which is why your IP is tied to your provider's location, not necessarily your own.
Public, private, IPv4, IPv6 — what's the difference?
Four terms that get thrown around together, but each answers a different question.
Public vs. Private
Public addresses are reachable from anywhere on the internet — your router has one. Private addresses only work inside your local network, so your laptop, printer, and smart speaker can all share the same router's public IP while keeping their own private ones for internal traffic.
IPv4 vs. IPv6
IPv4 is the original addressing system and still the most common — but with only about 4.3 billion possible addresses, the internet has been running out for years. IPv6 replaces it with a vastly larger address space, enough for every device ever likely to connect, and is gradually rolling out across networks worldwide.
Who actually uses a public IP directly
Web servers, DNS servers, and network routers all rely on stable public IPs to be reachable. Most home devices share one address through the router, but businesses running their own infrastructure often need dedicated, static public IPs.
Go deeper than just an IP address
Run a speed test, trace the path your data takes, or look up who owns any IP on the internet.