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
Result
IP Address: | 192.168.102.0 |
Network Address: | 192.168.102.0 |
Usable Host IP Range: | 192.168.102.1 - 192.168.103.254 |
Broadcast Address: | 192.168.103.255 |
Total Number of Hosts: | 512 |
Number of Usable Hosts: | 510 |
Subnet Mask: | 255.255.254.0 |
Wildcard Mask: | 0.0.1.255 |
Binary Subnet Mask: | 11111111.11111111.11111110.00000000 |
IP Class: | B |
CIDR Notation: | /23 |
IP Type: | Private |
Short: | 192.168.102.0 /23 |
Binary ID: | 11000000101010000110011000000000 |
Integer ID: | 3232261632 |
Hex ID: | 0xc0a86600 |
in-addr.arpa: | 0.102.168.192.in-addr.arpa |
IPv4 Mapped Address: | ::ffff:c0a8.6600 |
6to4 Prefix: | 2002:c0a8.6600::/48 |
All 128 of the Possible /23 Networks for 192.168.*.*
Network Address | Usable Host Range | Broadcast Address: |
192.168.0.0 | 192.168.0.1 - 192.168.1.254 | 192.168.1.255 |
192.168.2.0 | 192.168.2.1 - 192.168.3.254 | 192.168.3.255 |
192.168.4.0 | 192.168.4.1 - 192.168.5.254 | 192.168.5.255 |
192.168.6.0 | 192.168.6.1 - 192.168.7.254 | 192.168.7.255 |
192.168.8.0 | 192.168.8.1 - 192.168.9.254 | 192.168.9.255 |
192.168.10.0 | 192.168.10.1 - 192.168.11.254 | 192.168.11.255 |
192.168.12.0 | 192.168.12.1 - 192.168.13.254 | 192.168.13.255 |
192.168.14.0 | 192.168.14.1 - 192.168.15.254 | 192.168.15.255 |
192.168.16.0 | 192.168.16.1 - 192.168.17.254 | 192.168.17.255 |
192.168.18.0 | 192.168.18.1 - 192.168.19.254 | 192.168.19.255 |
192.168.20.0 | 192.168.20.1 - 192.168.21.254 | 192.168.21.255 |
192.168.22.0 | 192.168.22.1 - 192.168.23.254 | 192.168.23.255 |
192.168.24.0 | 192.168.24.1 - 192.168.25.254 | 192.168.25.255 |
192.168.26.0 | 192.168.26.1 - 192.168.27.254 | 192.168.27.255 |
192.168.28.0 | 192.168.28.1 - 192.168.29.254 | 192.168.29.255 |
192.168.30.0 | 192.168.30.1 - 192.168.31.254 | 192.168.31.255 |
192.168.32.0 | 192.168.32.1 - 192.168.33.254 | 192.168.33.255 |
192.168.34.0 | 192.168.34.1 - 192.168.35.254 | 192.168.35.255 |
192.168.36.0 | 192.168.36.1 - 192.168.37.254 | 192.168.37.255 |
192.168.38.0 | 192.168.38.1 - 192.168.39.254 | 192.168.39.255 |
192.168.40.0 | 192.168.40.1 - 192.168.41.254 | 192.168.41.255 |
192.168.42.0 | 192.168.42.1 - 192.168.43.254 | 192.168.43.255 |
192.168.44.0 | 192.168.44.1 - 192.168.45.254 | 192.168.45.255 |
192.168.46.0 | 192.168.46.1 - 192.168.47.254 | 192.168.47.255 |
192.168.48.0 | 192.168.48.1 - 192.168.49.254 | 192.168.49.255 |
192.168.50.0 | 192.168.50.1 - 192.168.51.254 | 192.168.51.255 |
192.168.52.0 | 192.168.52.1 - 192.168.53.254 | 192.168.53.255 |
192.168.54.0 | 192.168.54.1 - 192.168.55.254 | 192.168.55.255 |
192.168.56.0 | 192.168.56.1 - 192.168.57.254 | 192.168.57.255 |
192.168.58.0 | 192.168.58.1 - 192.168.59.254 | 192.168.59.255 |
192.168.60.0 | 192.168.60.1 - 192.168.61.254 | 192.168.61.255 |
192.168.62.0 | 192.168.62.1 - 192.168.63.254 | 192.168.63.255 |
192.168.64.0 | 192.168.64.1 - 192.168.65.254 | 192.168.65.255 |
192.168.66.0 | 192.168.66.1 - 192.168.67.254 | 192.168.67.255 |
192.168.68.0 | 192.168.68.1 - 192.168.69.254 | 192.168.69.255 |
192.168.70.0 | 192.168.70.1 - 192.168.71.254 | 192.168.71.255 |
192.168.72.0 | 192.168.72.1 - 192.168.73.254 | 192.168.73.255 |
192.168.74.0 | 192.168.74.1 - 192.168.75.254 | 192.168.75.255 |
192.168.76.0 | 192.168.76.1 - 192.168.77.254 | 192.168.77.255 |
192.168.78.0 | 192.168.78.1 - 192.168.79.254 | 192.168.79.255 |
192.168.80.0 | 192.168.80.1 - 192.168.81.254 | 192.168.81.255 |
192.168.82.0 | 192.168.82.1 - 192.168.83.254 | 192.168.83.255 |
192.168.84.0 | 192.168.84.1 - 192.168.85.254 | 192.168.85.255 |
192.168.86.0 | 192.168.86.1 - 192.168.87.254 | 192.168.87.255 |
192.168.88.0 | 192.168.88.1 - 192.168.89.254 | 192.168.89.255 |
192.168.90.0 | 192.168.90.1 - 192.168.91.254 | 192.168.91.255 |
192.168.92.0 | 192.168.92.1 - 192.168.93.254 | 192.168.93.255 |
192.168.94.0 | 192.168.94.1 - 192.168.95.254 | 192.168.95.255 |
192.168.96.0 | 192.168.96.1 - 192.168.97.254 | 192.168.97.255 |
192.168.98.0 | 192.168.98.1 - 192.168.99.254 | 192.168.99.255 |
192.168.100.0 | 192.168.100.1 - 192.168.101.254 | 192.168.101.255 |
192.168.102.0 | 192.168.102.1 - 192.168.103.254 | 192.168.103.255 |
192.168.104.0 | 192.168.104.1 - 192.168.105.254 | 192.168.105.255 |
192.168.106.0 | 192.168.106.1 - 192.168.107.254 | 192.168.107.255 |
192.168.108.0 | 192.168.108.1 - 192.168.109.254 | 192.168.109.255 |
192.168.110.0 | 192.168.110.1 - 192.168.111.254 | 192.168.111.255 |
192.168.112.0 | 192.168.112.1 - 192.168.113.254 | 192.168.113.255 |
192.168.114.0 | 192.168.114.1 - 192.168.115.254 | 192.168.115.255 |
192.168.116.0 | 192.168.116.1 - 192.168.117.254 | 192.168.117.255 |
192.168.118.0 | 192.168.118.1 - 192.168.119.254 | 192.168.119.255 |
192.168.120.0 | 192.168.120.1 - 192.168.121.254 | 192.168.121.255 |
192.168.122.0 | 192.168.122.1 - 192.168.123.254 | 192.168.123.255 |
192.168.124.0 | 192.168.124.1 - 192.168.125.254 | 192.168.125.255 |
192.168.126.0 | 192.168.126.1 - 192.168.127.254 | 192.168.127.255 |
192.168.128.0 | 192.168.128.1 - 192.168.129.254 | 192.168.129.255 |
192.168.130.0 | 192.168.130.1 - 192.168.131.254 | 192.168.131.255 |
192.168.132.0 | 192.168.132.1 - 192.168.133.254 | 192.168.133.255 |
192.168.134.0 | 192.168.134.1 - 192.168.135.254 | 192.168.135.255 |
192.168.136.0 | 192.168.136.1 - 192.168.137.254 | 192.168.137.255 |
192.168.138.0 | 192.168.138.1 - 192.168.139.254 | 192.168.139.255 |
192.168.140.0 | 192.168.140.1 - 192.168.141.254 | 192.168.141.255 |
192.168.142.0 | 192.168.142.1 - 192.168.143.254 | 192.168.143.255 |
192.168.144.0 | 192.168.144.1 - 192.168.145.254 | 192.168.145.255 |
192.168.146.0 | 192.168.146.1 - 192.168.147.254 | 192.168.147.255 |
192.168.148.0 | 192.168.148.1 - 192.168.149.254 | 192.168.149.255 |
192.168.150.0 | 192.168.150.1 - 192.168.151.254 | 192.168.151.255 |
192.168.152.0 | 192.168.152.1 - 192.168.153.254 | 192.168.153.255 |
192.168.154.0 | 192.168.154.1 - 192.168.155.254 | 192.168.155.255 |
192.168.156.0 | 192.168.156.1 - 192.168.157.254 | 192.168.157.255 |
192.168.158.0 | 192.168.158.1 - 192.168.159.254 | 192.168.159.255 |
192.168.160.0 | 192.168.160.1 - 192.168.161.254 | 192.168.161.255 |
192.168.162.0 | 192.168.162.1 - 192.168.163.254 | 192.168.163.255 |
192.168.164.0 | 192.168.164.1 - 192.168.165.254 | 192.168.165.255 |
192.168.166.0 | 192.168.166.1 - 192.168.167.254 | 192.168.167.255 |
192.168.168.0 | 192.168.168.1 - 192.168.169.254 | 192.168.169.255 |
192.168.170.0 | 192.168.170.1 - 192.168.171.254 | 192.168.171.255 |
192.168.172.0 | 192.168.172.1 - 192.168.173.254 | 192.168.173.255 |
192.168.174.0 | 192.168.174.1 - 192.168.175.254 | 192.168.175.255 |
192.168.176.0 | 192.168.176.1 - 192.168.177.254 | 192.168.177.255 |
192.168.178.0 | 192.168.178.1 - 192.168.179.254 | 192.168.179.255 |
192.168.180.0 | 192.168.180.1 - 192.168.181.254 | 192.168.181.255 |
192.168.182.0 | 192.168.182.1 - 192.168.183.254 | 192.168.183.255 |
192.168.184.0 | 192.168.184.1 - 192.168.185.254 | 192.168.185.255 |
192.168.186.0 | 192.168.186.1 - 192.168.187.254 | 192.168.187.255 |
192.168.188.0 | 192.168.188.1 - 192.168.189.254 | 192.168.189.255 |
192.168.190.0 | 192.168.190.1 - 192.168.191.254 | 192.168.191.255 |
192.168.192.0 | 192.168.192.1 - 192.168.193.254 | 192.168.193.255 |
192.168.194.0 | 192.168.194.1 - 192.168.195.254 | 192.168.195.255 |
192.168.196.0 | 192.168.196.1 - 192.168.197.254 | 192.168.197.255 |
192.168.198.0 | 192.168.198.1 - 192.168.199.254 | 192.168.199.255 |
192.168.200.0 | 192.168.200.1 - 192.168.201.254 | 192.168.201.255 |
192.168.202.0 | 192.168.202.1 - 192.168.203.254 | 192.168.203.255 |
192.168.204.0 | 192.168.204.1 - 192.168.205.254 | 192.168.205.255 |
192.168.206.0 | 192.168.206.1 - 192.168.207.254 | 192.168.207.255 |
192.168.208.0 | 192.168.208.1 - 192.168.209.254 | 192.168.209.255 |
192.168.210.0 | 192.168.210.1 - 192.168.211.254 | 192.168.211.255 |
192.168.212.0 | 192.168.212.1 - 192.168.213.254 | 192.168.213.255 |
192.168.214.0 | 192.168.214.1 - 192.168.215.254 | 192.168.215.255 |
192.168.216.0 | 192.168.216.1 - 192.168.217.254 | 192.168.217.255 |
192.168.218.0 | 192.168.218.1 - 192.168.219.254 | 192.168.219.255 |
192.168.220.0 | 192.168.220.1 - 192.168.221.254 | 192.168.221.255 |
192.168.222.0 | 192.168.222.1 - 192.168.223.254 | 192.168.223.255 |
192.168.224.0 | 192.168.224.1 - 192.168.225.254 | 192.168.225.255 |
192.168.226.0 | 192.168.226.1 - 192.168.227.254 | 192.168.227.255 |
192.168.228.0 | 192.168.228.1 - 192.168.229.254 | 192.168.229.255 |
192.168.230.0 | 192.168.230.1 - 192.168.231.254 | 192.168.231.255 |
192.168.232.0 | 192.168.232.1 - 192.168.233.254 | 192.168.233.255 |
192.168.234.0 | 192.168.234.1 - 192.168.235.254 | 192.168.235.255 |
192.168.236.0 | 192.168.236.1 - 192.168.237.254 | 192.168.237.255 |
192.168.238.0 | 192.168.238.1 - 192.168.239.254 | 192.168.239.255 |
192.168.240.0 | 192.168.240.1 - 192.168.241.254 | 192.168.241.255 |
192.168.242.0 | 192.168.242.1 - 192.168.243.254 | 192.168.243.255 |
192.168.244.0 | 192.168.244.1 - 192.168.245.254 | 192.168.245.255 |
192.168.246.0 | 192.168.246.1 - 192.168.247.254 | 192.168.247.255 |
192.168.248.0 | 192.168.248.1 - 192.168.249.254 | 192.168.249.255 |
192.168.250.0 | 192.168.250.1 - 192.168.251.254 | 192.168.251.255 |
192.168.252.0 | 192.168.252.1 - 192.168.253.254 | 192.168.253.255 |
192.168.254.0 | 192.168.254.1 - 192.168.255.254 | 192.168.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 |
/1 | 128.0.0.0 | 2,147,483,646 |
/2 | 192.0.0.0 | 1,073,741,822 |
/3 | 224.0.0.0 | 536,870,910 |
/4 | 240.0.0.0 | 268,435,454 |
/5 | 248.0.0.0 | 134,217,726 |
/6 | 252.0.0.0 | 67,108,862 |
/7 | 254.0.0.0 | 33,554,430 |
Class A | ||
/8 | 255.0.0.0 | 16,777,214 |
/9 | 255.128.0.0 | 8,388,606 |
/10 | 255.192.0.0 | 4,194,302 |
/11 | 255.224.0.0 | 2,097,150 |
/12 | 255.240.0.0 | 1,048,574 |
/13 | 255.248.0.0 | 524,286 |
/14 | 255.252.0.0 | 262,142 |
/15 | 255.254.0.0 | 131,070 |
Class B | ||
/16 | 255.255.0.0 | 65,534 |
/17 | 255.255.128.0 | 32,766 |
/18 | 255.255.192.0 | 16,382 |
/19 | 255.255.224.0 | 8,190 |
/20 | 255.255.240.0 | 4,094 |
/21 | 255.255.248.0 | 2,046 |
/22 | 255.255.252.0 | 1,022 |
/23 | 255.255.254.0 | 510 |
Class C | ||
/24 | 255.255.255.0 | 254 |
/25 | 255.255.255.128 | 126 |
/26 | 255.255.255.192 | 62 |
/27 | 255.255.255.224 | 30 |
/28 | 255.255.255.240 | 14 |
/29 | 255.255.255.248 | 6 |
/30 | 255.255.255.252 | 2 |
/31 | 255.255.255.254 | 0 |
/32 | 255.255.255.255 | 0 |