IPv4
Also known as: Internet Protocol version 4
The original 32-bit Internet Protocol address format, providing about 4.3 billion unique addresses in dotted-decimal notation like 192.0.2.1.
Last updated:
What is IPv4?
IPv4 (Internet Protocol version 4) is the fourth revision of the Internet Protocol and the first version to be widely deployed. Defined in RFC 791 in 1981, it uses 32-bit addresses, which allows for about 4.3 billion unique addresses. Addresses are written in dotted-decimal notation: four 8-bit numbers separated by dots, like 192.0.2.1. The same address is one 32-bit number, 3221225985; the IP address converter shows it in decimal, hex and binary.
How IPv4 addresses are structured
Each IPv4 address has two parts: a network portion and a host portion. The split is defined by a subnet mask or, more commonly today, by CIDR notation like 192.0.2.0/24. The network portion identifies the subnet, and the host portion identifies a device within that subnet; the subnet calculator shows where the split falls for any address and prefix. Routers use only the network portion to forward packets between networks.
Certain address blocks are reserved for special uses: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 for private networks; 127.0.0.0/8 for loopback; 169.254.0.0/16 for link-local auto-configuration; and 224.0.0.0/4 for multicast.
Address exhaustion and NAT
IANA allocated the last unreserved /8 blocks to the regional internet registries in February 2011, and APNIC, the Asia-Pacific registry, ran out of general IPv4 allocations shortly after. The practical workaround is Network Address Translation — a single public IPv4 address can front thousands of devices on a private network by rewriting addresses on the fly. The long-term fix is migration to IPv6, which provides 340 undecillion addresses.
To see who owns any IPv4 address and roughly where it is, use the IP address lookup.