Broadcast Address Calculator

Calculate the broadcast address from any IP address and subnet mask. Find the last address in a subnet used to communicate with all hosts simultaneously.

What is a Broadcast Address?

The broadcast address is the last address in a subnet, used to send data to all hosts on the network simultaneously. When a device sends a packet to the broadcast address, every device on that subnet receives and processes it. This is essential for protocols like ARP, DHCP, and network discovery services.

For example, in the network 192.168.1.0/24, the broadcast address is 192.168.1.255. Sending a packet to this address reaches all 254 hosts (192.168.1.1 through 192.168.1.254) at once. Like the network address, the broadcast address is reserved and cannot be assigned to any host device. For complete subnet calculations, use our subnet calculator.

Key Point

In binary, the broadcast address has all host bits set to 1. For a /24 network, that's the last 8 bits all being 1 (11111111 = 255), resulting in .255 in the last octet.

How Broadcast Address is Calculated

The broadcast address is calculated by performing a bitwise OR between the network address and the wildcard mask (inverse of subnet mask):

Calculation Example

Network: 192.168.1.0

Wildcard: 0.0.0.255

Binary OR:

Network:  11000000.10101000.00000001.00000000
Wildcard: 00000000.00000000.00000000.11111111
          ─────────────────────────────────────
OR:       11000000.10101000.00000001.11111111

Broadcast: 192.168.1.255

Common Uses of Broadcast

ARP (Address Resolution Protocol)

When a device needs to find the MAC address for an IP, it sends an ARP request to the broadcast address. All hosts receive the request, but only the one with the matching IP responds.

DHCP Discovery

When a device boots up without an IP address, it broadcasts a DHCP discover message to find available DHCP servers on the network.

Network Discovery

Many services use broadcast to announce their presence or discover other devices, including NetBIOS, mDNS, and various IoT protocols.

Broadcast vs Network Address

Aspect Network Address Broadcast Address
PositionFirst in subnetLast in subnet
Host bitsAll zerosAll ones
Example (/24)192.168.1.0192.168.1.255
PurposeIdentifies networkReaches all hosts
AssignableNoNo

To calculate network addresses, use our network address calculator. For the complete picture including both addresses, see the CIDR calculator.

Directed vs Limited Broadcast

Directed Broadcast

A directed broadcast targets a specific subnet's broadcast address (e.g., 192.168.1.255). It can potentially be routed to reach that subnet from another network, though most routers disable this for security.

Limited Broadcast (255.255.255.255)

The address 255.255.255.255 is the limited broadcast address. It reaches all hosts on the local network segment only and is never routed by routers.

For more details on IP address types, use our IP address validator.

Frequently Asked Questions

Technically yes, but most modern operating systems and network devices block broadcast ping responses for security reasons. Responding to broadcast pings can enable smurf attacks (DDoS amplification). On Linux, you may need to enable it explicitly with kernel parameters.

No, .255 is only for /24 networks. For other prefixes, the broadcast depends on the subnet size. For example, 192.168.1.0/26 has broadcast 192.168.1.63, and 192.168.1.64/26 has broadcast 192.168.1.127. The broadcast is always network address + (total addresses - 1).

No, IPv6 eliminated broadcast in favor of multicast. Functions that used broadcast in IPv4 use well-known multicast addresses in IPv6. For example, "all nodes" multicast (ff02::1) replaces the local broadcast function. This reduces unnecessary network traffic.

Related Network Tools

Looking to calculate subnets for your network? You can also find the network address for any IP. For detailed analysis, view complete IP ranges for CIDR blocks. Network administrators often need to validate IP address formats. Additionally, convert subnet masks to CIDR notation. Many users find it helpful to generate wildcard masks for ACLs. For comprehensive planning, design variable-length subnet schemes.