IPv4 Subnet Calculator – Network, Broadcast & Host Range

Enter an IP and mask to get the network address, broadcast address, usable host range, host count, wildcard mask and binary mask. Supports /31, /32 and pasted CIDR notation.

Compare a second IP (optional)

Click to copy

Enter an IP and mask; results appear here instantly

How it works

Network = IP AND mask. Broadcast = network with all host bits set to 1. Usable hosts = total − 2, except /31 and /32.