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
- 1Values used
- 2Network and broadcast
- 3Network address= 192.168.10.0/26
- 4Broadcast address= 192.168.10.63
- 5Subnet mask= 255.255.255.192
- 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.
Related Calculators
- Broadcast Domain Size Calculator
- IP Address Class Calculator
- IP Address Plan For Sites Calculator
- Multicast Address Range Calculator
- ARP Table Size Calculator
- Collision Domain Count Calculator
- DHCP Lease Time Calculator
- DHCP Pool Size Calculator
- Dual Stack Addressing Plan Calculator
- First And Last Usable IP Calculator
You might also need
- IP Address Class CalculatorAlso in IP Addressing & Subnetting
- Broadcast Domain Size CalculatorAlso in IP Addressing & Subnetting
- Multicast Address Range CalculatorAlso in IP Addressing & Subnetting
- IP To Hexadecimal CalculatorAlso in IP Addressing & Subnetting
- First And Last Usable IP CalculatorAlso in IP Addressing & Subnetting
- IP Address Plan For Sites CalculatorAlso in IP Addressing & Subnetting
