Skip to content
XUtilHub

IPv4 vs IPv6: What's the Difference and Does It Matter?

XUtilHub Team ·

Every device on the internet needs an address. The original system, IPv4, simply ran out of them. IPv6 is its replacement, and you're probably already using it without knowing.

IPv4: running out since the 2010s

An IPv4 address looks like 203.0.113.45: four numbers from 0 to 255. That's 32 bits, giving about 4.3 billion possible addresses. With billions of phones, computers and smart devices, that isn't nearly enough. The global pool of new IPv4 addresses was exhausted in 2011, and regional registries have since run out too.

The internet survived thanks to NAT: your router shares one public IPv4 address among every device in your home, and mobile networks share one address among many customers (carrier-grade NAT).

IPv6: practically unlimited

An IPv6 address looks like 2001:db8:85a3::8a2e:370:7334: eight groups of hexadecimal numbers. It's 128 bits, giving about 340 undecillion (3.4 × 10³⁸) addresses, enough for every device for the foreseeable future.

Shortening rules: leading zeros in a group can be dropped, and one run of all-zero groups can be replaced with ::. So 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.

Comparison

IPv4IPv6
Length32 bits128 bits
Example192.0.2.12001:db8::1
AddressesAbout 4.3 billionAbout 3.4 × 10³⁸
NAT neededUsuallyNot needed
ConfigurationDHCP or manualAutomatic (SLAAC) or DHCPv6
HeaderVariable lengthSimpler, fixed length

Do you have IPv6?

Check What Is My IP. If it shows an address with colons, your connection supports IPv6. Many networks run both (dual stack), and your device picks whichever works best.

Adoption varies a lot by country and network. Google's statistics show that roughly 45–50% of its users worldwide reach it over IPv6, with mobile networks often leading the way.

What it means for you

At home: nothing to do. Your router and devices handle it.

For a website: add an AAAA record pointing to your server's IPv6 address alongside the A record. Check both with the DNS lookup tool.

For firewalls: rules written only for IPv4 don't protect IPv6. Make sure both are covered.

Subnets are different too

IPv4 networks are commonly /24 (256 addresses). In IPv6, a single home network is normally a /64, which contains 18 quintillion addresses on its own. For IPv4 subnet planning, use the subnet calculator.

Tools mentioned in this article

← All articles