Network

CIDR Aggregator & Subnet Splitter (VLSM Calculator)

Aggregate and merge overlapping IP ranges and CIDR blocks into minimal supernets, or split network blocks into subnets with host range and broadcast tables.

Free to use No sign-up Runs in your browser

Tool workspace

Paste a list of IPv4 addresses, CIDRs, or IP ranges (one per line, comma or semicolon separated). They will be sorted, deduplicated, and combined into minimal supernets.

10.0.0.1/32 10.0.0.2/31 192.168.0.0/22

What Is the CIDR Aggregator & Subnet Splitter?

The CIDR Aggregator & Subnet Splitter is a dual-mode network utility for cloud architects and network engineers. In Aggregator mode, it performs CIDR block merging (route summarization/supernetting), collapsing lists of discrete IPs, IP ranges (start - end), and adjacent subnets into the minimal set of CIDR blocks to shrink firewall rules and routing tables. In Splitter mode, it divides large network allocations into variable-length subnets (VLSM), mapping out network, broadcast, subnet mask, and usable IP host boundaries.

How to Aggregate and Split CIDR Blocks

  1. 1Select CIDR Aggregator (Merger) to combine multiple IP entries or Subnet Splitter to divide a network.
  2. 2In Aggregator mode, paste arbitrary IPv4 addresses, CIDR blocks (e.g., 192.168.1.0/24), or ranges (e.g., 10.0.0.1 - 10.0.0.50).
  3. 3Inspect the minimized supernet list in real time and copy it directly into AWS Security Groups, Nginx allowlists, or routing policies.
  4. 4In Splitter mode, enter a base network CIDR (such as 10.10.0.0/16) and choose a target prefix length (e.g., /24).
  5. 5Review the detailed table of resulting subnets with netmasks, usable host ranges, and broadcast addresses.

Common Network Engineering Scenarios

Firewall Whitelist & Security Group Optimization

Consolidate hundreds of office IPs or branch office ranges into clean, compact CIDRs to stay within cloud provider rule limits.

VPC & Cloud Subnet Architecture Planning

Carve a VPC /16 CIDR block into balanced /20 or /24 private, public, and database tier subnets with exact usable host counts.

BGP Route Summarization & Supernetting

Calculate aggregate route announcements to reduce BGP table size and optimize router memory across multi-site links.

Frequently asked questions

How does the CIDR merging algorithm handle non-power-of-two IP ranges?

When an arbitrary IP range (e.g., 192.168.1.1 to 192.168.1.10) does not align to a single CIDR block, the algorithm partitions the span into the minimal valid sequence of binary-aligned CIDRs.

Does this tool support both single IPs and dashed ranges?

Yes. You can mix single IPs (10.0.0.1), CIDRs (10.0.1.0/24), and dashed intervals (10.0.2.1 - 10.0.2.50) in the same input.

Are IP addresses transmitted to any cloud servers?

No. All bitwise binary masking and IP math execute 100% locally in your browser memory.