The network engineer’s toolkit
FREE TO USE
ROUTE SUMMARIZATION

CIDR Calculator | IP Range Aggregation

03/ 06

Aggregate IPv4 networks into the smallest exact CIDR list without adding gaps or extra address space.

Calculator inputs

IPv4

Enter one CIDR per line. Up to 256 networks.

Enter ↵

Calculation results

SUMMARIZED NETWORKS
4 → 1
1,024covered addresses
01192.168.0.0/22

The exact input address set is preserved. Gaps are never included.

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.