Network Address Calculator
Determine the network address of a subnet from an IP address and mask or prefix length.
About Network Address Calculator
The network address is found by performing a bitwise AND between the IP address and its subnet mask. This zeroes out the host bits, leaving only the network portion — the identifier for the subnet itself.
Formula
Network address
network = IP AND subnet_mask
- IP
- Any host IP in the subnet
- M
- Subnet mask
Worked example
With the default values below, Network Address Calculator returns Network Address of 10.45.64.0. Change any input above and every figure here is recalculated in your browser.
Inputs used
- IP Address
- 10.45.67.89
- Prefix Lengthaccepts 0–32
- 20
Results
- Network Address
- 10.45.64.0
- Subnet Mask
- 255.255.240.0
Step by step
- 1Subnet mask from prefix= 255.255.240.0
- 2AND operation= 10.45.64.0
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
Is the network address usable as a host address?
No — the network address (all host bits zero) identifies the subnet itself and cannot be assigned to a host in standard subnetting. The exception is /31 point-to-point links per RFC 3021.
How is the network address used in routing?
Routers store network addresses (with their prefix lengths) in routing tables to determine which interface or next-hop to forward packets toward for any destination within that network.
