Your public IP address is the one address your router or carrier exposes to the internet, and you find it by visiting a site like whatismyipaddress.com, typing "what is my IP" into Google, or running curl ifconfig.me in a terminal. It is assigned to your connection, not your device, so every phone, laptop, and smart TV on the same home network usually shares it. The address you see is the one the wider internet routes traffic back to. That's the whole answer for most people. What follows is how to check it on each kind of device, why it changes, and what it quietly says about you.
The Four Fastest Ways to Read Your Public IP
The quickest check takes about five seconds and needs nothing but a browser. Search engines surface the address in a card above the results, and dedicated lookup sites show the same number plus its geography. Both read the source address of the request that reached their server, so they report the same value. If two sites disagree, one is showing a cached page or you switched networks between checks.
1: Open a new tab and search "what is my IP." Google and Bing display the address at the top of results. 2: Alternatively, load a dedicated checker such as whatismyipaddress.com or ipinfo.io, which add city-level location, ISP name, and whether the address is IPv4 or IPv6. 3: For a terminal answer, run curl ifconfig.me (Linux, macOS, Windows PowerShell with curl installed). It prints the address as plain text and nothing else. 4: To capture both versions, run curl -4 ifconfig.me and curl -6 ifconfig.me. The second only works if your network has IPv6 enabled.
Failures here are almost always boring. A corporate laptop on a VPN reports the VPN exit address, not your home line, so log out and reload before checking. A phone on cellular data reports the carrier's gateway, which can sit hundreds of miles from where you're standing. And if the terminal command returns nothing, curl isn't installed or your firewall is blocking outbound port 443 — the browser check is the fallback.
Router Settings Show a Different Number Than Websites Do
Your router's status page and a lookup site can display two different addresses, and both are correct. The router holds a wide area network (WAN) address it received from your provider, while a checker sees the address your traffic actually exits from. In most homes these are identical. Anywhere carrier-grade NAT is involved, they aren't.
Carrier-grade NAT, often written CGNAT, lets an ISP put many customers behind one shared public address to stretch its supply of IPv4 addresses. According to the Number Resource Organization, the body that manages the global pool, the last blocks of IPv4 were handed out in 2011, which is why sharing became standard. If your router's WAN address falls in the reserved range 100.64.0.0/10, you're behind CGNAT. The website checker shows your carrier's shared address; the router shows your private slice of it.
That matters for anyone who wants to reach a home server, security camera, or game console from outside. Under CGNAT, port forwarding on your router does nothing, because the public address isn't yours to forward through. The practical fixes are asking the ISP for a static public address (often a paid add-on) or using a tunnel service that dials outward from your network.
To see your router's own view, log in at 192.168.1.1 or 192.168.0.1 and look for a Status or WAN page. Default credentials are printed on a sticker on the router. Change the admin password if it's still the factory default, because that login is reachable from every device on your network.
Public, Private, and the 100.64 Trap: Telling the Three Apart
Three kinds of address get confused constantly, and the ranges tell them apart cleanly. A public address is globally unique and routable — the internet as a whole knows where to send traffic for it. A private address comes from blocks reserved by IANA, the body that coordinates IP addressing, for local use only: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. Your laptop probably has one of those and your router translates it.
| Address type | Typical range | Assigned by | Visible to websites |
|---|---|---|---|
| Public IPv4 | Anything routable, e.g. 203.0.113.5 | ISP | Yes |
| Private IPv4 | 10.x.x.x, 172.16–31.x.x, 192.168.x.x | Your router | No |
| Shared CGNAT | 100.64.0.0 to 100.127.255.255 | ISP | Only the carrier's address |
| Public IPv6 | 2000::/3 block | ISP | Yes, if IPv6 is live |
The third row is the one people misdiagnose. An address starting with 100.64 through 100.127 is not private in the same sense as 192.168 — it's the carrier's shared space, so port forwarding still won't work. People who assume "not 192.168 means public" waste hours on this. Check the second octet, not just the first.
IPv6 changes the shape of the answer. An IPv6 address is 128 bits written as eight groups of four hex digits, and it's common for your router to hand each device its own globally routable IPv6 address. In that case your phone and laptop don't share one public address the way they do under IPv4. Most consumer ISPs in North America and Europe have IPv6 enabled now, but coverage is uneven, and a device only uses it when both the network and the destination support it.
Why Your Public IP Changes, and How Often
Most home connections get a dynamic address that the ISP can rotate, while business plans and some fiber providers hand out static ones that don't move. The rotation has no fixed schedule — some providers hold the same address for months, others reassign after every router reboot or after a lease measured in hours or days. Dynamic Host Configuration Protocol, or DHCP, governs the lease, and it's the ISP's server that decides when to renew it.
The common triggers are a router power cycle, a modem swap, a change of plan, or the ISP rebalancing its pool. If you unplug your router for a few minutes, you may come back to a different address — or the same one, because many providers tie the lease to the hardware address of your modem. For a stable home address, ask the ISP whether a static option exists; it's usually a line item on business tiers and occasionally available on residential fiber.
Do you actually need a fixed address? Only if something outside must reach something inside — a home server, a remote desktop, a camera, a game host. For ordinary browsing, a changing address is a privacy feature, not a nuisance. It makes long-term tracking of a single connection harder.
There's a cost angle worth knowing. A static IPv4 address from a residential ISP is frequently priced as a small monthly add-on rather than a one-time fee, so check the provider's own rate card before assuming it's free. And if the ISP runs CGNAT, a static address may be the only way out of the shared pool.
What a Lookup Site Can See About You
A lookup reveals more than the address itself. The responding server sees your IP, and from that it can infer your approximate city, your ISP's name, and whether you're on a hosting provider or a residential line. Sites like ipinfo.io and MaxMind's demo page display this for free. The address itself doesn't contain your name or street, but it's tied to a subscriber record at the ISP.
Accuracy varies. IP geolocation databases typically place an address at the city or regional level, and the result can be wrong by a wide margin. Mobile carrier addresses are the worst offenders, because a phone's traffic can exit through a gateway in another state. Don't treat the city shown as your location; treat it as the location of the network equipment that answered.
The misuse worth naming is treating an IP address as a person. An IP identifies a connection at a moment in time, and behind one address there may be a household of five, an office of fifty, or a coffee shop's entire customer base. Courts and ISPs can map an address to an account with a subpoena and a timestamp, but a lookup site cannot, and neither can a stranger on a forum.
What you can do with the information: check whether a site is seeing a VPN exit instead of your home line, confirm your ISP isn't routing you through another country, and spot a misconfigured proxy. Run a lookup with the VPN on and off and compare the two results. If they match, the VPN isn't carrying your traffic.
VPNs, Proxies, and What Your Address Exposes
A VPN replaces your visible public address with the address of its exit server, which is the entire point for most users. When you connect, the lookup site reports the VPN's server location, not your home city. Disconnect and the address switches back. That behavior is also the simplest test of whether a VPN is working at all: check the address, connect, check again, and confirm the number changed.
Proxies do the same thing for a single application, and Tor routes traffic through several relays so the exit address belongs to a volunteer node. None of these hide you from the destination site entirely — the site still logs whatever address reaches it, plus your browser fingerprint and cookies. An address swap raises the effort required to link sessions; it doesn't make you anonymous.
The failure case people hit is a VPN that leaks. If the tunnel drops and the client doesn't kill the connection, traffic falls back to your real address, and a lookup during that window shows it. Many clients include a kill switch for exactly this reason. A DNS leak test, offered by several VPN review sites, checks whether your domain lookups are exiting outside the tunnel.
Is hiding the address worth it? For public Wi-Fi, a VPN protects against local snooping more than it protects your identity. For avoiding geographic restrictions, it works until the service blocks known VPN ranges — a growing practice among streaming platforms. For a home connection, the address changes on its own often enough that hiding it matters less than people assume.
IPv6, Mobile Networks, and the Addresses You Don't Control
Your phone on cellular data has a public address you never see and can't manage. Carriers run their mobile traffic through CGNAT and assign addresses from their own pools, so the address a website sees belongs to the carrier, not to you. It can change between towers or even between sessions. Checking it is easy — load a lookup site in the browser — but changing it is not something a customer can do.
IPv6 is where the address picture gets more complicated. According to the Internet Society, IPv6 adoption has grown steadily for years but still trails IPv4 in most regions, and dual-stack networks use whichever protocol the destination prefers. On a dual-stack home network, a lookup site may show an IPv6 address while your router's status page shows an IPv4 WAN address. Both are live; they're just different paths to the same connection.
The practical consequence: if a service only accepts IPv4, you'll appear under your IPv4 address even on an IPv6-enabled line. If you're troubleshooting a connection issue, check both. Run curl -4 ifconfig.me and curl -6 ifconfig.me and compare. A failure on the IPv6 call usually means the network isn't announcing a prefix, not that anything is broken.
For remote access, IPv6 actually removes the CGNAT problem: each device can have its own globally reachable address, so port forwarding becomes unnecessary. The catch is that ISP support varies, firewall defaults on the router often block inbound IPv6 by default, and the address can change when the prefix is re-leased.
The Address Doesn't Identify You, but the Logs Do
An IP address alone identifies a connection, not a person, and the distinction matters legally and practically. Websites log addresses alongside timestamps, and an ISP keeps records that link an address to an account for a period set by local regulation. In the United States, there's no single federal retention rule; in the European Union, the General Data Protection Regulation treats IP addresses as personal data, which is why lookups and retention practices differ by region.
That's the boundary to respect. A stranger who sees your address on a forum can guess your city and ISP, and not much else. An organization with legal process can go further. If you're worried about being tied to an address, the honest answer is that changing the address is easy and changing the logs is not — the destination site still has a record of the session, whatever address it saw.
If you run a service and see unfamiliar addresses in your logs, don't confront anyone based on an IP lookup. Treat it as a lead, not evidence. Confirm through the provider's abuse contact, which is published in the WHOIS record for the address range, and preserve timestamps.
One more misconception: a "public IP" is not the same as a "public IP address for a website." When people ask what their public IP is, they mean the address of their own connection, not a server's. A website's address belongs to its hosting provider and may change without notice. The two get mixed up in hosting forums constantly.
FAQ
Can two devices at home have different public IP addresses?
Usually no, but IPv6 makes it possible. Under IPv4, your router shares one public address across every device through network address translation, so a phone and a laptop report the same number. With IPv6 enabled, the router can assign each device its own globally routable address, and a lookup from each device may show a different value. Run the check on both to see which situation you're in.
Does restarting my router give me a new public IP?
Sometimes, not reliably. Many ISPs tie the lease to your modem's hardware address, so a reboot returns the same address. Others reassign from the pool on reconnect, and a few hold the address for months regardless. The only guaranteed way to change it is a static-address plan or a VPN, which changes what sites see without touching your line.
Why does my IP show a city I've never visited?
Because geolocation maps the address to the network equipment that answered, not to you. Mobile carriers route traffic through regional gateways, and VPNs exit wherever their servers sit. A lookup placing you in another city is normal and doesn't indicate a problem. Treat the result as a rough region, and confirm the ISP name if you need a sanity check.
Is my public IP the same as my router's IP address?
Only when no carrier-grade NAT is in the path. On a standard home connection, the router's WAN address and the lookup result match. If your router shows an address in the 100.64.0.0 to 100.127.255.255 range, you're behind carrier-grade NAT and the public address belongs to the ISP, shared with other customers.
Can someone find my home address from my IP?
Not from the IP alone. A lookup gives city-level location and the ISP's name at best, and that location is often wrong. Tying an address to a street address requires the ISP's subscriber records and legal process, which is why abuse complaints go through the provider rather than a public lookup tool.
Do I need a VPN to hide my public IP on public Wi-Fi?
A VPN helps against local snooping on shared networks more than it hides your identity. It swaps the visible address for the VPN server's, so the café's network and the sites you visit see the tunnel endpoint instead of your device's exit address. It does not make you anonymous to the destination site, which still logs the session.
What's the difference between a static and dynamic public IP?
A static address stays fixed to your line until the plan changes; a dynamic one can be reassigned by the ISP at lease renewal or reconnect. Static addresses are standard on business plans and optional on some residential fiber tiers. Remote access to a home server is the main reason to want one, and CGNAT makes it a requirement rather than a preference.
Why do some sites show an IPv6 address and others an IPv4 one?
Dual-stack networks use whichever protocol the destination supports. A site that accepts IPv6 sees your IPv6 address; one that only handles IPv4 sees the older address. Both belong to your connection, and a lookup from the same device can return either depending on which site you use. Comparing curl -4 and curl -6 output shows both at once.