IPv4 Broadcast Address Calculator
Find broadcast addresses where applicable.
IPv4 Broadcast Address Calculator: inputs and results
Enter an IP address, CIDR prefix, or range. Then check its first and last address below.
Calculated Boundaries & ParametersReady
Key Capabilities
- •100% Client-Side: Zero telemetry or server latency.
- •RFC Compliant: Exact 32-bit and 128-bit integer precision.
- •Quick Copy: Instant access to CIDR, mask, and range bounds.
- •Cross-Platform: Works on desktop, tablet, and mobile browsers.
Related IPv4 Subnetting & RangeAll Tools
IPv4 Range Calculator
Find address boundaries from a prefix.
IPv4 Subnet Calculator
Calculate subnet details from address and mask.
Network Address Calculator
Find the subnet’s network address.
First and Last Address Calculator
Identify a range’s endpoints.
Usable IPv4 Host Range Calculator
Apply the selected subnet-use rules.
Total Address Count Calculator
Count addresses within a prefix.
How IPv4 Broadcast Address Calculator Works?
This tool works by setting every host bit of the network address to 1 with a bitwise OR against the wildcard mask. Prefixes /31 and /32 return no broadcast address.
Enter the address and prefix
Type
203.0.113.77/28or an address with a dotted mask.Find the network address
The calculator runs
IP AND maskto get203.0.113.64.Build the wildcard mask
The wildcard is the bitwise inverse of the mask. A /28 has the wildcard
0.0.0.15.OR network with wildcard
203.0.113.64 OR 0.0.0.15gives203.0.113.79, the directed broadcast address of the subnet.
IPv4 Broadcast Address Calculator Formula
The formula is Broadcast = Network Address OR Wildcard Mask, which equals the network address plus the block size minus 1.
Bitwise rule
B = (IP AND Mask) OR (NOT Mask)All host bits become 1.
Additive rule
B = Network + 2^(32−p) − 1For a /28: Network + 16 − 1 = Network + 15.
Next-subnet rule
B = Next Network − 1The broadcast address sits 1 below the start of the following subnet.
Exception
/31 and /32 → no broadcastRFC 3021 removes the broadcast on /31 links, and a /32 holds 1 address.
Worked example: 203.0.113.77/28
Block size = 2^(32−28) = 16 Network = 203.0.113.64 (77 rounded down to a multiple of 16) Wildcard = 0.0.0.15 Broadcast = 64 OR 15 = 79 → 203.0.113.79 Check = next subnet 203.0.113.80 − 1 = 203.0.113.79
IPv4 Broadcast Address Calculator Conversion Table
The table shows the wildcard mask and broadcast address of 203.0.113.77 for prefixes /20 to /32, with the broadcast written as a decimal integer.
| Prefix | Wildcard Mask | Broadcast Address | Broadcast (Integer) |
|---|---|---|---|
| /20 | 0.0.15.255 | 203.0.127.255 | 3,405,807,615 |
| /21 | 0.0.7.255 | 203.0.119.255 | 3,405,805,567 |
| /22 | 0.0.3.255 | 203.0.115.255 | 3,405,804,543 |
| /23 | 0.0.1.255 | 203.0.113.255 | 3,405,804,031 |
| /24 | 0.0.0.255 | 203.0.113.255 | 3,405,804,031 |
| /25 | 0.0.0.127 | 203.0.113.127 | 3,405,803,903 |
| /26 | 0.0.0.63 | 203.0.113.127 | 3,405,803,903 |
| /27 | 0.0.0.31 | 203.0.113.95 | 3,405,803,871 |
| /28 | 0.0.0.15 | 203.0.113.79 | 3,405,803,855 |
| /29 | 0.0.0.7 | 203.0.113.79 | 3,405,803,855 |
| /30 | 0.0.0.3 | 203.0.113.79 | 3,405,803,855 |
| /31 | 0.0.0.1 | None (no broadcast) | — |
| /32 | 0.0.0.0 | None (no broadcast) | — |
What is IPv4 Broadcast Address Calculator?
The IPv4 Broadcast Address Calculator is a tool that finds the directed broadcast address of an IPv4 subnet, the last address in the block with every host bit set to 1. A packet sent to that address reaches every host on the subnet.
IPv4 defines 2 broadcast types. The limited broadcast 255.255.255.255 stays on the local link. The directed broadcast, such as 203.0.113.79 for 203.0.113.64/28, targets one specific subnet. The calculator returns the directed broadcast.
IPv6 has no broadcast address and uses multicast groups. The calculator therefore covers IPv4 only, and it marks /31 point-to-point links and /32 host routes as having no broadcast address.
What are the uses of IPv4 Broadcast Address Calculator?
There are 5 main uses of the IPv4 Broadcast Address Calculator, including interface checks, Wake-on-LAN setup, and security hardening.
Avoiding invalid host assignments
The broadcast address cannot be assigned to a host. The calculator shows which address to skip during static addressing.
Configuring Wake-on-LAN
Wake-on-LAN magic packets are often sent to the directed broadcast of the target subnet.
Hardening against Smurf attacks
Routers block directed broadcasts with
no ip directed-broadcast. The calculator lists the exact addresses to filter.Reading packet captures
Traffic to a .79, .127, or .255 address is not always broadcast. The calculator confirms whether a destination is the broadcast of its subnet.
Setting legacy application targets
Older discovery and NetBIOS tools send queries to the subnet broadcast. The calculator supplies the correct target address.