Subnet Calculator

Calculate subnet masks, wildcard masks and host counts for IPv4 networks.

Compute the netmask, wildcard mask, network and broadcast addresses, and the number of usable host addresses for any IPv4 subnet.

Related tools

Frequently asked questions

How many usable hosts are in a /22?

2^(32-22) - 2 = 1022 usable addresses, after reserving network and broadcast.