whatsmyip.tr

Tools / Subnet calculators

Subnet Calculator

Divide a network into equal subnets and list each one with its usable range.

Larger than the current prefix

How subnetting works

Subnetting borrows bits from the host part of an address and uses them to number smaller networks. Splitting 10.0.0.0/22 into /24 networks borrows two bits, giving 2² = 4 subnets of 256 addresses each: 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24 and 10.0.3.0/24.

Planning tips

Questions and answers

How do I choose the new prefix length?

Each bit you add to the prefix doubles the number of subnets and halves their size. To get at least N subnets, add enough bits that 2 to that power is N or more: 4 subnets need 2 extra bits, so a /24 becomes four /26 networks. To fit H hosts per IPv4 subnet, the subnet needs at least H + 2 addresses.

Can subnets be different sizes?

Yes, that is variable-length subnet masking (VLSM). This tool makes equal-size subnets. For unequal sizes, split the network once, then split one of the resulting subnets again.

Why does the list stop at 256 subnets?

A large split can produce millions of subnets. The tool reports the exact total and lists the first 256; every further subnet follows the same step.