# Meaning of 24 in IP Address The number “24” refers to how many bits are contained in the network. An IP address has two parts, the network number and the host number. From which the number of bits left for the address space can be calculated.

In other words, 24 means that the first 24 bits of the IP address are part of the network number (192.168.0), the last part is part of the host address (1-254). Since all IPv4 networks are 32 bits, and each “section” of the address represented by decimal points has eight bits, “192.0”.

A subnet mask is used to divide an IP address into two parts. One part identifies the host (computer), the other part identifies the network to which it belongs. To better understand how IP addresses and subnet masks work, look at an IP address and see how it is organized.

## How many IPs are in 24 ?

The number of IP addresses in an IPv4 block can be calculated by taking 2 to the power of 32 minus the block size. So, this is how you calculate how many IP addresses are in an IPv4/24 block:

28 = 256

As shown by the above calculation , There are a total of 4096 IP addresses in a /24 block. However, one IP is a network address and the other is a broadcast address. Therefore, the total number of usable IPs in /24 can be calculated as follows :