Kernaali Tools
Address planning

CIDR Aggregation Calculator

Merge overlapping and adjacent IPv4 routes without adding unlisted address space.

Local calculation · inputs are not sent to a server.

Result

Calculating the example…

How it works

Normalize host bits, sort intervals and merge overlaps or adjacency. Convert each merged interval back into aligned CIDRs. Exact aggregation only merges routes when no uncovered gap is introduced.

Worked example

10.42.8.0/25 and 10.42.8.128/25 combine into 10.42.8.0/24. Adding an overlapping /26 does not change that coverage.

Inputs, edge cases & common mistakes

Up to 4096 input prefixes are accepted. Adjacent but misaligned networks may need multiple output routes. Equal address coverage does not guarantee equivalent routing policy: next hops, attributes and more-specific routes still matter.

Technical references

Reviewed 9 September 2026. Found an issue? Send a correction with a reproducible example.