IPv4 and IPv6 are the two versions of the protocol that assigns an address to every device on the internet. Here’s why both still exist, and how to tell which one your connection actually uses.

IPv4: the original format

Deployed in 1983, IPv4 encodes an address in 32 bits, e.g. 203.0.113.42, giving just over 4.3 billion possible addresses.

Why IPv4 became insufficient

As the number of connected devices exploded, 4.3 billion addresses turned out to be too few — IANA ran out of free IPv4 blocks back in 2011. Two mechanisms delayed the shortage: NAT, which lets a single public address be shared by many devices, and a secondary market for IPv4 address blocks.

IPv6: the long-term fix

Standardized in 1998, IPv6 encodes an address in 128 bits — roughly 340 undecillion addresses. An address is written as eight hexadecimal groups, e.g. 2001:db8:85a3::8a2e:370:7334.

“Dual-stack” mode

Most connections today handle IPv4 and IPv6 at the same time. That’s why our IP detector checks both separately.

How to tell which one you’re using

An online test that queries an IPv4-only service and an IPv6-only service separately tells you whether your connection is dual-stack.

Should I worry if I don’t have IPv6?

No. It simply means your provider hasn’t enabled it by default yet — it doesn’t affect your browsing.

Reading and writing an IPv6 address

An IPv6 address has 8 groups of 16 bits, written in hexadecimal and separated by colons. Two shortening rules (RFC 5952) apply: drop leading zeros in each group, and replace one run of all-zero groups with ::. So 2001:db8::1 stands for 2001:0db8:0000:0000:0000:0000:0000:0001.

The first 64 bits usually identify the network (the “prefix”, often written /64) and the last 64 the device. Providers typically delegate a /56 or /48 prefix to each customer — thousands of possible subnets per household.

IPv4 vs IPv6 at a glance

IPv4IPv6
Size32 bits128 bits
NotationDotted decimalHexadecimal, colons
StandardRFC 791 (1981)RFC 8200 (2017, from RFC 2460 of 1998)
Auto-configurationDHCPSLAAC or DHCPv6
NATAlmost always neededNot needed in principle
Loopback127.0.0.1::1
Private addresses10/8, 172.16/12, 192.168/16ULA fc00::/7

How far has IPv6 adoption gone?

Google continuously publishes the share of its users who reach it over IPv6 (google.com/ipv6), and national regulators and registries publish their own measurements. Adoption varies widely by country and is driven mostly by mobile networks and fibre providers. In practice IPv4 is still required to reach the whole internet, which is why dual-stack has become the norm.

In summary

IPv4 remains the most universally compatible; IPv6 solves the scarcity problem. To see which addresses your connection uses right now, go back to our tool.