Each network or subnet has a dedicated broadcast address, through which all users of the network can broadcast.
In a broadcast address, all the host bits are set to the binary value 1, so if all host bits are set to the value 0, this is the subnet address.
Example: IPv4 address 192.128.64.7/24
192.128.64.7 is the IP address and 24 is the subnet mask. The /24 corresponds to the subnet mask 255.255.255.0. The IP address consists of 4 decimals – called octets – which are separated by points. One octet contains 8 bits, which is why IPv4 is a 32-bit address. Each octet can represent a number between 0 and 255. In this case, the whole of the last octet consists of host bits. Therefore, in this example, the broadcast address would be 192.128.64.255 – so all host bits at 1.