# IP Subnet Calculator - Calculatorall.com

The IP subnet calculator allows you to calculate the subnets for your IP addresses. It works for both the IP V6 and IP V4 IP addresses and gives quite a few details along with the subnet mask for the desired IP address.

#### IPv4 Subnet Calculator

 Network Class Any   A   B   C Subnet 255.255.255.255 /32 255.255.255.254 /31 255.255.255.252 /30 255.255.255.248 /29 255.255.255.240 /28 255.255.255.224 /27 255.255.255.192 /26 255.255.255.128 /25) 255.255.255.0 /24 255.255.254.0 /23 255.255.252.0 /22 255.255.248.0 /21 255.255.240.0 /20 255.255.224.0 /19 255.255.192.0 /18 255.255.128.0 /17 255.255.0.0 /16 255.254.0.0 /15 255.252.0.0 /14 255.248.0.0 /13 255.240.0.0 /12 255.224.0.0 /11 255.192.0.0 /10 255.128.0.0 /9 255.0.0.0 /8 254.0.0.0 /7 252.0.0.0 /6 248.0.0.0 /5 240.0.0.0 /4 224.0.0.0 /3 192.0.0.0 /2 128.0.0.0 /1 0.0.0.0 /0 IP Address

What Is A Subnet?

Subnets are a way of dividing networks into several different networks. Traffic exchange between different subnets takes place with the help of routers that serve as boundaries for each subnet. Each of the connected devices is assigned a unique IP address within the subnet. IP addresses, basically, combine two different information sets. These include a routing prefix or network and host identifier or rest field.

Usually, CIDR notation is used for representing routing prefix that serves as first address for the subnet. After the routing prefix, there is a '/' and prefix's bit-length. For instance, 232.108.25.0/24 refers to a subnet which starts with subnet address 232.108.25.0 and the address specifies that network prefix can take 24 bits. As there are a total of 32 bits in IP V4 addresses, the 8 bits that are left behind are reserved to hosting addressing. When it comes to IP V6 we have 128 bits in total.

How This IP Subnet Calculator Works?

As mentioned earlier, the IP subnet calculator here works for calculating subnets for both the IP V6 and IP V4 addresses. The IP V6 subnet calculator requires you to enter the prefix length and the IP address to perform the calculation. As a result it gives you the full IP address, network address and IP Range.

The second calculator allows you to calculate subnet for IP V4 addresses. Here you have to specify the Network class, subnet with number of bits at the end and IP address. Hit the calculate button and there will be a complete table shown to you with all the information that you might be looking for. The result includes Usable Host IP Range, Broadcast Address, total number of hosts, total usable hosts, subnet and wild card masks, binary subnet mask, and IP type among other things.

So, if you have to find out any of the above mentioned information about any type of IP addresses, use this IP subnet calculator and get the most accurate results.