IP Subnet Calculator
IPv4 Subnet Calculation Tool
Enter an IPv4 address and CIDR prefix to calculate the network address, broadcast address, usable host range, and subnet mask.
About IP Subnetting
An IPv4 address is a 32-bit number usually written as four decimal octets. A subnet splits a network into smaller blocks using a CIDR prefix, which specifies how many leading bits identify the network. For example, /24 reserves 24 bits for the network and leaves 8 bits for hosts.
The network address is the first address in a block and the broadcast address is the last. Usable host addresses fall between them. A /31 block is used for point-to-point links and provides two usable addresses, while a /32 represents a single host with no host range.