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.

Format: four octets from 0 to 255, followed by a prefix from /0 to /32.
Common prefixes
Calculated subnet

192.168.1.0/24

256 addresses
Complete address range192.168.1.0192.168.1.255
Network address192.168.1.0
Broadcast address192.168.1.255
First usable address192.168.1.1
Last usable address192.168.1.254
Subnet mask255.255.255.0
Wildcard mask0.0.0.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.