CIDR Aggregation Calculator

Calculate CIDR notation, find the smallest supernet containing multiple networks, and plan route aggregation for BGP and routing tables.

About CIDR Aggregation

CIDR (Classless Inter-Domain Routing) aggregation combines multiple contiguous networks into a single, larger network (supernet). This reduces the size of routing tables and improves routing efficiency, especially in BGP.

Common CIDR Aggregation Examples

Networks Aggregated CIDR Address Range
192.168.0.0/24 + 192.168.1.0/24192.168.0.0/23192.168.0.0 - 192.168.1.255
192.168.0.0/24 + 192.168.1.0/24 + 192.168.2.0/24 + 192.168.3.0/24192.168.0.0/22192.168.0.0 - 192.168.3.255
10.0.0.0/24 + 10.0.1.0/24 + ... + 10.0.15.0/2410.0.0.0/2010.0.0.0 - 10.0.15.255
172.16.0.0/24 + 172.16.1.0/24 + 172.16.2.0/24 + 172.16.3.0/24172.16.0.0/22172.16.0.0 - 172.16.3.255

CIDR Cheat Sheet

CIDR Subnet Mask # IPs # Usable Typical Use
/32255.255.255.25511Host route
/31255.255.255.25422Point-to-point
/30255.255.255.25242Point-to-point
/29255.255.255.24886Small network
/28255.255.255.2401614Small network
/27255.255.255.2243230Small office
/26255.255.255.1926462Office network
/25255.255.255.128128126Medium office
/24255.255.255.0256254Typical LAN
/23255.255.254.0512510Larger network
/22255.255.252.010241022Data center
/21255.255.248.020482046Large org
/20255.255.240.040964094Large org