Split CIDR into N Equal Subnets
Split a CIDR block into N equal-sized subnets — a one-page visual VLSM calculator.
—
Splitting a block into equal subnets
Splitting an address range into equal parts is the calculation that shows up every time someone builds a VPC, separates production from staging or hands blocks out to branch offices. The rule is short: every time the prefix grows by one bit, the block halves. A /24 becomes two /25s, four /26s, eight /27s, and onwards.
Enter the base block and how many subnets you want and the page returns the list, with the first and last address of each. The number of parts has to be a power of two, because the division happens by bits — there is no splitting a block into three equal parts in CIDR, and the page refuses rather than rounding silently. It also refuses when the resulting prefix would exceed 32.
Two sums regularly cause confusion. A block's address count is two to the power of thirty-two minus the prefix, but not all of them are usable: in an ordinary subnet the first is the network address and the last is broadcast, which leaves a /24 with 254 hosts rather than 256. And cloud providers reserve a few more in every subnet — AWS, for instance, takes five.
Frequently asked questions
Why does it have to be a power of two?
Do all subnets have to be the same size?
Can I use /31 and /32 as subnets?
Related Tools
Summarize CIDR Blocks to Supernet
Aggregate multiple IPv4 CIDR blocks into the smallest supernet that contains them all — free online tool for network admins.
IPv6 CIDR Visual Explainer
Explain an IPv6 prefix visually: hex breakdown, address count, expanded/compressed range — quick reference for SREs.
Convert IP Range to CIDR List
Convert an IP range (start and end) into the smallest list of equivalent CIDR blocks. An essential tool for configuring firewalls, ACLs and network rules.
Overlapping CIDR Detector
Detect overlapping or duplicate CIDR blocks in a list — useful for firewall reviews, AWS Security Groups and ACLs.
Shamir Secret Sharing (Split & Combine)
Splits a secret into shares with Shamir's scheme and rebuilds the original from the minimum number of shares. Runs in your browser.
Trifid Cipher
Encodes each letter of a message as its three coordinates in the 3x3x3 Delastelle grid, the fractionation step that the Trifid cipher is built on.