Turn scattered subnets into smarter network summaries fast. See boundaries, hosts, and merge steps clearly. Download outputs, copy CIDRs, and plan deployments confidently now.
| Input subnets | Why they merge | Merged result |
|---|---|---|
| 192.168.0.0/25 192.168.0.128/25 |
Same size, adjacent ranges, identical first 24 bits. | 192.168.0.0/24 |
| 10.0.0.0/24 10.0.1.0/24 |
Two /24 blocks fill an aligned /23 boundary. | 10.0.0.0/23 |
| 172.16.4.0 255.255.255.0 172.16.5.0 255.255.255.0 |
Netmask form equals /24; adjacent networks combine. | 172.16.4.0/23 |
Subnet merging is based on address ranges. A CIDR block A/B represents a network range:
Two equal-size blocks can supernet when they are adjacent, aligned, and share the same first B−1 bits. The merged prefix becomes B−1.
It produces CIDR blocks that cover only the input address space, without adding extra addresses. This is safest for audits, firewall rules, and inventory lists.
A single supernet must be a power-of-two block aligned on its boundary. If your inputs don’t fill that block perfectly, the smallest covering supernet also covers unused addresses.
Yes. The tool normalizes them by applying the netmask and converting to the correct network address, so the calculation remains consistent.
They merge when their ranges touch and the combined range is aligned to a larger CIDR boundary. Two adjacent /24 blocks can merge into one /23 only when the /23 starts on the correct even boundary.
Overlaps are detected and shown as a warning. Exact aggregation still works because overlapping ranges collapse into the union, but overlapping inputs may indicate duplicate entries or inconsistent planning.
This version focuses on IPv4 for precise range math and common routing summaries. You can extend it for IPv6, but range-to-CIDR logic and parsing would need 128-bit handling.
Usable host counts depend on whether network and broadcast addresses exist. /32 is a single address. /31 is commonly used for point-to-point links and does not reserve network/broadcast in many modern networks.
CSV contains the merged CIDRs and key fields. PDF is a compact report listing the exact merged blocks and optional summary supernet, suitable for sharing or archiving.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.