Subnet for IPv4 Network
Find network address, broadcast address and usual host-address range.
Your numbers
Network address
For /31 point-to-point, both addresses show as hosts; /32 get one address. E no determine routability or provider-reserved addresses.
Compare scenarios
You fit keep up to three snapshots for this tab. Loading one go replace the present inputs.
Formula
Use B = 2^(32−p) and N = floor(A/B)×B. p na prefix length, A na di address as integer, B na address block size, and N na network address.
Find network address, broadcast address and usual host-address range.
Example wey show the calculation
- Address for IPv4 network
- 192.168.1.10
- Number of bits for network prefix
- 24
- Network address
- 192.168.1.0/24
- Mask for the subnet
- 255.255.255.0
- Address wey come last
- 192.168.1.255
- How many addresses dey
- 256
- Usable hosts for the usual convention
- 254
- Host address wey come first
- 192.168.1.1
- Host address wey come last
- 192.168.1.254
Where e fit work and limits
For /31 point-to-point, both addresses show as hosts; /32 get one address. E no determine routability or provider-reserved addresses.
We check inputs for missing values and allowed ranges. Result wey pass the finite numeric range no go show. Rounding affect wetin display, while calculation use the model numeric precision.
Check your units and assumptions before you rely on result. Changing label no convert currency or physical unit.
Version of di formula: 8cc3d254dbd8 · Example don get check: