How to Check Your Public IP Address (And What It Actually Tells You)

Your public IP address is the unique identifier your internet service provider assigns to your connection — it's how the wider internet recognizes and communicates with your network. Knowing how to find it is a basic but genuinely useful networking skill, whether you're setting up remote access, troubleshooting connectivity issues, or just curious about what the outside world sees when you're online.

What Is a Public IP Address?

Before diving into the how, it helps to understand the what. Every device on your home or office network has a private IP address — a local identifier used only within your network (typically something like 192.168.x.x or 10.x.x.x). Your router then communicates with the internet using a single public IP address, assigned by your ISP.

Think of it like a building: every apartment has an internal number (private IP), but the building itself has one street address (public IP) that the outside world sees.

These two are very different things, and it's one of the most common points of confusion when people try to "find their IP address."

The Fastest Ways to Check Your Public IP Address 🌐

Using a Web-Based IP Lookup Tool

The simplest method — open a browser and visit any IP-checking website. These services detect and display your public IP automatically. Well-known options include:

  • whatismyip.com
  • ipinfo.io
  • icanhazip.com
  • ifconfig.me

You'll instantly see your IPv4 address (and often your IPv6 address, if your ISP supports it), along with approximate location data and sometimes your ISP name.

Using a Search Engine

On most modern search engines, simply typing "what is my IP address" into the search bar will display your public IP directly in the results — no need to visit a separate site.

Using the Command Line

For those comfortable with a terminal, you can retrieve your public IP without a browser:

On macOS or Linux:

curl ifconfig.me 

or

curl icanhazip.com 

On Windows (Command Prompt or PowerShell):

curl ifconfig.me 

PowerShell also supports:

(Invoke-WebRequest -uri "http://ifconfig.me/ip").Content 

These commands send a request to a remote server that echoes back the IP address it sees — your public IP.

Through Your Router's Admin Panel

Your router itself knows your public IP, because it's the device directly assigned that address by your ISP.

  1. Access your router's admin interface (typically by entering 192.168.1.1 or 192.168.0.1 in your browser)
  2. Log in with your admin credentials
  3. Look for a section labeled WAN, Internet Status, or Connection Info

The public IP will be listed there, often alongside your DNS servers and connection type.

IPv4 vs. IPv6: Which One Are You Looking At?

Most IP-lookup tools will show you both if your network supports them.

TypeFormat ExampleCommon Use
IPv4203.0.113.47Still dominant; 32-bit address
IPv62001:0db8:85a3::8a2e:0370:7334Newer standard; 128-bit, far more addresses available

IPv4 addresses are being gradually exhausted globally, which is why many ISPs now assign IPv6 addresses — or both simultaneously, in what's called a dual-stack configuration. If you're troubleshooting connectivity or configuring a server, knowing which version you're working with matters.

Factors That Affect What Your Public IP Looks Like

Not all public IPs work the same way, and several variables determine what you're actually dealing with:

Static vs. Dynamic IP Most residential ISPs assign a dynamic public IP, meaning it can change periodically — sometimes daily, sometimes only when your router restarts. Businesses often pay for a static IP that never changes, which is essential for hosting servers or maintaining consistent remote access.

Carrier-Grade NAT (CGNAT) Some ISPs — especially mobile carriers and certain residential broadband providers — use carrier-grade NAT, where multiple customers share a single public IP. If you're trying to host a service or port-forward and running into problems, CGNAT may be the reason. Tools like ipinfo.io won't tell you directly whether you're behind CGNAT — you'd need to compare your router's WAN IP against what an external lookup shows.

VPN or Proxy Usage 🔒 If you're connected to a VPN, the public IP you see via lookup tools will be the VPN server's IP, not your ISP-assigned address. Same applies to proxy servers. This is intentional if you're using a VPN for privacy — but it's important to remember when troubleshooting, since your "real" IP is masked.

Mobile Networks On a smartphone connected via cellular data, your public IP is assigned by your mobile carrier. It's usually dynamic and often shared across many users via CGNAT. Switching to Wi-Fi will give you a different public IP — one assigned through your home or office router.

What Your Public IP Reveals (And What It Doesn't)

It's worth being clear-eyed here. Your public IP address does expose:

  • Your approximate geographic location — typically accurate to the city or region level, not your street address
  • Your ISP — the provider is usually identifiable from the IP range
  • Your connection type — in some cases, whether you're on residential, business, or mobile service

It does not expose your device type, browsing history, or precise physical location on its own. That said, combined with other data, IP addresses are commonly used for geolocation, ad targeting, and access control by websites and services.

Why This Matters Beyond Curiosity

Knowing your public IP is practically useful in a range of scenarios:

  • Remote desktop or SSH access — you need your public IP to connect back to your home network
  • Gaming and server hosting — port forwarding rules are tied to your public IP
  • Whitelisting access — some business tools and firewalls restrict access by IP
  • Troubleshooting — comparing your IP before and after a network change can help isolate problems

The right method for checking — and what to do with that information — depends heavily on whether you're dealing with a static or dynamic IP, whether CGNAT is in play, and what you're ultimately trying to accomplish with that address.