Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Difference Between IPv4 and IPv6

nounalso internet protocol version 4 vs 6, IP address versions

In one line

IPv4 uses a 32-bit address format offering about 4.3 billion addresses and is now largely exhausted, while IPv6 uses a 128-bit format offering roughly 340 undecillion addresses to accommodate continued Internet growth.

IPv4 (Internet Protocol version 4) and IPv6 (Internet Protocol version 6) are two versions of the addressing system that identifies every device connected to the Internet. IPv4, introduced in 1983 and still the most widely deployed version, uses a 32-bit address format that allows for approximately 4.3 billion unique addresses, a number that seemed inexhaustible decades ago but has since been effectively exhausted by the explosive growth of Internet-connected devices. IPv6, finalized in 1998 and gradually being adopted worldwide, uses a vastly larger 128-bit address format, providing an almost incomprehensibly large number of possible addresses, roughly 340 undecillion, designed to accommodate the continued growth of the Internet for the foreseeable future.

AspectIPv4IPv6
Address length32-bit128-bit
Total addresses~4.3 billion~340 undecillion
Format example192.168.1.12001:0db8:85a3::8a2e:0370:7334
NotationDotted decimal, 4 groupsHexadecimal, 8 groups, colon-separated
Year introduced19831998

How IPv4 Works and Why It Ran Out

IPv4 addresses are written as four numbers separated by periods (dotted decimal notation), such as 192.168.1.1, where each of the four numbers represents eight bits (an “octet”) and can range from 0 to 255. This 32-bit structure yields a theoretical maximum of 4,294,967,296 unique addresses. When IPv4 was standardized in 1981 and deployed in 1983 as part of the Internet’s foundational TCP/IP protocol suite, this number seemed vast: the Internet at the time connected a small number of research institutions and government agencies, and no one anticipated that within a few decades billions of personal computers, smartphones, and now a growing universe of Internet-connected devices such as smart thermostats, security cameras, and industrial sensors would all require unique addresses.

By the early 2010s, the pool of available IPv4 addresses had become critically depleted. The Internet Assigned Numbers Authority (IANA), which allocates large address blocks to regional registries, distributed its last blocks in February 2011. Regional registries subsequently exhausted their own supplies over the following years. The industry managed this scarcity through several workaround techniques, most importantly Network Address Translation (NAT), which allows many devices on a private network, a home or office, for example, to share a single public IPv4 address by using distinct private addresses internally and translating them at the network’s edge. NAT delayed the crisis considerably but introduced its own complications for certain applications and did not solve the underlying scarcity problem.

How IPv6 Solves the Scarcity Problem

IPv6 was developed by the Internet Engineering Task Force specifically to resolve IPv4’s address exhaustion, with its core specification finalized in 1998. Rather than the 32 bits used by IPv4, IPv6 addresses use 128 bits, written as eight groups of four hexadecimal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334 (often abbreviated by omitting leading zeros and collapsing consecutive zero groups with a double colon). This vastly expanded address space, approximately 340 undecillion addresses (340 followed by 36 zeros), is large enough that every device humanity could conceivably connect to the Internet for the foreseeable future, and many devices many times over, could each receive its own unique, permanent address, eliminating the need for address-sharing workarounds like NAT.

Beyond simply providing more addresses, IPv6 includes several technical improvements over IPv4: a simplified header format designed for more efficient processing by routers, built-in support for address auto-configuration that allows devices to generate their own addresses without a separate configuration server, and native support for IPsec, a security protocol, though IPsec has since also been made available for IPv4.

The Slow Transition

Despite IPv6 being finalized in 1998, adoption has proceeded gradually rather than as a rapid cutover, largely because IPv4 and IPv6 are not directly interoperable, a device or network using one cannot communicate natively with the other without a translation mechanism. This created a substantial coordination challenge: Internet service providers, hardware manufacturers, website operators, and end-user devices all needed to support IPv6 for the transition to proceed smoothly, and for many years the incentive to upgrade was weak as long as NAT-based workarounds kept IPv4 functional. Major technology companies and organizations, including Google, Facebook, and national network operators, have published IPv6 adoption statistics for years to track progress; as of the mid-2020s, global IPv6 adoption has grown substantially but remains well under full saturation, with adoption rates varying significantly by country and network operator. Most modern operating systems, routers, and mobile networks now support both protocols simultaneously, a strategy known as “dual stack,” which allows devices to use whichever protocol is available for a given connection during this extended transition period.

Practical Implications for Users

For most ordinary Internet users, the IPv4-to-IPv6 transition happens invisibly, handled automatically by their Internet service provider, router, and devices without requiring any action. However, the distinction matters more directly for network administrators, website operators, and anyone troubleshooting connectivity issues, since IPv6 addresses look dramatically different from IPv4 addresses, and certain network diagnostic tools, firewall configurations, and security considerations differ between the two. The continued, gradual nature of the transition also means that for the foreseeable future, functioning Internet infrastructure must support both protocols, since a meaningful portion of the Internet’s websites, devices, and networks still rely on IPv4, whether directly or through NAT-based address sharing.

Reading an IPv6 Address

IPv6’s notation can look intimidating at first glance compared to IPv4’s familiar dotted-decimal format, but a few conventions make it more manageable. A full IPv6 address contains eight groups of four hexadecimal digits, separated by colons, such as 2001:0db8:0000:0000:0000:ff00:0042:8329. Two shorthand rules are universally used to shorten these addresses: leading zeros within a group can be dropped (0db8 becomes db8), and one consecutive run of all-zero groups can be replaced with a double colon (::), used only once per address to avoid ambiguity. Applying both rules, the example address above simplifies to 2001:db8::ff00:42:8329, considerably more compact than the fully expanded form. Despite this shorthand, IPv6 addresses remain noticeably longer and less immediately memorable than IPv4 addresses, which is one practical tradeoff of the vastly larger address space; most users never need to type or remember these addresses directly, since domain names and the Domain Name System handle translation to and from numeric addresses automatically.

IPv6 and the Internet of Things

The push toward IPv6 has become increasingly urgent with the rise of the Internet of Things (IoT), the growing ecosystem of everyday objects, thermostats, light bulbs, refrigerators, industrial sensors, vehicles, and wearable devices, that connect to the Internet. Each of these devices, in principle, needs its own unique network address, and the sheer projected scale of IoT deployment, with estimates running into tens of billions of connected devices worldwide, makes IPv4’s already-exhausted address space entirely inadequate as a long-term foundation. IPv6’s enormous address space is specifically well-suited to this future, since it can assign a permanent, globally unique address to every conceivable device without resorting to the address-sharing workarounds that IPv4 networks depend on. For this reason, IPv6 adoption is often framed not just as a fix for a historical scarcity problem but as necessary infrastructure for the Internet’s continued expansion into physical objects and environments beyond traditional computers and phones.

Key facts

  • IPv4 was standardized in 1981 and deployed in 1983; IANA distributed its last available address blocks in February 2011.
  • IPv6 was finalized by the IETF in 1998 specifically to resolve IPv4 address exhaustion, using 128-bit addresses instead of 32-bit.
  • Network Address Translation (NAT) allowed many devices to share a single public IPv4 address, delaying but not solving the scarcity problem.
  • Most modern networks run 'dual stack,' supporting both IPv4 and IPv6 simultaneously during the ongoing, gradual transition.
Quick checkWhy has the transition from IPv4 to IPv6 taken so many years since IPv6 was finalized in 1998?Show answer

Because IPv4 and IPv6 are not natively interoperable, requiring coordinated upgrades across ISPs, hardware, and websites, and because NAT-based workarounds kept IPv4 functional long enough to weaken the urgency of switching.

Sources

  1. IETF RFC 791 (IPv4 specification); IETF RFC 8200 (IPv6 specification); IANA/regional Internet registry address allocation records; Google IPv6 adoption statistics

Editorially reviewed by Specialty Digest Editorial TeamLast reviewed November 30, 2026Researched and drafted with AI assistanceReport an issue