Subnet Calculator

Split an IPv4 network into equal subnets by specifying a new prefix length.

/
Try:

How subnetting works

Subnetting divides a large network into smaller networks (subnets) by borrowing bits from the host portion of the IP address. Each additional bit borrowed doubles the number of subnets while halving the number of hosts per subnet.

ParentNew prefixSubnetsHosts/subnet
/24/252126
/24/26462
/24/27830
/24/281614
/24/30642
/16/24256254

Frequently Asked Questions

What is VLSM?

VLSM (Variable Length Subnet Masking) allows subnets of different sizes within the same network — unlike this tool which splits into equal subnets. VLSM is used when different parts of a network need different numbers of hosts.

Why can't I split into /31 or /32?

A /31 subnet has only 2 addresses (no usable hosts in traditional networking, though RFC 3021 allows point-to-point use). A /32 is a single host route. This tool limits to /30 which has 2 usable hosts.