CIDR / Subnet Calculator
Calculate network details from any IPv4 CIDR block. All calculations run instantly in your browser.
About This Tool
CIDR replaced the original classful addressing system (Class A/B/C) in 1993 with RFC 1519. Instead of being limited to fixed /8, /16, or /24 boundaries, network administrators can allocate address space in any power-of-two block from /0 to /32. This dramatically improved IPv4 address utilization and slowed the exhaustion of the IPv4 address space.
When planning a network, choosing the right prefix length is critical. A /24 gives 254 usable addresses, suitable for a small office LAN. A /28 provides 14 usable addresses, ideal for a DMZ or a small server VLAN. Point-to-point links between routers typically use /30 (2 usable addresses) or /31 (RFC 3021 allows 2 addresses with no broadcast). Cloud providers like AWS use /16 VPCs by default, giving you 65,534 usable IPs to subdivide across subnets and availability zones.
Supernetting (route aggregation) is the reverse process: combining multiple smaller subnets into a single larger CIDR block to reduce the size of routing tables. For example, four contiguous /24 networks can be summarized as a single /22. This is essential for BGP route announcements and keeping the global routing table manageable.