Utilitory / Technology / CIDR Range Aggregator
Technology · Tools

CIDR Range Aggregator

Combine IPv4 CIDR blocks into the smallest exact set of non-overlapping ranges.

Reserved ad space · responsive display

IPv4 CIDR ranges

Enter IPv4 CIDR blocks separated by commas, spaces or new lines.

Your estimate

Results update automatically when inputs change.

Aggregated IPv4 CIDR blocks
—
Estimated values based on the assumptions entered.
Input blocks—
Merged blocks—
Addresses covered—
Reduction in blocks—
Aggregated ranges—
Reserved ad space · after calculator
Calculator guide

More Information

Combine overlapping or adjacent IPv4 CIDR blocks without adding addresses that were not in the original ranges.

How to use it

Paste IPv4 CIDR blocks into the resizable box, using one block per line or separating them with commas or spaces. The results update as you type.

Calculation formulas

Convert each CIDR to an inclusive IPv4 integer interval; merge touching or overlapping intervals; partition each merged interval into the largest aligned CIDR blocks.

Worked example

192.168.0.0/24 and 192.168.1.0/24 combine exactly to 192.168.0.0/23.

Assumptions and limitations

IPv4 only; does not process IPv6 or hostnames. Invalid entries are rejected. Aggregation does not change your router configuration or network policy.

Frequently asked questions

Does aggregation add extra IP addresses?

No. The result represents exactly the same address space as the input blocks, with overlapping or adjacent ranges combined where possible.

Explore related tools

Working on a larger task? Browse the connected calculators in these toolkits.

Developer & Networking Tools →

Continue exploring Developer & Networking Tools

These calculators work independently. Open another tool to continue your planning.