Network

Subnet Calculator

Split an IPv4 network into equal-size subnets: full list of blocks, masks, broadcasts and usable ranges.

Must be longer than the starting prefix (e.g. /24 to /26).

How it works

Fixed-length subnetting (FLSM) borrows bits from the host part to create several smaller networks. Moving from a /24 to a /26 borrows 2 bits: 2² = 4 subnets of 64 addresses each (62 usable hosts).

Each subnet has its own network address, broadcast and usable range. This method is simple but wastes addresses when requirements are uneven: prefer VLSM in that case.

Examples

4 services in a /24

4 subnets of 62 hosts.

network192.168.1.0/24
new_prefix26
Load this example

Fine-grained split

256 subnets of 254 hosts.

network10.0.0.0/16
new_prefix24
Load this example

Frequently asked questions

How do you choose the new prefix?

Estimate the number of hosts per subnet, add 2 (network + broadcast) and round up to the next power of 2. The tool shows the result for each prefix.

What is the difference from VLSM?

Fixed subnetting creates identical subnets; VLSM adapts the size of each block to the actual requirement.

Why 62 hosts in a /26?

64 addresses minus the network and broadcast addresses = 62 usable hosts.