On this page

What Is My IP Address? A Plain-English Guide to Public, Private, IPv4, and IPv6

You typed “what is my IP address” into a search bar, and you probably want two things: the number itself, and some idea of what it means. Most pages give you only one. Tool sites show a string of digits and stop. Explainer articles describe IP addresses in general but never show you yours.

This guide does both. Check your address first, then read on to learn why there are “public” and “private” IPs, why you might see a long IPv6 address instead of a familiar 203.0.113.42, why your IP can be shared with hundreds of strangers, and what someone can (and can’t) learn from it.

What Is My IP Address Right Now?

The address websites see when you visit them is your public IP address. The quickest way to find it is to ask a server that echoes it back.

Try it yourself: What Is My IP — see your public IP address plus its country, city, ISP, ASN, and timezone, with an approximate map location. Your IP is not logged or stored.

If you prefer the command line, these all print your public IP:

# remove.sh API (JSON response; the "query" field is your IP)
curl -s https://api.remove.sh/tools/what-is-my-ip | jq -r .query

# Force IPv4 or IPv6 to see each address separately
curl -4 ifconfig.me
curl -6 ifconfig.me

# Ask a DNS server instead of a web server
dig +short myip.opendns.com @resolver1.opendns.com

The DNS trick and other command-line options are collected in nixCraft’s guide to finding your public IP on Linux.

Now, what is that number?

What an IP Address Means (in One Analogy)

An IP (Internet Protocol) address is a return address for data. Every time your browser requests a page, the request carries your IP so the server knows where to send the reply, much like the return address on an envelope.

There is a twist: most of your devices have two kinds of address. Your laptop has a private address inside your home network, and your whole household shares a public address that the rest of the internet sees. Think of an office building. The building has one street address (public IP), and each desk has an internal extension number (private IP). Mail from outside arrives at the street address, and the front desk routes it to the right person.

That “front desk” is your router, and the routing trick is called NAT (Network Address Translation).

Public vs Private IP Addresses

The difference between a public and a private IP comes down to who can reach it.

Public IPPrivate IP
Who assigns itYour ISP (from blocks handed out by regional registries)Your router, usually via DHCP
Who can see itEvery website and service you connect toOnly devices on your local network
Unique?Globally unique (unless shared via CGNAT, see below)Reused in millions of homes
Example203.0.113.42192.168.1.23
Where to find itA tool like What Is My IPYour device’s network settings

The private IP ranges

Private addresses come from three blocks reserved by RFC 1918 in 1996. Routers on the public internet drop traffic to them, which is why they can be safely reused everywhere (ARIN keeps a reference list):

RangeCIDRNumber of addressesWhere you’ll see it
10.0.0.0 – 10.255.255.25510.0.0.0/816,777,216Corporate networks, some ISPs’ routers
172.16.0.0 – 172.31.255.255172.16.0.0/121,048,576Docker, cloud VPCs, offices
192.168.0.0 – 192.168.255.255192.168.0.0/1665,536Almost every home router

Two other ranges are worth recognizing. 127.0.0.1 is “localhost”, meaning your own machine talking to itself. An address starting with 169.254 usually means your device failed to get an address from the router (a DHCP problem), so it gave itself a link-local fallback.

If your computer’s settings show 192.168.1.23, that is not the address websites see. It’s your desk extension, not the building’s street address. That’s also why sharing a 192.168.x.x address is harmless: it is the same number millions of other people use.

How to find your private IP address

  • Windows: open Command Prompt and run ipconfig. Look for “IPv4 Address” under your active adapter.
  • macOS: System Settings → Network → your connection → Details. Or run ipconfig getifaddr en0 in Terminal (Wi-Fi is usually en0).
  • Linux: run ip -br addr for a compact list of interfaces and addresses.
  • iPhone: Settings → Wi-Fi → tap the (i) next to your network.
  • Android: Settings → Network & internet → Wi-Fi → tap your network (menu names vary by manufacturer).

IPv4 vs IPv6 Explained: Why You Might See Both

If your IP looks like 2a02:8071:5e1:4f00:9d3c:1a2b:3c4d:5e6f instead of four numbers separated by dots, you’re looking at an IPv6 address. Here’s IPv4 vs IPv6 explained in a single table:

IPv4IPv6
FormatFour numbers, 0–255, separated by dotsEight groups of hex digits, separated by colons
Example198.51.100.72001:db8:85a3::8a2e:370:7334
Address space2³² ≈ 4.3 billion2¹²⁸ ≈ 340 undecillion
Needs NAT?Usually, because addresses are scarceGenerally not; every device can have its own global address

Why IPv6 exists

The world simply ran out of IPv4 addresses. IANA, the body at the top of the address hierarchy, handed out its last free IPv4 blocks on 3 February 2011, and the regional registries ran dry in the years that followed. NAT and private ranges stretched IPv4 a long way, but IPv6 is the long-term fix.

Adoption is now mainstream. According to the Internet Society’s Pulse, the share of users reaching Google over IPv6 passed 50% for the first time on 28 March 2026 (50.10%), after months of hovering just below that line. It varies hugely by country: France (73%) and India (72%) are far ahead, while Spain (10%) and Egypt (4%) still run mostly on IPv4. You can follow the live trend on Google’s IPv6 statistics page.

Why you might have two “my IP” answers

Most modern connections are dual-stack: your device has an IPv4 address and an IPv6 address at the same time. When a site supports both, browsers race the two connections and usually prefer IPv6, an approach called “Happy Eyeballs” (ipcheck.ing explains it well). So one “what is my IP” site may show your IPv4 address, and another your IPv6 address. Both are correct. They are two doors into the same home.

Your IPv6 address may also change every day or so. Operating systems create temporary, randomized IPv6 addresses for outgoing connections so that you can’t be tracked by a fixed identifier, as described in RFC 8981. If you run ip -6 addr (Linux) or ipconfig (Windows), you’ll often see several IPv6 addresses: a stable one, one or more temporary ones, and one starting with fe80::, which is link-local and only valid on your network segment.

CGNAT: Why Your IP Might Be Shared

Here’s a surprise for many people: your “public” IP may not belong only to you.

Because IPv4 addresses are scarce, many ISPs (especially mobile carriers and newer fiber providers) put an extra layer of NAT on their side, called Carrier-Grade NAT (CGNAT). Your router gets an address from a special shared range, 100.64.0.0/10, set aside by RFC 6598 in 2012. The ISP then maps many customers onto one real public IP.

How to tell if you’re behind CGNAT

  1. Log in to your router (often 192.168.1.1 or 192.168.0.1) and find its WAN or Internet IP address.
  2. Check your public IP with What Is My IP.
  3. Compare:
    • They match: you have your own public IPv4 address.
    • The WAN IP starts with 100.64–100.127, or is a private range like 10.x: you’re behind CGNAT (ipcheck.ing has a detailed checklist).

Why it matters

CGNAT is invisible for browsing and streaming. It becomes a problem when someone needs to connect in to you: port forwarding for a game server, a self-hosted website, a home camera, or remote desktop. Those connections hit the ISP’s shared address and have nowhere to go. Common fixes are asking your ISP for a public IPv4 (sometimes paid), using IPv6 if your ISP supports it, or using a tunnel or relay service.

Shared IPs also explain why you sometimes see CAPTCHAs or “unusual traffic” warnings: someone else behind the same address may have triggered them.

What Your IP Address Reveals (and What It Doesn’t)

Fear-driven VPN ads would have you believe your IP is a key to your entire life. The truth is more modest.

What others can learn from your IP

  • Approximate location, usually country and region, often city. The IP Lookup tool shows exactly what a geolocation database says about any public IP.
  • Your ISP or network operator, for example a home broadband provider, a mobile carrier, a university, or a cloud host.
  • The ASN (Autonomous System Number), which identifies the network that routes your traffic. It’s a quick way to tell a residential connection from a data center or VPN.
  • Timezone, derived from the estimated location.

Try it yourself: IP Lookup — paste any public IPv4 or IPv6 address, such as one from a suspicious login alert, to see its country, city, ISP, and ASN.

What they can’t learn

  • Your home address or name. Geolocation databases are estimates built from registry records and network measurements. They often point to your ISP’s regional hub, which may be a different city entirely (why IP location is often wrong). Mobile IPs usually point to the carrier’s gateway, not your phone.
  • Your identity. Only your ISP knows which subscriber had a given IP at a given time, and it generally releases that only under legal process.
  • What’s on your devices. An IP is an address, not a key. Your router’s firewall and NAT block unsolicited incoming connections by default.

That said, an IP isn’t meaningless. Combined with cookies, logins, and browser fingerprints, it helps advertisers and trackers link your activity across sites. It’s also treated as personal data under privacy laws like the GDPR, which is why careful services avoid logging it at all.

A tip for developers: if you store visitor IPs for rate limiting or analytics, consider hashing them first. A Hash Generator is handy for testing. But remember that the IPv4 space is small enough to brute-force, so use a keyed hash (HMAC) or a secret salt that you rotate, not a plain SHA-256.

Why Your IP Address Changes

“My IP address changed — is something wrong?” Usually not. Most home and mobile connections have dynamic IPs:

  • DHCP leases expire. Your ISP assigns your router an address for a period of time and may hand out a different one when it renews or when the router reboots.
  • Switching networks. Moving from Wi-Fi to mobile data gives you a completely different public IP, from a different ISP.
  • VPNs and proxies. These replace your visible IP with the VPN server’s address, which is why the location may jump to another country.
  • IPv6 privacy addresses rotate by design, as described above.

A static IP never changes. ISPs usually reserve that for business plans or charge extra, and it’s mainly useful if you host services or need a fixed address for allowlisting.

Should You Hide Your IP?

For most people, most of the time, there’s no need to panic about your IP. But hiding it makes sense in some situations:

  • A VPN hides your IP from the sites you visit and from local Wi-Fi operators. The VPN provider sees everything instead, so you’re shifting trust, not removing it.
  • Tor spreads trust across several relays, at the cost of speed.
  • Apple’s iCloud Private Relay hides your IP from websites in Safari for iCloud+ subscribers.
  • Incognito/private browsing does not hide your IP. It only stops your browser saving local history and cookies.

After switching any of these on, re-check What Is My IP. If the ISP and location still show your home provider, your traffic isn’t going through the tunnel.

Frequently Asked Questions

Is my IP address private information?

Your public IP is visible to every site you visit, so it isn’t secret. It is, however, considered personal data under laws like the GDPR because it can be linked to you with other information. Your private IP (192.168.x.x and similar) is meaningless outside your network.

Can someone find my home from my IP address?

Not precisely. IP geolocation typically gets the city right at best, and often only the region. Linking an IP to a specific subscriber and street address requires the ISP’s records, which it generally releases only to law enforcement with legal process.

Why do I have two IP addresses, one IPv4 and one IPv6?

Your connection is dual-stack. Your device uses IPv6 when the site supports it and falls back to IPv4 otherwise. Different “what is my IP” sites can show either one, and both are yours.

Is 192.168.1.1 my IP address?

No. 192.168.1.1 is usually your router’s private address on your home network. Your device has its own private address (such as 192.168.1.23), and your public IP is something else entirely.

Why does my IP show the wrong city?

Geolocation databases map IP blocks to the location of the ISP’s equipment, not your device. VPNs, corporate networks, and mobile carriers often route traffic through a different city or country.

Does my IP change if I restart my router?

Often, yes, on dynamic connections, but not always: some ISPs hand back the same address for weeks. Behind CGNAT, your shared public IP may change independently of your router.

Check Yours Now

Your IP address is a return address for data. The public one is what websites see, and the private one only works inside your home. IPv4 and IPv6 may both be in play, and CGNAT may mean you share an address with your neighbors. It reveals your rough location and your ISP, not your name or front door.

So the next time you wonder “what is my IP address?”, open What Is My IP to see your public address and exactly what a website can infer from it. If you want to investigate a different address, such as a login you don’t recognize or a server you’re debugging, paste it into IP Lookup. Both are free and need no signup.