1. Home
  2. Domain & Network
  3. Subnet Calculator

IPv4 Subnet Calculator

Calculate the network, broadcast address and usable hosts of an IPv4 CIDR block.

Runs in your browser Free, no sign-up
IPv4 address, a slash, then the prefix length from 0 to 32.

Usable hosts

For a prefix of 30 or less, the first and last addresses are the network and the broadcast, so they are not counted as hosts. A /31 is a point-to-point link and both addresses are usable. A /32 is a single address.