Inputs

Format: address/prefix — e.g., 10.0.0.0/16, 192.168.1.0/24.

What CIDR notation tells you

CIDR (Classless Inter-Domain Routing) replaced the old class A/B/C system. Instead of being limited to /8, /16, or /24 boundaries, CIDR lets you size subnets to fit. Each "prefix length" specifies how many bits identify the network — and the rest are available for hosts.

Block sizes by prefix

PrefixSubnet maskTotal addressesCommon use
/8255.0.0.016,777,21610.0.0.0/8 (largest RFC 1918 block)
/12255.240.0.01,048,576172.16.0.0/12 (mid RFC 1918 block)
/16255.255.0.065,536192.168.0.0/16, large enterprise
/24255.255.255.0256Standard home/office subnet
/29255.255.255.2488Small ISP customer block
/30255.255.255.2524Point-to-point links