IP Addressing
Network, broadcast, mask and host range for an IPv4 address and prefix; size a block by required hosts; split a network into equal subnets.
Loading IP Addressing…
About this calculator
Subnet / CIDR
Works out the IPv4 block that an address belongs to for a given prefix length (CIDR notation such as 192.168.1.10/24): the network and broadcast addresses, the subnet and wildcard masks, the number of addresses and the range of host addresses. Two sizing modes answer the usual subnetting questions: the smallest block for a required number of hosts, and how to divide a network into a number of equal subnets that each hold a minimum number of hosts. A quick reference lists the private, shared, loopback, link-local, multicast and reserved ranges and the historical address classes. IPv4 only; IPv6 is not covered.
Sources: RFC 4632, "Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan" (BCP 122, August 2006); RFC 1122, "Requirements for Internet Hosts — Communication Layers" (October 1989); RFC 950, "Internet Standard Subnetting Procedure" (August 1985); RFC 3021, "Using 31-Bit Prefixes on IPv4 Point-to-Point Links" (December 2000); RFC 1878, "Variable Length Subnet Table For IPv4" (December 1995); IANA IPv4 Special-Purpose Address Registry; IANA IPv4 Multicast Address Space Registry; RFC 1918, "Address Allocation for Private Internets" (BCP 5, February 1996); RFC 6598, "IANA-Reserved IPv4 Prefix for Shared Address Space" (BCP 153, April 2012); RFC 3927, "Dynamic Configuration of IPv4 Link-Local Addresses" (May 2005); RFC 1112, "Host Extensions for IP Multicasting" (August 1989); RFC 5771, "IANA Guidelines for IPv4 Multicast Address Assignments" (BCP 51, March 2010); RFC 791, "Internet Protocol" (September 1981)
Open a calculator's Info for its formulas, how-to steps, worked examples and limitations.