IP Subnet Calculator
This calculator returns a variety of information regarding Internet Protocol version 4 (IPv4) and IPv6 subnets including possible network addresses, usable host ranges, subnet mask, and IP class, among others.
IPv4 Subnet Calculator
|Usable Host IP Range:||172.31.0.1 - 172.31.15.254|
|Total Number of Hosts:||4,096|
|Number of Usable Hosts:||4,094|
|Binary Subnet Mask:||11111111.11111111.11110000.00000000|
|IPv4 Mapped Address:||::ffff:ac1f.00|
All 16 of the Possible /20 Networks for 172.31.*.*
|Network Address||Usable Host Range||Broadcast Address:|
|172.31.0.0||172.31.0.1 - 172.31.15.254||172.31.15.255|
|172.31.16.0||172.31.16.1 - 172.31.31.254||172.31.31.255|
|172.31.32.0||172.31.32.1 - 172.31.47.254||172.31.47.255|
|172.31.48.0||172.31.48.1 - 172.31.63.254||172.31.63.255|
|172.31.64.0||172.31.64.1 - 172.31.79.254||172.31.79.255|
|172.31.80.0||172.31.80.1 - 172.31.95.254||172.31.95.255|
|172.31.96.0||172.31.96.1 - 172.31.111.254||172.31.111.255|
|172.31.112.0||172.31.112.1 - 172.31.127.254||172.31.127.255|
|172.31.128.0||172.31.128.1 - 172.31.143.254||172.31.143.255|
|172.31.144.0||172.31.144.1 - 172.31.159.254||172.31.159.255|
|172.31.160.0||172.31.160.1 - 172.31.175.254||172.31.175.255|
|172.31.176.0||172.31.176.1 - 172.31.191.254||172.31.191.255|
|172.31.192.0||172.31.192.1 - 172.31.207.254||172.31.207.255|
|172.31.208.0||172.31.208.1 - 172.31.223.254||172.31.223.255|
|172.31.224.0||172.31.224.1 - 172.31.239.254||172.31.239.255|
|172.31.240.0||172.31.240.1 - 172.31.255.254||172.31.255.255|
IPv6 Subnet Calculator
A subnet is a division of an IP network (internet protocol suite), where an IP network is a set of communications protocols used on the Internet and other similar networks. It is commonly known as TCP/IP (Transmission Control Protocol/Internet Protocol).
The act of dividing a network into at least two separate networks is called subnetting, and routers are devices that allow traffic exchange between subnetworks, serving as a physical boundary. IPv4 is the most common network addressing architecture used, though the use of IPv6 has been growing since 2006.
An IP address is comprised of a network number (routing prefix) and a rest field (host identifier). A rest field is an identifier that is specific to a given host or network interface. A routing prefix is often expressed using Classless Inter-Domain Routing (CIDR) notation for both IPv4 and IPv6. CIDR is a method used to create unique identifiers for networks, as well as individual devices. For IPv4, networks can also be characterized using a subnet mask, which is sometimes expressed in dot-decimal notation, as shown in the "Subnet" field in the calculator. All hosts on a subnetwork have the same network prefix, unlike the host identifier, which is a unique local identification. In IPv4, these subnet masks are used to differentiate the network number and host identifier. In IPv6, the network prefix performs a similar function as the subnet mask in IPv4, with the prefix length representing the number of bits in the address.
Prior to the introduction of CIDR, IPv4 network prefixes could be directly obtained from the IP address based on the class (A, B, or C, which vary based on the range of IP addresses they include) of the address and the network mask. Since the introduction of CIDRs, however, assigning an IP address to a network interface requires both an address and its network mask.
Below is a table providing typical subnets for IPv4.
|Prefix size||Network mask||Usable hosts per subnet|