IP & Domain Tools

Subnet Split Calculator (Equal Subnets)

Divide a parent network into the number of equal subnets you need.

Your numbers

Your results

New prefix
New prefix
—
New subnet mask
—
Subnets available
—
Usable hosts per subnet
—
Subnet 1
—
Subnet 2
—
Last subnet
—

Subnet Split Calculator (Equal Subnets) by TheCalcTools

How the Subnet Split Calculator (Equal Subnets) works

Enter the parent network address and prefix.

The number of extra bits is log₂ of the subnets needed, rounded up.

Each subnet gets a block of 2^(32 − new prefix) addresses.

The formula

New prefix = parent prefix + ceil(log₂ subnets)

Worked example

Using the default values shown in the calculator:

Octet 110
Octet 220
Octet 30
Octet 40
Parent prefix (/n)16
Subnets needed10
  1. 10 subnets need ceil(log₂ 10) = 4 extra bits, giving 16 subnets of /20.
  2. Subnet 1 is 10.20.0.0/20, subnet 2 is 10.20.16.0/20 and the last is 10.20.240.0/20.

Result:

New prefix/20
New subnet mask255.255.240.0
Subnets available16
Usable hosts per subnet4,094
Subnet 110.20.0.0/20
Subnet 210.20.16.0/20
Last subnet10.20.240.0/20

Frequently asked questions

Why do I get more subnets than I asked for?

Subnet counts are powers of two, so 10 subnets need 4 bits and give 16.

Sources and further reading

More in IP & Domain Tools · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.