Network Address Calculator
Find the network address of an IPv4 address and mask, with the bitwise AND shown step by step.
Your inputs
Results
Network address
172.16.32.0
- Host part (IP AND wildcard)
- 0.0.13.200
- Prefix
- /20
✓Exact calculation — rounded only for display
Notes for this result
- Computed entirely in your browser; no address is sent anywhere.
Show calculation steps
- 10101100.00010000.00101101.11001000 (IP)
- & 11111111.11111111.11110000.00000000 (mask)
- = 10101100.00010000.00100000.00000000 (network)
What this calculator does
The network address identifies the subnet; it is the IP with all host bits set to zero.
Formula and method
Network = IP AND mask (bit by bit)
Worked example
Calculated by this tool with its default inputs:
Inputs
- IP address: 172.16.45.200
- Subnet mask or /prefix: 255.255.240.0
Results
- Network address: 172.16.32.0
- Host part (IP AND wildcard): 0.0.13.200
- Prefix: /20
How to read the results
The host part is the remainder (IP AND wildcard).
Assumptions and limitations
- Calculated entirely in your browser — addresses and values are never sent to a server.
Questions
Can I use a /prefix instead of a mask?
Yes — enter /20 or 255.255.240.0.
Methodology and verification
- Result type
- Exact mathematical calculation (rounded only for display)
- Formula version
- 1.0
- Automated verification
- 3 reference and validation test cases, checked against independently computed values. The site cannot be built if any of them fail.
- Editorial review
- Awaiting human editorial review. The explanation was drafted with AI assistance; the formula and examples are verified by the automated tests above.
Privacy
Everything you enter is calculated in this browser and is not sent to Numerith or anyone else. Inputs are added to a share link only if you choose to include them. Privacy policy