What is a broadcast address?

The broadcast address can be used to send data packets in IP networks to all participants of a local network. The individual addresses of each party in the network do not have to be known for this to work. If necessary, the broadcast address can be calculated quite easily.

$1 Domain Names

Register great TLDs for less than $1 for the first year.

Why wait? Grab your favorite domain name today!

Matching email
SSL certificate
24/7/365 support

What’s behind the broadcast address?

Each network or subnet has a reserved broadcast address that can be used by all participants of the network to send a broadcast. Broadcasts allow information and services to be transmitted to all devices and components of the network without the need to know their individual IP addresses. Among other things, routers in a local area network use the broadcast IP to send HELLO packets to all endpoints, switches, and other routers to maintain interrelationships on the network and discover neighboring devices.


Broadcast: a multipoint connection in IP networks that automatically reaches all nodes in the network without knowing the recipient addresses. For this purpose, a fixed reserved broadcast address exists in each network or subnet.

How is the broadcast address calculated?

Each IP address consists of 4 decimal numbers — so-called octets — separated by dots. An octet contains 8 bits, which is why every IPv4 address is automatically a 32-bit address. Each octet can represent a number between 0 and 255. The broadcast address is always identified in the final part of the host part of an address (starts in the third or fourth octet): If all host bits are set to the binary value “1”, this is the broadcast address.


If all host bits are set to the value “0”, this is the subnet address.

The following example is intended to clarify the composition of the individual components of an IP address, including the calculation of the broadcast address: is the IP address in this case, while the suffix “/24” indicates the subnet mask

In each network, a broadcast IP is assigned only once. It is always the last IP address of the subnet. The broadcast address — where all host bits are set to “1” as already mentioned — is therefore: in this example.

To display this video, third-party cookies are required. You can access and change your cookie settings here.

How to find out the broadcast IP

You want to find out the broadcast address of your network? For this, common operating systems with native command line applications and the network program ipconfig (Windows) or “ifconfig” or “ip” (Linux, macOS) provide the appropriate tool set.

In Windows, for example, proceed as follows:

  1. Start the command prompt by using the key combination [Windows] + [R] and execute the command “cmd”.
  2. Enter the CMD commandipconfig /all” into the command line tool to get an overview of all important key data of your local network.

Among other things, the prompt presents you with your device’s IP address and subnet mask. You can derive the broadcast IP from this information. In our example where the IP address is and the subnet mask is, the broadcast address is

How exactly you find out the broadcast address in Linux and macOS depends on the available network tool of the respective distribution or version. In Ubuntu 20.04, for example, you can proceed as follows:

  1. Open the “Show applications” menu.
  2. Search for “Terminal” and start the application by double-clicking on it.
  3. Enter the command “ifconfig”.

Right in the second line, Ubuntu presents three values after executing the command:

  • inet: the Internet address of your device (here:
  • netmask: the subnet mask of the local network (here:
  • broadcast: the broadcast address of the local network (here:
We use cookies on our website to provide you with the best possible user experience. By continuing to use our website or services, you agree to their use. More Information.