Tested tool guide
Tested browser tools
Checked August 16, 2026
What Subnet Calculator does, with a checked example
Enter an IPv4 address and a prefix length, and this tool returns the facts that define the subnet containing that address: the network address, the broadcast address, the usable host range, and the same mask written as CIDR notation. Everything follows from one bit-level rule - the prefix fixes how big the block is, and the address you typed only decides which block you are in. The surprise most people hit: the subnet does not start at the address they entered, and the usable host count is always two less than the block size.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
Network address: 192.168.1.0
Broadcast address: 192.168.1.63
Usable host range: 192.168.1.1 - 192.168.1.62
Usable hosts: 62
Netmask: 255.255.255.192 (/26)
A /26 prefix fixes the block at 64 addresses (2^(32-26)), and 37 falls inside the block that starts at 192.168.1.0 and ends at 192.168.1.63. The first and last addresses are reserved as network and broadcast, leaving 62 usable addresses.