Tested tool guide
Tested browser tools
Checked August 16, 2026
What Subnet Calculator does, with a checked example
A CIDR block becomes a set of concrete IPv4 or IPv6 boundaries: its network address, mask or prefix length, final address, and the IPv4 broadcast and host interval where applicable. Entering a host address with a prefix is valid; the calculator clears the host bits to find the containing subnet. The common surprise is that 192.168.1.10/24 falls within 192.168.1.0/24, rather than defining a network beginning at .10. IPv6 results differ because IPv6 has no broadcast address.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
Network address: 192.168.1.0
Subnet mask: 255.255.255.0
Broadcast address: 192.168.1.255
Host range: 192.168.1.1 - 192.168.1.254
A /24 fixes the first 24 bits and leaves 8 host bits. Setting those 8 bits to zero gives .0, setting them to one gives .255, and the conventional usable IPv4 host range lies between those addresses.