ZapKit

Subnet splitter

Plan an address scheme: split a block such as 10.20.0.0/22 into equal subnets for offices, VLANs or cloud networks, and list every range.

What is a subnet splitter?

A subnet splitter divides one IPv4 network into several smaller, equal subnets. It's the core of IP address planning: carving a company's allocation into a subnet per site, VLAN, department or cloud availability zone without any ranges overlapping.

Enter the parent network in CIDR notation and choose how to split it: the number of subnets you need, the number of usable hosts each must hold, or a new prefix length. The result gives the number of subnets, their mask and size, and a table of every subnet with its usable range, broadcast address and host count.

How to use the Subnet splitter

  1. 1.Enter the network

    With its prefix, like 10.20.0.0/22.

  2. 2.Choose how to split

    By number of subnets, hosts each needs, or the new prefix.

  3. 3.Copy the table

    Every subnet with its usable range and broadcast.

Example: six VLANs from a /22

Splitting 10.20.0.0/22 into at least 6 subnets:

Result
8 subnets of /25, mask 255.255.255.128
Hosts each
126
First / last
10.20.0.0/25 … 10.20.3.128/25

extra bits = ⌈log₂ 6⌉ = 3, so /22 + 3 = /25

Six VLANs get a /25 each, with two spare subnets for later.

Rounding to powers of two

Subnets must be powers of two in size, so requests round up. Asking for 6 subnets from a /22 gives 8 subnets of /25, because 6 needs 3 extra network bits. Asking for 50 hosts each gives /26 subnets with 62 usable addresses, since 50 hosts plus the network and broadcast addresses need 64.

The list shows up to 512 subnets; summary figures always cover the full split. If you need subnets of different sizes, split the largest first and then split one of its pieces again.

Frequently asked questions

Why did I get more subnets than I asked for?

Subnet counts must be powers of two, so 6 rounds up to 8. Leave the spares for growth.

Can subnets be different sizes?

Not in one split. Split again inside one of the results for variable-length subnetting.

Does it work for cloud VPCs?

Yes, but cloud providers often reserve extra addresses in each subnet, such as AWS reserving 5.

Can I copy the results?

Yes. Copy result includes the summary, and the table can be selected and pasted into a spreadsheet.

More Developer tools