IPv4 CIDR Range Calculator
IPv4 networking
IPv4 CIDR Range Calculator
Enter an IPv4 address followed by a CIDR prefix to calculate its complete subnet range.
Common prefixes
Calculated subnet
256 addresses192.168.1.0/24
Complete address range192.168.1.0192.168.1.255
- Host bits
- 8
- Total addresses
- 256
- Usable addresses
- 254
Traditional subnet: network and broadcast addresses are reserved.
How IPv4 CIDR ranges work
CIDR prefixes describe how many of the 32 IPv4 bits identify the network. A /24 leaves 8 host bits and contains 256 addresses. A /22 leaves 10 host bits and contains 1,024 addresses.
The network address is the first address in the calculated block and the broadcast address is the last. In traditional subnets from /0 through /30, those two addresses are reserved and the usable host range lies between them. /31 networks are commonly used for point-to-point links, while /32 identifies one individual host.