Subnet Calculator

Network address, broadcast address, subnet mask, wildcard mask and usable host range for any IPv4 CIDR.

/

About this calculator

Everything that follows from an IPv4 address + CIDR prefix — including the /31 and /32 edge cases most calculators get wrong.

Network vs. broadcast vs. usable hosts

The first address is the network address, the last is broadcast — neither is assignable. That's why a /24 has 256 total but only 254 usable hosts.