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:||10.2.2.1 - 10.2.2.30|
|Total Number of Hosts:||32|
|Number of Usable Hosts:||30|
|Binary Subnet Mask:||11111111.11111111.11111111.11100000|
|IPv4 Mapped Address:||::ffff:0a02.0200|
All 8 of the Possible /27 Networks for 10.2.2.*
|Network Address||Usable Host Range||Broadcast Address:|
|10.2.2.0||10.2.2.1 - 10.2.2.30||10.2.2.31|
|10.2.2.32||10.2.2.33 - 10.2.2.62||10.2.2.63|
|10.2.2.64||10.2.2.65 - 10.2.2.94||10.2.2.95|
|10.2.2.96||10.2.2.97 - 10.2.2.126||10.2.2.127|
|10.2.2.128||10.2.2.129 - 10.2.2.158||10.2.2.159|
|10.2.2.160||10.2.2.161 - 10.2.2.190||10.2.2.191|
|10.2.2.192||10.2.2.193 - 10.2.2.222||10.2.2.223|
|10.2.2.224||10.2.2.225 - 10.2.2.254||10.2.2.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|