pjhtech Tools
Address planning

CIDR Aggregation & Route Summarization Calculator

Aggregate IPv4 or IPv6 CIDRs exactly, or calculate a covering supernet with explicit counts of extra address space.

Input

Reset restores the example inputs.

Local calculation · inputs are not sent to a server.

Result

Calculating the example…

Paste one IPv4 or IPv6 list. Choose Exact to shorten it without adding addresses, or Covering to get one supernet and see how much extra space it includes. Use Copy CIDRs only for the selected result; Copy result includes the full report.

Example: 10.10.0.0/24 and 10.10.1.0/24 give 10.10.0.0/23. Four /24s from 10.10.0.0 through 10.10.3.0 give /22. But 10.10.1.0/24 and 10.10.2.0/24 stay separate in exact mode: their covering 10.10.0.0/22 adds 512 addresses and is only 50% occupied.

Accepts up to 4096 CIDRs, hosts or inclusive start-end ranges, separated by newlines, commas or spaces. Use one IP family at a time. Host bits are cleared and shown in the normalization report. Duplicate and contained entries do not add addresses.

Before replacing route entries, retain any different next hops or policy requirements; equal address coverage alone does not preserve them.

Try these cases

InputExact resultReason
10.10.0.0/24 + 10.10.0.64/2610.10.0.0/24Contained prefix disappears
10.10.0.0/24 + 10.10.2.0/24Two /24sThe missing .1/24 prevents a merge
10.10.1.0/24 + 10.10.2.0/24Two /24sAdjacent, but not aligned for /23
2001:db8::/65 + 2001:db8:0:0:8000::/652001:db8::/64IPv6 uses the same exact interval method

Compare two network lists

Aggregation reduces one set. To identify shared, removed or added address coverage between two sets, use the CIDR list comparison.

References