What is My IP?
Instantly detect your public IPv4 and IPv6 address, ISP, and approximate location. Find out what your IP reveals and how to protect your privacy.
Use What is My IP? in 4 Steps
What is an IP Address?
An IP address (Internet Protocol address) is a unique numerical label assigned to every device that connects to a network. It serves two purposes: identifying the host device and providing its location in the network so data can be routed to and from it correctly.
Your public IP address is what websites, servers, and online services see when you connect to them. It is assigned by your Internet Service Provider (ISP) and is different from the private IP your router assigns to devices locally.
IPv4 vs IPv6 — Key Differences
There are two active versions of IP addressing in use today. Many modern connections support both simultaneously (dual-stack).
| Property | IPv4 | IPv6 |
|---|---|---|
| Address length | 32-bit | 128-bit |
| Example | 203.0.113.42 | 2001:db8::1 |
| Total addresses | ~4.3 billion | 340 undecillion |
| Notation | Dotted decimal | Colon-separated hex |
| NAT required? | Yes (address exhaustion) | No |
| Built-in security | Optional (IPsec) | Mandatory (IPsec) |
| Adoption (2025) | ~65% of traffic | ~45% of traffic |
IPv4 exhaustion reached IANA in 2011. Regional registries now operate on reclaimed or transferred blocks. IPv6 solves this permanently and is gradually replacing IPv4 across ISPs and content providers.
Public IP vs Private IP vs Loopback
Not all IP addresses are the same type. Understanding the difference is essential for troubleshooting connectivity issues.
| Type | Range (IPv4) | Assigned by | Internet routable |
|---|---|---|---|
| Public | All others | Your ISP | Yes |
| Private (Class A) | 10.0.0.0 – 10.255.255.255 | Router/admin | No |
| Private (Class B) | 172.16.0.0 – 172.31.255.255 | Router/admin | No |
| Private (Class C) | 192.168.0.0 – 192.168.255.255 | Router/admin | No |
| Loopback | 127.0.0.0 – 127.255.255.255 | OS (localhost) | No |
| Link-local | 169.254.0.0 – 169.254.255.255 | OS (APIPA) | No |
The IP address shown on this page is your public IP — the one assigned by your ISP to your router. All devices on the same Wi-Fi share this public IP when accessing the internet.
What Your IP Address Can Reveal
Your public IP leaks more information than most people realise — but less than many fear.
| Information | Accuracy | Source |
|---|---|---|
| Country | ~99% | ARIN, RIPE, APNIC allocation data |
| Region / state | ~80% | ISP allocation patterns |
| City | ~50–70% | ISP POP location (not your home) |
| ISP / carrier | ~99% | WHOIS / BGP data |
| ASN / network | ~99% | BGP routing tables |
| Street address | 0% | Not possible from IP alone |
| Device type | 0% | Not possible from IP alone |
| Browsing history | 0% | Not possible from IP alone |
Dynamic vs Static IP Addresses
Most residential internet connections use dynamic IP addresses — your ISP assigns one from a pool and it changes when your router restarts or your lease expires. Dynamic IPs are the default for home broadband.
A static IP address is permanently assigned. Businesses and server operators need static IPs for hosting services, remote access VPNs, and email deliverability (static IPs can be added to SPF records reliably).
How to Check Your IP from the Command Line
These commands return your public-facing IPv4 address directly from a terminal:
# Linux / macOS
curl -4 ifconfig.me
curl -4 api.ipify.org
# Using dig with OpenDNS (no HTTP needed)
dig +short myip.opendns.com @resolver1.opendns.com
# IPv6 address specifically
curl -6 ifconfig.me
# Windows PowerShell
(Invoke-WebRequest -Uri "https://api.ipify.org").Content
# Windows with nslookup
nslookup myip.opendns.com resolver1.opendns.comHow to Hide or Change Your IP Address
| Method | Privacy level | Speed impact | Best for |
|---|---|---|---|
| VPN | High | Minimal (good server) | Everyday privacy, geo-bypass |
| Tor | Very high | Significant (multi-hop) | Anonymity-critical use |
| Proxy | Low–medium | Variable | Single-site access bypass |
| Mobile data | Low | None | Quick IP/ISP change |
IP Address and Email Deliverability
If you send email from a server, your server's public IP is used to identify you to receiving mail servers. It is checked against DNS-based blocklists (DNSBLs), and your SPF record must list it as an authorised sender. A single blacklist listing on your sending IP can drop inbox placement significantly.
Use the IP Blacklist Check to verify your sending IP is clean, and the SPF Checker to confirm it is listed in your domain's SPF record.
Frequently Asked Questions
Related Tools
Get guides like this by email
DNS, email auth, and security playbooks delivered when they publish. No spam.