What is my IPv4 address, and why do I have an IPv6 address too?
Your IPv4 address is the four-number address, like 203.0.113.42, that websites see when you connect over the older version of the internet protocol. Many connections now have an IPv6 address too, which looks completely different. Here's how to find your IPv4 address, why you may have two addresses, and the difference between the address the world sees and the one your router gives your device.
Quick answer
What it is: your IPv4 address is the four-number address, like 203.0.113.42, that identifies your internet connection to websites.
Why do I have IPv6 too? The world ran out of IPv4 addresses, so newer IPv6 runs alongside it. Having both is normal.
What to do now:
- Open What is my IP to see your public IPv4 and IPv6 addresses.
- Need your device's own address on your home network? See finding your local IPv4 address.
How to find your public IPv4 address
Open our What is my IP tool. It shows your IPv4 and IPv6 addresses separately, because a website sees only one of them on each visit, and it may not be the one you expect. If the IPv6 box says not detected, your provider or network simply doesn't offer IPv6 yet. That's common and nothing to fix.
This is your public address: the one every website you visit sees. Everyone sharing your home Wi-Fi usually shows the same public IPv4 address, because your router shares one address between all your devices.
What an IPv4 address looks like
An IPv4 address is four numbers from 0 to 255, separated by dots, such as 198.51.100.7. Behind the scenes it's a 32-bit number, which allows about 4.3 billion different addresses. That sounded like plenty in the early 1980s, when IPv4 was designed. It isn't enough for a world with several devices per person.
An IPv6 address is much longer: eight groups of hexadecimal digits separated by colons, such as 2001:db8:4a:0:0:0:0:7, usually shortened to 2001:db8:4a::7, where the :: stands for a run of zeros. It's a 128-bit number, which gives so many addresses that running out isn't a concern.
Why you have both IPv4 and IPv6
The free supply of IPv4 addresses ran out years ago, and IPv6 was created to replace it. But the switch can't happen overnight: plenty of websites, networks and older devices still only speak IPv4. So most modern connections are dual-stack, running both at once.
When you visit a site that supports both, your browser normally tries IPv6 first and falls back to IPv4 quickly if that's slow or fails, a method known as "Happy Eyeballs". Sites that only support IPv4 see your IPv4 address. That's why one website may see one address and another site a different one, and why our tool shows both.
Your IPv6 address can also change more often than you'd expect. Many devices use temporary "privacy" IPv6 addresses that rotate regularly, so you're harder to track across sites by address alone.
Public vs local IPv4 addresses
Your router gives each device on your home network its own private IPv4 address, and translates between those and your single public address. This is called NAT (network address translation), and it's a big part of how the world has kept going on IPv4. Private addresses are only meaningful inside your network, and they always come from these ranges:
192.168.0.0to192.168.255.255(the most common at home)10.0.0.0to10.255.255.255172.16.0.0to172.31.255.255
To see your device's local IPv4 address:
- Windows: open Command Prompt, type
ipconfigand look for "IPv4 Address" under your Wi-Fi or Ethernet adapter. - Mac: open System Settings → Wi-Fi, click Details next to your network and choose TCP/IP. Or run
ipconfig getifaddr en0in Terminal. - iPhone and iPad: open Settings → Wi-Fi and tap the ⓘ next to your network.
- Android: open your Wi-Fi network's details in Settings. The address is often under Advanced; the exact menu names vary by phone maker.
If a website or app asks for "your IP address", it almost always means the public one, not the 192.168.x.x one.
When your public IPv4 is shared with other customers
Some internet providers, especially mobile networks, don't give each customer their own public IPv4 address. They share one between many customers using carrier-grade NAT. A sign of this is your router's own internet address starting with 100.64 to 100.127, or simply not matching what our tool shows. It doesn't matter for normal browsing, but it can stop port forwarding, game hosting or remote access from working, and it's one reason you may hit "429 Too Many Requests" limits you didn't cause. Asking your provider for a public IPv4 address, or using IPv6, usually solves it.
What your IP address reveals, and how to hide it
Your public IP address shows websites which provider you use and roughly where you are, often your city or region, though not your street address. A VPN replaces it with the address of the VPN server. Make sure your VPN covers IPv6 as well as IPv4: if it only tunnels IPv4, sites that support IPv6 may still see your real IPv6 address. Our VPN leak test checks this, and our guide to WebRTC leaks covers another common way a real address slips out.
Disclosure: some links on this page are affiliate links. If you buy through them, CheckIfSiteDown may earn a commission at no extra cost to you. It never affects our status results, and we only recommend services with a strong reputation. Learn more.
VPNs that protect both IPv4 and IPv6
A large server network in dozens of countries, consistently fast speeds and an independently audited no-logs policy.
- Servers in many countries to get around regional blocks
- Fast, stable connections
- Independently audited no-logs policy
From the Swiss makers of Proton Mail: open-source apps, a strong privacy record, and a free plan to try it first.
- Based in privacy-friendly Switzerland
- Open-source, audited apps
- Free plan available
Prices and features change — check the provider's site for current offers. Check its refund terms before you buy.
If you run a website
Your site can be reachable over IPv4, IPv6 or both. An A record in DNS points to its IPv4 address and an AAAA record to its IPv6 address; check yours with our DNS lookup. If you publish an AAAA record, make sure your server really listens on IPv6. Otherwise visitors whose connections prefer IPv6 can see errors such as ERR_CONNECTION_REFUSED while everyone on IPv4 gets in.
IPv4 vs IPv6 at a glance
| IPv4 | IPv6 | |
|---|---|---|
| Looks like | 203.0.113.42 | 2001:db8:4a::7 |
| Size | 32 bits, about 4.3 billion addresses | 128 bits, far more than will ever be needed |
| At home | One public address shared by your devices through NAT | Usually a public address for each device |
| Who supports it | Practically every website and network | Many, but not all, providers and websites |