CIDR & subnet masks
The prefix tells you how many of the 32 bits belong to the network. A /24 is the same mask as 255.255.255.0, with 256 total addresses.
NETWORK TOOLS
Find your network, address range and host capacity in seconds.
NETWORK / CIDR
192.168.1.0/24
Host capacity excludes the network and broadcast addresses. It does not check availability, reachability, reserved ranges or provider-specific reservations.
QUICK REFERENCE
The prefix tells you how many of the 32 bits belong to the network. A /24 is the same mask as 255.255.255.0, with 256 total addresses.
For a typical subnet, the first address identifies the network and the last is its broadcast address. The addresses between them form the conventional host range.
A /31 provides two point-to-point endpoints. A /32 identifies one address. A /0 covers all IPv4 address space and is used for a default route.
Technical references: CIDR (RFC 4632) and /31 links (RFC 3021).