CIDR Calculator
Calculate network address, broadcast, subnet mask, and usable hosts from an IP/CIDR.
Divide an IP network into subnets by specifying the number of subnets or required hosts per subnet. Supports VLSM (Variable Length Subnet Masking).
A tool for dividing an IP network into multiple subnets to meet your design requirements.
It streamlines network design, VLAN planning, and router configuration tasks.
A visual bar below the results shows the relative sizes of each subnet. Particularly useful in VLSM mode to see how address space is allocated at a glance.
Subnetting is the process of dividing a larger IP network into multiple smaller subnetworks. For example, splitting 192.168.0.0/24 into four /26 subnets creates four independent networks, each able to accommodate 62 hosts.
VLSM (Variable Length Subnet Masking) allows different subnet mask lengths to be used within the same network, so each subnet can be sized to exactly meet its host requirements. This minimizes wasted address space.
The tool finds the smallest power of 2 that is greater than or equal to the requested number of subnets, then adds the required subnet bits to the parent prefix. For example, dividing a /24 into 4 subnets adds 2 bits, resulting in /26.
The tool calculates the minimum subnet size that can hold the specified number of hosts (plus 2 for the network and broadcast addresses), then lists as many subnets as fit within the parent network.
The tool supports subnet division up to /30. Prefixes /31 and /32 are excluded as they are reserved for point-to-point links and single-host routes respectively.