Subnet Splitting Calculator – Split a Network into Equal Subnets

Subnet Splitting Calculator

Split one IPv4 network into equal-sized subnets by borrowing host bits. Enter a base network and prefix, choose how many equal subnets you want or a target new prefix, and get the new prefix length, subnet count, hosts per subnet, and a full enumeration of every child block with its network, first host, last host, and broadcast.

🌐Choose a Split Method

🎯Real Subnet Splitting Presets

📝Split Inputs

The parent block address, for example 192.168.10.0. It is realigned to the base prefix.

The prefix of the parent you want to split.

Rounded up to the next power of two if needed.

Must be longer than the base prefix.

Long splits are capped so the table stays readable.

First host and last host columns in the child list.

New prefix /26 borrowed bits added to base
Number of subnets 4 equal-sized child blocks
Hosts per subnet 62 usable addresses each
Block size 64 total addresses per subnet

🔢Split Formula Snapshot

bceil log2 k
mn + b
2^bsubnets
2^(32-m)block size

📋Bits Borrowed to Subnets and Hosts

Bits BorrowedNew Subnets 2^bPrefix from /24Block SizeUsable Hosts
01/24256254
12/25128126
24/266462
38/273230
416/281614
532/2986
664/3042
7128/3120 (2 ptp)

📊Splitting a /24 into Equal Subnets

New PrefixSubnets MadeBlock SizeUsable HostsFirst Two Blocks
/252128126.0/25, .128/25
/2646462.0/26, .64/26
/2783230.0/27, .32/27
/28161614.0/28, .16/28
/293286.0/29, .8/29
/306442.0/30, .4/30

🔢Powers of Two Reference

Exponent b2^b SubnetsHost Bits Left (from /24)Addresses per Subnet
018256
127128
24664
38532
416416
53238
66424
825601

🗃Split Comparison Grid

ParentNew PrefixBits BorrowedSubnetsBlock SizeUsable HostsExample Child
/24/2624646210.0.0.64/26
/24/28416161410.0.0.16/28
/24/306644210.0.0.4/30
/23/241225625410.0.1.0/24
/22/242425625410.0.2.0/24
/20/2441625625410.0.8.0/24
/16/24825625625410.0.5.0/24
/25/2838161410.0.0.48/28
/26/29388610.0.0.24/29
/27/30384210.0.0.12/30

⚙Formula Breakdown

Borrowed bits b = ceil(log2 k)To make k equal subnets, borrow enough host bits so 2^b is at least k. Splitting into 4 needs b = ceil(log2 4) = 2 borrowed bits.
New prefix m = n + bAdd the borrowed bits to the base prefix. A /24 with 2 borrowed bits becomes a /26 for every child subnet.
Number of subnets = 2^bEach borrowed bit doubles the count. Two bits give 2^2 = 4 equal subnets carved from the one parent block.
By target prefix: 2^(m - n)If you pick the new prefix directly, the subnet count is 2 raised to the prefix difference. From /24 to /26 gives 2^2 = 4.
Block size = 2^(32 - m)The address span of each child. A /26 has 2^(32-26) = 2^6 = 64 addresses, so children start at .0, .64, .128, .192.
Child network = base + i x blockNumber the children i = 0, 1, 2 and multiply the index by the block size. Child 2 of a /26 split starts 128 addresses into the parent.
Hosts per subnet = block - 2Reserve the network and broadcast address. A /26 block of 64 leaves 64 - 2 = 62 usable hosts for prefixes of /30 or shorter.

💡Subnet Splitting Tips

Splits come in powers of two: You can only divide a block into 2, 4, 8, 16, 32, and so on, because each borrowed bit doubles the subnet count. If you need 5 equal subnets you must borrow 3 bits to get 8 blocks, then leave 3 of them unused, since 2 bits give only 4.
Watch the block boundary: Child subnets start on multiples of the block size, never in between. For a /26 split the block size is 64, so valid networks end in .0, .64, .128, and .192; an address like .100/26 is inside a block, not the start of one.

Imagine you fold up a piece of paper in half again and again, creating smaller and smaller equal sections. That’s what happens when you split a network. You begin with a chunk of IP space (one block), then borrow bits to divide it into equal-sized subnets in powers of two. Above is a tool that does the math for you. No need to crunch numbers yourself! If you do, you will inevitabley make little mistakes that cost hours to correct.

Using host bits, this tool break up your parent block into even-sized chunks called “subnets.” It gives back a list of each child block, how many subnets there are, and new prefix. This comes in handy whenever you want to split up a spare /24 into point-to-point links, or carve out a department block for use on VLANs.

How to Split a Network into Subnets

IPv4 addresses is 32 bits in length. An IPv4 address with a /24 prefix indicates that the first 24 bits define the network and the last 8 bits are used for host addresses. When you “split” an address, you take some host bits and turn them into network bits. For every bit you move from host-to-network, you double the number of subnets created. Borrowing one bit makes parent go half-half. Two bits = quarters. Three bits gives you eight subnet.

No. Because each bit is either zero or one (binary), there are always power-of-two splits: 2, 4, 8, 16… You can’t divide something into thirds with no waste. Many novices gets thrown off by this rule, imagining they’ll choose any number they want. Here’s the quick and precise math. You want to divide your parent n into k subnetworks. Let b = ceiling(log2(k)). Then your new prefix will be m = n+b and you will have 2^b subnetworks.

On the other hand, if you want to specify your new prefix first, the tool figures out how many blocks it yields: specifically, it determines the difference between your old and new prefixes. Since each block represent a fixed number of addresses, we call that the block size. It’s 2^(32-m), where m is your new prefix. Remember, the total number of usable hosts in each subnet = blocksize, 2. This may not seem important now. But once you start packing in hosts with narrow ranges, it begin to matter.

The other half is what do you plug into your router? You’re supposed to know the IP range. The calculator does it for you. It shows child number, starting from zero. Then it shows the child network address, which is parent base plus i * blocksize. So if you have a /24 subnetted into four /26s, the block size is 64. And you start from offsets 0, 64, 128, and 192.

It displays in each block the network address, the first and last usable host, and the broadcast address. A list that will turn an abstract prefix into something you can cut-and-paste directly into config files. Newcomers often make two errors. One is that subnets must start from boundary of blocks. Thus for a /26, the possible networks are those ending in.0,.64,.128, and.192… 100/26 is within a block; it doesn’t start a block. It’s not allowed to start a subnet somewhere random that doesn’t line up with the underlying binary math.

The second error is making a count that is not a power of two unless you want to waste addresses. Five equal subnets? Then you have to borrow three bits, get eight, and then throw away three. Only two bits gives you four. The calculator handles both problems automatically by rounding your desired count up to the next power of two and then adjusting your base address to the parent prefix.

You get a quick rundown of the block size, number of subnets, hosts per subnet and the new prefix from reading result cards. Then below, the breakdown panel fills out all the formulas to replace your specific numbers so you can trace the reasoning a line at a time. The reference tables include the bits-borrowed chart along with worked examples from /25 to /30. This allows you to see at a glance how rapidly your address space shrinks when borrowing more bits. Doing subnetting right here saves you from chasing after silent routing failures later.

The start of a clean network design. This tool combines exacting bit math with live enumeration of each child block to convert a parent network to a list of equal subnets, instantly ready for deployment. Use it if you’re an engineer slicing a supernet or if you’re a student learning about CIDR: You’ll get boundary-correct, accurate subnets every time. It would of helped too.

Subnet Splitting Calculator – Split a Network into Equal Subnets