Free tool · Network

IPv4 Subnet Calculator

Enter an IP address and a subnet mask or CIDR prefix to get the network address, broadcast address, usable host range, and everything else you'd need to plan a subnet.

e.g. 192.168.1.10
e.g. 255.255.255.0, /24, or 24
Network address
Broadcast address
CIDR notation
Usable host range
Usable hosts
Subnet mask
Wildcard mask
Total addresses
Subnet mask (binary)
IP class
Address type
Reference

Reading the results

The network address identifies the subnet itself and the broadcast address is reserved for reaching every host on it — neither is assignable to a device. Everything in between is the usable host range.

The wildcard mask is the inverse of the subnet mask, mainly useful for ACLs on Cisco-style equipment. /31 and /32 are handled as special cases per RFC 3021's point-to-point convention — no network/broadcast reservation applies at those prefix lengths.