The main difference is address size: IPv4 uses 32-bit addresses (about 4.3 billion possible addresses), while IPv6 uses 128-bit addresses (about 3.4 × 1038 possible addresses). Both carry internet traffic, and neither guarantees faster speeds or better privacy. You can check your public IP address to see which version your connection exposes.

IPv4 vs IPv6 at a glance

FeatureIPv4IPv6
Address size32 bit128 bit
Example203.0.113.252001:db8::25
DNS recordAAAAA
NATCommonNot required for address conservation
Automatic privacy/securityNoNo

The core difference

IPv4 uses 32-bit addresses. The original IPv4 specification defines an address as four octets, or 32 bits. RFC 791 is the original specification.

IPv6 uses 128-bit addresses. The current IPv6 specification expands the address size from 32 bits to 128 bits and simplifies parts of the base header. See RFC 8200.

IPv4 example

203.0.113.25

IPv4's limited address space helped drive widespread use of Network Address Translation (NAT), where many devices on a private network share a public address.

IPv6 example

2001:db8:85a3::8a2e:370:7334

IPv6 provides an enormous address space and was designed as the successor to IPv4. IPv6 addresses are commonly shortened by omitting leading zeros and compressing one consecutive run of zero groups with ::.

Does IPv6 make the internet faster?

Not automatically. IPv6 can produce a faster path in one network and a slower path in another because routing, peering, CDN selection, DNS and network configuration matter more than the version number alone. “IPv6 is faster” is therefore not a reliable general rule.

Is IPv6 automatically more secure?

No. IPv6 has modern protocol design and supports security-related extensions, but merely having an IPv6 address does not encrypt web traffic or make a device safe. HTTPS, firewall policy, software updates and correct network configuration still matter. Likewise, NAT in IPv4 should not be treated as a substitute for a firewall.

What is dual stack?

Many networks run IPv4 and IPv6 at the same time. This is called dual stack. A device can therefore have an IPv4 address and one or more IPv6 addresses simultaneously, and a browser may choose either protocol depending on the destination and network conditions.

Can I use IPv6 instead of IPv4?

Yes, when the network and destination support IPv6. An IPv6-only network may still need a translation service such as NAT64 with DNS64 to reach IPv4-only services. On a typical home network, keep both protocols enabled unless your network administrator recommends otherwise. Browsers and other clients may try both address families to establish a working connection, as described in RFC 8305 (Happy Eyeballs).

To check a website's advertised addresses, use the DNS Lookup tool to look up its A and AAAA records. An A record points to an IPv4 address; an AAAA record points to an IPv6 address. DNS records do not establish whether your own network can reach those addresses.

Why IPv6 matters for VPN testing

If a VPN only changes your IPv4 route while the device still has a usable public IPv6 route outside the tunnel, an IPv6-capable website may see that second address. That is why our VPN Leak Test attempts to show an additional IPv6 address. Dual-stack IPv4 and IPv6 alone do not prove a VPN leak; compare addresses and routes with and without the VPN.

How to check your IPv4 or IPv6 address

  1. Open CheckWhatIsMyIP.
  2. Look at the public address shown.
  3. Dots normally indicate IPv4; hexadecimal groups separated by colons indicate IPv6.
  4. If an additional IPv6 address is displayed, note it too. If you use a VPN, run the leak test to investigate whether both routes are protected.

A browser-based check observes the routes that successfully reach its test services; a missing IPv6 result does not prove your device has no IPv6 address. On a phone, you can also inspect the connected Wi-Fi network's local addresses using our iPhone IP address guide.

Bottom line

IPv6 solves address-space and protocol-design limitations of IPv4, but it is not a magic speed or privacy upgrade. For users, the most useful question is usually not “Which one is better?” but “Which protocol paths does my current network expose, and are they configured correctly?”