Split a CIDR block into subnets, see the bit-level math behind every mask, and test yourself with a quick practice quiz.
Network input
Bit-level breakdown
Drag the slider to see how the network/host boundary shifts — this is exactly what a router looks at when it applies a subnet mask.
Private network classes — efficient allocation examples
For practical private IPv4 planning, this tool uses the familiar private blocks 10.0.0.0/8 (A-style), 172.16.0.0/12 (B-style), and 192.168.0.0/16 (C-style). Choose the block that fits the network size, then subnet it with the smallest blocks that satisfy each host requirement. Use VLSM when different departments need different numbers of hosts so unused addresses are minimized.
Test what you've learned
All IP addresses
IP addresses for each created subnet