What is my IPv4 address? Public vs private IPs and IPv6 explained
Where to find your IPv4 address, why your computer shows a different one, and how IPv6 fits in.
Your public IPv4 address is the one websites see, shown at the top of our What is my IP page. It looks like four numbers from 0 to 255 separated by dots, such as 203.0.113.7. The address in your computer’s network settings is usually a private one (such as 192.168.1.20) that only your home or office network uses.
Public and private addresses
There are only about 4.3 billion IPv4 addresses, far fewer than devices. So homes and offices use private ranges inside (10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16), and the router translates them to one public address on the way out. That translation is NAT.
Your public IPv4 address is the one that matters for allow-lists, remote access, game servers and abuse reports. It belongs to your internet provider, which is why a lookup names the provider rather than you.
CGNAT: when even your router has a private address
Many mobile and some home providers put whole neighbourhoods behind one public address, called carrier-grade NAT (CGNAT). If your router’s internet address starts with 100.64 to 100.127, you are behind it. Incoming connections and port forwarding won’t work unless your provider gives you a public address, or you use IPv6.
IPv4 and IPv6 side by side
- IPv4: 32 bits, written as four numbers, such as 203.0.113.7.
- IPv6: 128 bits, written in hexadecimal groups, such as 2001:db8::7. There are enough for every device to have its own.
- Many connections have both. Websites that support IPv6 usually see that one; others see IPv4.
- Your IPv6 address can change often on purpose (privacy addresses), while IPv4 usually changes only when the router reconnects.
Questions people ask
Sources and further reading
Written by the middle.network team, who build and run these tools. Last checked 2026-11-21.