Categories


Number of Hosts Per Subnet

Check the number of hosts that is in a subnet on CIDR





Result

Calculate the Number of Hosts in a Subnet

To calculate the number of hosts that are in a given subnet you can use the formula 2h-2, The variable h is based on the number of host bits of an IP address. Negative two represents the network address and broadcast address in the network which would be unusable for the hosts. Therefore two addresses are always removed. For example /28 would have 28 network bits and four host bits. The formula would be 24-2 which would result in 14 hosts per subnet.

Number of hosts per subnet formula
Fig.1 The formula to calculate the number of hosts in a subnet.

What is a Private IP Address?

Private IP addresses are allocated in private networks, These networks usually are Local Area Networks (LANs). In IPv4 there are three private IP address spaces. A device that does not require connection with the outside internet, the device can be assigned a private address. With a private IP address enables a device to communicate only with other devices on the same private network. Each device within the private network will have a unique IP assigned. The router will also be assigned a private IP address in order to communicate with the devices on the private network. The router would usually be assigned the first usable address (192.168.1.1) after the network identifier(192.168.0.0). Other external networks on the internet can avail of the same private addressing space for their internal networks. The private address of a device is not exposed to the internet. The private address block spaces are :

  1. 10.0.0.0 to 10.255.255.255
  2. 172.16.0.0 to 172.31.255.255
  3. 192.168.0.0 to 192.168.255.255

Number of hosts per Subnet table

The number of hosts in a subnet would depend on the Classless Interdomain Routing (CIDR) and the class range of the IP address. Class A networks or anything greater than a /8 CIDR, would have the largest number of hosts ranging in the millions. Class B networks or greater than /16 CIDR would have thousands of hosts. In a class C subnet any CIDR greater than /24 would be a couple of hundred.

Number of hosts in /24 Subnets

Number of Hosts in a Class C Subnet
CIDRNumber of hosts (Available)
/302
/296
/2814
/2730
/2662
/25126
/24254

Number of hosts in /16 Subnets

Number of Hosts in a Class B Subnet
CIDRNumber of hosts (Available)
/23510
/221,022
/212,046
/204,094
/198,190
/1816,382
/1732,766
/1665,534

Number of hosts in /8 Subnets

Number of Hosts in a Class A Subnet
CIDRNumber of hosts (Available)
/15131,070
/14262,142
/13524,286
/121,048,574
/112,097,150
/104,194,302
/98,388,606
/816,777,214

Similar Pages/Apps

Subnet Mask To Wildcard Mask

Convert subnet mask to a wildcard mask



Star Icon

4.1

Number Of Hosts

Calculate the number of hosts



Star Icon

2

Subnet Mask To CIDR

Convert subnet mask to a CIDR



Star Icon

4.4

Number Of Subnets

Calculate the number of Subnets



Star Icon

2

Subnet Mask to Binary

Calculate the Subnet Mask to Binary Notation



Star Icon

4.3

IPv4 to Hex

Convert IPv4 to Hex



Star Icon

3.4

IPv6 to Hex

Convert IPv6 to Hex



Star Icon

3.5

Wildcard Mask to Subnet Mask

Convert a Wildcard Mask to a Subnet Mask



Star Icon

2.1

IPv6 to Decimal

Convert IPv6 to Decimal Notation



Star Icon

4.2

Generate MAC Address

Randomly Generate a Mac Address



Star Icon

3.7

IPv6 Compression Calculator

Compressor or Shorten an IPv6 Address



Star Icon

3.9

IPV4 Validator

Check if an IPV4 Address is vaild



Star Icon

4.1

IP to binary

Convert IPV4 to binary



Star Icon

3.8

IP class checker

Check the class of an IP address



Star Icon

4.2