Tested tool guide
Tested browser tools
Checked August 16, 2026
What IP Subnet Calculator does, with a checked example
Given an IPv4 or IPv6 address with a prefix length, IP Subnet Calculator identifies the containing subnet and expresses its mask, network address, and address span. For IPv4, it also determines the broadcast address and the conventional usable host range between the network and broadcast values. The common surprise is that the entered address need not be the network address. The calculator clears its host bits to find the subnet boundary. IPv6 has no broadcast address, so that IPv4 result does not apply to an IPv6 prefix.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
Subnet mask: 255.255.255.192
Network CIDR: 192.168.1.128/26
Network address: 192.168.1.128
Broadcast address: 192.168.1.191
Usable host range: 192.168.1.129 - 192.168.1.190
A /26 leaves 6 host bits, so each block contains 2^6, or 64, addresses. The block containing 130 runs from 128 through 191; excluding those two IPv4 boundary addresses leaves 129 through 190, which is 62 conventional host addresses.