Subnet calculator
Runs in your browser. Nothing you enter is sent anywhere, and the page’s security policy stops it from contacting other sites.Enter an IPv4 or IPv6 network, like 10.20.0.0/22,192.168.1.10 255.255.255.0 or 2001:db8::/48, then divide it into smaller subnets below.
Divide
Split into cuts the whole block into equal subnets, up to 256 of them. Divide splits one subnet into two halves, down to single addresses, and clicking a prefix in the Join columns merges everything under it back together. The link in your address bar keeps the layout, so you can bookmark or share it.
Subnet
Hosts
Join