Subnet calculator

IPv4 and IPv6 CIDR maths: network, broadcast, host range, mask, wildcard, address type and subnet splitting.

Runs on your device. Nothing is uploaded.

Cheat sheet

/24 is 256 addresses and 254 hosts, /25 gives 126, /26 62, /27 30, /28 14, /29 6, /30 2 (point-to-point links can use /31). Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16; 100.64.0.0/10 is carrier-grade NAT, meaning you do not have a public IP.

In IPv6 a LAN subnet is a /64, and providers usually hand out a /48 or /56. fe80::/10 addresses are link-local, fc00::/7 are private.

More tools