Developer tools

CIDR Splitter

CIDR Splitter

Split an IPv4 CIDR block into equal subnets or VLSM subnets.

About this tool

About CIDR Splitter

Carving a VPC, a data-centre block or an office network into smaller pieces is easy to get wrong by hand: one overlapping range or misaligned boundary and routing breaks. Enter the block you have, for example 10.0.0.0/16, and choose how to divide it. Number of subnets splits it into equal parts, rounding up to the next power of two and telling you when it does. New prefix lists every /24 (or any longer prefix) inside the block. Hosts (VLSM) takes a list of names and host counts, such as Servers 100 and Office 50, and gives each one the smallest block that fits, placing the largest first so every subnet stays on a valid boundary; it also shows the spare addresses in each and how much of the parent is still free. Every row lists the CIDR, first and last usable host and broadcast address, and the whole plan downloads as CSV or copies as a CIDR list for Terraform or a firewall. It all runs locally in your browser.

Built and maintained by Abhi JainUpdated

How to Split a CIDR Block

  1. 1

    Enter the network

    Type the block in Network to split (CIDR), for example 10.0.0.0/16.

  2. 2

    Pick a method

    Choose Number of subnets, New prefix or Hosts (VLSM) under Split by and fill in the value or list.

  3. 3

    Export

    Review the subnet table, then download it as CSV or click Copy CIDR list.

CIDR Splitter: questions and answers

How do I split a /24 into 4 subnets?

Four subnets need 2 extra bits (2^2 = 4), so each becomes a /26 with 64 addresses and 62 usable hosts: .0/26, .64/26, .128/26 and .192/26.

Why was my subnet count rounded up?

Equal subnets come from borrowing whole bits, so the count is always a power of two. Asking for 5 gives 8, because 2 bits only make 4. Use Hosts (VLSM) if you need subnets of different sizes.

How does VLSM allocation work here?

Each requirement gets the smallest prefix whose usable hosts cover it (a /31 for 2 hosts, a /32 for 1). Requirements are placed largest first from the start of the block, which keeps every subnet aligned and avoids gaps.

How many subnets of /26 fit in a /16?

2^(26−16) = 1,024. The table shows the first 4,096 rows of any split and the summary gives the full count.