Logo

MonoCalc

/

CIDR Splitter

Networking
Must be greater than the parent prefix

About This Tool

🔀 CIDR Splitter – Split IP Networks into Subnets

The CIDR Splitter is a network planning tool that divides a parent IP address block (in CIDR notation) into a set of smaller, equal-sized child subnets. Whether you're allocating address space for VLANs, cloud infrastructure, or branch offices, this tool instantly enumerates every resulting subnet with its network address, broadcast address, usable host range, and host count.

What is CIDR Splitting?

CIDR (Classless Inter-Domain Routing) is the standard notation for IP networks. A CIDR block like 192.168.0.0/24 represents 256 addresses. Splitting it means borrowing bits from the host portion to create sub-divisions — for example, splitting a /24 into four /26 subnets, each with 64 addresses and 62 usable hosts.

This process is fundamental to IP address planning, VLAN design, cloud subnet provisioning, and firewall rule simplification. Instead of managing one large block, you segment it into smaller, purpose-built ranges that map cleanly to network segments.

How to Use the CIDR Splitter

1. Enter the parent network – Type a valid IPv4 CIDR block, such as 10.0.0.0/22. The tool automatically corrects host bits (e.g., 10.0.0.1/22 becomes 10.0.0.0/22).

2. Choose a split method – Select By Prefix Length to specify the exact size of each child subnet (e.g., /26), or By Count to specify how many equal subnets you need (must be a power of 2).

3. Click Calculate– The tool enumerates all resulting subnets in a table, showing every subnet's CIDR, network address, broadcast address, first and last usable hosts, and usable host count.

4. Export or copy – Copy individual subnet CIDRs or download the full table as CSV for documentation.

Split Methods Explained

Split by New Prefix Length

Specify the prefix length each child subnet should have. The prefix must be strictly greater than the parent prefix. For example, splitting 10.0.0.0/22 by /24 produces exactly 4 subnets of 256 addresses each:

#CIDRNetworkBroadcastUsable Hosts
110.0.0.0/2410.0.0.010.0.0.255254
210.0.1.0/2410.0.1.010.0.1.255254
310.0.2.0/2410.0.2.010.0.2.255254
410.0.3.0/2410.0.3.010.0.3.255254

Split by Count

Specify how many equal subnets you need. The count must be a power of 2 (1, 2, 4, 8, 16, …). The tool automatically calculates the required prefix length: newPrefix = parentPrefix + log₂(count). For example, splitting 192.168.1.0/24 into 4 subnets produces four /26 subnets with 62 usable hosts each.

Key Formulas

New Prefix from Count

newPrefix = parentPrefix + log₂(count)

e.g., /24 split into 4 subnets → /24 + 2 = /26

Subnet Count from Prefix

count = 2^(newPrefix − parentPrefix)

e.g., /22 split to /24 → 2^(24−22) = 4 subnets

Addresses per Subnet

size = 2^(32 − newPrefix)

e.g., /26 → 2^(32−26) = 64 addresses

Usable Hosts per Subnet

usable = size − 2 (for /1 – /30)

/31 = 2 usable (RFC 3021), /32 = 1 host route

Common Use Cases

VLAN Segmentation

Split a /20 allocation into sixteen /24 subnets — one per department or floor — for clean Layer-3 segmentation.

Cloud Subnet Planning

Divide a VPC /16 into equal /24 subnets mapped to availability zones or microservices.

Branch Office Allocation

Distribute a /22 across 4 branch offices by splitting into four /24blocks with identical host capacity.

Firewall Rule Simplification

Replace a list of host addresses with a precise subnet range to keep ACLs clean and maintainable.

Tip: Combine with VLSM for Unequal Splits
CIDR Splitting produces equal-sized subnets. If your subnets need different sizes (e.g., one segment needs 100 hosts and another needs 10), use the VLSM Calculator instead, which allocates variable-length prefixes to match exact host requirements.

Understanding the Output Fields

FieldDescription
CIDRThe subnet in slash notation (e.g., 192.168.1.0/26)
NetworkFirst address in the subnet — identifies the subnet itself
BroadcastLast address — used to reach all hosts in the subnet
First HostFirst assignable IP address (network + 1)
Last HostLast assignable IP address (broadcast − 1)
Usable HostsTotal assignable addresses (size − 2, with RFC 3021 for /31)
Subnet MaskDotted-decimal mask (e.g., 255.255.255.192 for /26)
Wildcard MaskInverse mask for Cisco ACLs (e.g., 0.0.0.63 for /26)

Special Cases and Validation

The tool enforces several validation rules to ensure correct results:

  • The parent network address must have all host bits set to zero. If you enter a host address (e.g., 192.168.1.5/24), the tool auto-corrects it to the network address (192.168.1.0/24) with a visible notice.
  • The new prefix length must be strictly greater than the parent prefix. You cannot "split" a network into a larger or equal block.
  • IPv4 prefixes are constrained to the range /0/32.
  • For performance, results above 256 subnets are paginated. The full list can always be exported as CSV.
  • /31 subnets follow RFC 3021 (point-to-point links): both addresses are usable with no dedicated broadcast address.
  • /32 is a host route: it has one address and zero traditional network/broadcast separation.
Large Split Warning
Splitting a /8 into /24 subnets produces 65,536 results. The tool caps rendering at 65,536 subnets and paginates above 256 to maintain browser performance. Use the CSV export for very large splits.

Frequently Asked Questions

Is the CIDR Splitter free?

Yes, CIDR Splitter is totally free :)

Can I use the CIDR Splitter offline?

Yes, you can install the webapp as PWA.

Is it safe to use CIDR Splitter?

Yes, any data related to CIDR Splitter only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is a CIDR Splitter?

A CIDR Splitter divides a parent IP network (specified in CIDR notation) into a set of smaller, equal-sized subnets. It's used by network engineers and administrators to allocate address space to departments, VLANs, or sites without wasting IP addresses.

How does the CIDR Splitter work?

You enter a parent network in CIDR notation (e.g., 192.168.0.0/24) and choose how to split it — either by specifying a new prefix length (e.g., /26) or by selecting the number of subnets (e.g., 4). The tool then calculates every child subnet with its network address, broadcast address, usable host range, and host count.

Why must the number of subnets be a power of 2?

CIDR splitting works by borrowing bits from the host portion of an address. Each borrowed bit doubles the number of subnets, so only powers of 2 (1, 2, 4, 8, 16, …) produce equal-sized, non-overlapping subnets that cleanly cover the entire parent block.

What is the difference between splitting by count and splitting by prefix length?

Splitting by count means you specify how many subnets you want (e.g., 4), and the tool calculates the required prefix length automatically. Splitting by prefix length means you specify the exact prefix (e.g., /26), and the tool shows every subnet of that size that fits inside the parent block.

What are the /31 and /32 special cases?

A /31 subnet follows RFC 3021 for point-to-point links and contains exactly 2 usable addresses (no broadcast). A /32 is a host route with a single address. The CIDR Splitter handles both cases correctly and labels them accordingly.

How many subnets can the tool generate at once?

The tool generates up to 65,536 subnets in a single calculation. For very large splits (more than 256 subnets), results are paginated to keep the interface responsive. You can export the full list as a CSV or TXT file for documentation purposes.