Networking

IPv4 Subnet Calculator

Turn an IP and CIDR or mask into network, broadcast, host range and usable count.

IP address and subnet

You can also paste CIDR here, e.g. 10.1.1.5/24.

Reading the results

Enter any address in the subnet and choose a mask (prefix length). The summary describes the subnet that contains your address, and the Subnet list shows that subnet plus the consecutive subnets of the same size that follow it — handy when you're carving a block into equal pieces. Use Copy table to drop the list straight into a spreadsheet or change ticket.

  • Network address — the first address in the block (host bits all zero); it names the subnet.
  • Broadcast address — the last address (host bits all one); traffic sent here reaches every host.
  • Usable host range — the addresses you can assign to devices, between network and broadcast.
  • Wildcard mask — the inverse of the subnet mask, used in ACLs and OSPF.

The /31 and /32 cases

A /32 is a single host. A /31 carries two addresses with no broadcast; per RFC 3021 both are usable, which is why point-to-point links commonly use it. For every prefix of /30 or shorter, two addresses are reserved (network and broadcast), so usable hosts = 2(32−prefix) − 2.

These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.