Calculators/CIDR aggregation
ROUTE SUMMARIZATION
CIDR Calculator | IP Range Aggregation
03/ 06Aggregate IPv4 networks into the smallest exact CIDR list without adding gaps or extra address space.
HOW IT WORKS
Summarize IP ranges without adding addresses
Networks are sorted, then overlapping, contained and adjacent ranges are combined. Each merged range is decomposed into aligned CIDR blocks to produce an exact minimal list.
The four /24s from 192.168.0.0 to 192.168.3.0 combine into 192.168.0.0/22. If there is a gap, the output does not include that gap merely to make a broader summary.
Before summarizing actual routes, verify next hops, routing policies and possible black holes during failures. Address arithmetic alone does not establish whether a summary is safe to deploy.
FAQ
Frequently asked questions
How are duplicate networks handled?+
Duplicate blocks and subnets contained in larger blocks are removed while preserving the same address set.
Will the result always be one CIDR?+
No. Gaps and CIDR alignment constraints can require multiple output blocks.
Can a CIDR include host bits?+
Yes. For example, 192.168.1.10/24 is normalized to the network 192.168.1.0/24.