Skip to content
ENExplore Calculators

Network And Broadcast Address Calculator

Work out network and broadcast address instantly with clear inputs, formula shown and shareable results.

About Network And Broadcast Address Calculator

The network address is the address ANDed with the subnet mask, which clears every host bit to zero. The broadcast address sets every host bit to one, so it is the network address plus 2^(32-prefix) - 1. The wildcard mask is the bitwise complement of the subnet mask and is what ACLs and OSPF network statements expect.

Formula

Network and broadcast

network = IP AND mask; broadcast = network OR NOT mask; wildcard = NOT mask

mask
32-bit subnet mask derived from the prefix length

Worked example

With the default values below, Network And Broadcast Address Calculator returns Network address of 192.168.10.0/26. Change any input above and every figure here is recalculated in your browser.

Inputs used

IPv4 address
192.168.10.37
Prefix length (/n)accepts 1–32 bits
26 bits

Results

Network address
192.168.10.0/26
Broadcast address
192.168.10.63
Subnet mask
255.255.255.192
Wildcard mask
0.0.0.63

Step by step

  1. 1Values used
  2. 2Network and broadcast
  3. 3Network address= 192.168.10.0/26
  4. 4Broadcast address= 192.168.10.63
  5. 5Subnet mask= 255.255.255.192
  6. 6Wildcard mask= 0.0.0.63

Assumptions and limits

  • The result is derived only from the 2 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Why does the answer change with the prefix?

The prefix decides how many low-order bits are host bits. A longer prefix leaves fewer host bits, so the network boundary moves and the broadcast address lands closer to the address you entered.

What is the wildcard mask used for?

Cisco ACLs, OSPF network statements and route-maps match on wildcard masks, where a 0 bit means must match and a 1 bit means ignore — exactly the inverse of a subnet mask.

Network And Broadcast Address Calculator | Calcrivo