DAILY PUZZLE · NEW EVERY DAY
SUBNETLE
One subnet a day. Work out the network, broadcast, first usable address and number of usable hosts in six tries.
Loading puzzle…
| # | Network | Broadcast | First usable | Hosts |
|---|
HOW TO PLAY
Each puzzle gives you one IPv4 address and its prefix, such as 192.168.10.100/27. That address is a host somewhere inside a subnet, and your job is to describe the subnet with four answers:
- Network address: the first address of the subnet, the one that names it in a routing table.
- Broadcast address: the last address. A packet sent here reaches every host on the subnet.
- First usable host: the lowest address you could put on a device, usually the gateway.
- Usable hosts: how many devices the subnet can hold.
You get six tries. After each one, every field is scored on its own:
- correct
- close, the answer is higher
- far off, the answer is higher
- close, the answer is lower
- far off, the answer is lower
- not a valid address or number
For an address, "close" means your guess is no more than one block size away from the answer. In a /27, where each block is 32 addresses, guessing 192.168.10.64 for a network of 192.168.10.96 scores 🔼, while 192.168.10.0 scores ⏫. For the host count, "close" means within a factor of two: if the answer is 30, a guess of 32 scores 🔽 and a guess of 62 scores ⏬. The arrows tell you which way to move, so a miss still teaches you something.
Everyone gets the same puzzle each day, based on your local date. Your streak is saved in this browser only.
HOW TO SOLVE A SUBNET
You don't need binary to solve these. You need three facts: which octet the prefix ends in, the block size in that octet, and the multiple of the block size that sits at or below the address. Subnets of a given size always start on multiples of their block size, so finding the network is just rounding down.
Step 1: find the interesting octet
Each octet covers 8 bits of the prefix. A prefix from /1 to /8 ends in the first octet, /9 to /16 in the second, /17 to /24 in the third, and /25 to /32 in the fourth. That octet is the "interesting" one. Every octet to its left is copied straight from the address, and every octet to its right is 0 in the network address and 255 in the broadcast.
Step 2: work out the block size
The block size is 256 minus the mask value in the interesting octet. A /27 mask is 255.255.255.224, so the block is 256 − 224 = 32. If you prefer powers of two: count how many prefix bits are still missing to reach the end of the octet, then raise 2 to that. For /27 that's 32 − 27 = 5 bits, and 25 = 32.
Step 3: round down, then add a block
Round the address's interesting octet down to a multiple of the block size: that's the network. Add one block to get the next network, and step back one address to get the broadcast.
Example 1: the fourth octet
Take 192.168.10.100/27. The interesting octet is the fourth, and the block size is 32, so subnets start at .0, .32, .64, .96 and .128.
- Network: 100 rounds down to 96, so the network is
192.168.10.96. - Broadcast: the next network is .128, so the broadcast is
192.168.10.127. - First usable: network + 1 =
192.168.10.97. - Usable hosts: 32 − 2 = 30.
Example 2: the third octet
Take 172.18.77.140/21. A /21 ends in the third octet with a block size of 2(24 − 21) = 8, and leaves 11 host bits, so the subnet holds 211 = 2,048 addresses.
- Network: round 77 down to a multiple of 8, which is 72. The fourth octet becomes 0:
172.18.72.0. - Broadcast: the next block starts at 72 + 8 = 80, so the broadcast is one address earlier:
172.18.79.255. - First usable:
172.18.72.1. - Usable hosts: 2,048 − 2 = 2,046.
Notice that 140 in the fourth octet didn't matter at all. Once the interesting octet is to the left, the octets after it are always 0 in the network and 255 in the broadcast.
Example 3: the second octet
Take 10.37.200.9/12. The mask is 255.240.0.0, so the block is 16 in the second octet. 37 rounds down to 32, giving a network of 10.32.0.0. The next network is 10.48.0.0, so the broadcast is 10.47.255.255 and the first usable host is 10.32.0.1. A /12 leaves 20 host bits: 220 − 2 = 1,048,574 usable hosts.
Hard mode: start from the mask
In hard mode you see a dotted mask instead of a prefix. Read it octet by octet: every 255 is 8 bits, and the last non-zero octet adds its own bits (128 = 1, 192 = 2, 224 = 3, 240 = 4, 248 = 5, 252 = 6, 254 = 7). 255.255.255.224 is 8 + 8 + 8 + 3 = /27. You can also skip the conversion: 256 − 224 gives the block size directly.
Where people slip
- Forgetting the minus two. A /24 has 256 addresses but 254 usable hosts.
- Using the block size in the wrong octet. A /21's block of 8 belongs in the third octet, not the fourth.
- Making the broadcast the next network. The broadcast is one address before the next network, so its last octet is always odd (.127, .255, .3), never .128 or .0.
- Rounding to the nearest block instead of down. 100 in a block of 32 is in the subnet starting at 96, even though 100 is near the middle of the block.
EVERY PREFIX IN THE GAME
Subnetle uses prefixes from /8 to /30. The block size is counted in the interesting octet. If you learn one part by heart, make it /24 to /30: most LAN, DMZ and point-to-point subnets live there.
| Prefix | Mask | Octet | Block | Addresses | Usable hosts |
|---|---|---|---|---|---|
| /8 | 255.0.0.0 | 1 | 1 | 16,777,216 | 16,777,214 |
| /9 | 255.128.0.0 | 2 | 128 | 8,388,608 | 8,388,606 |
| /10 | 255.192.0.0 | 2 | 64 | 4,194,304 | 4,194,302 |
| /11 | 255.224.0.0 | 2 | 32 | 2,097,152 | 2,097,150 |
| /12 | 255.240.0.0 | 2 | 16 | 1,048,576 | 1,048,574 |
| /13 | 255.248.0.0 | 2 | 8 | 524,288 | 524,286 |
| /14 | 255.252.0.0 | 2 | 4 | 262,144 | 262,142 |
| /15 | 255.254.0.0 | 2 | 2 | 131,072 | 131,070 |
| /16 | 255.255.0.0 | 2 | 1 | 65,536 | 65,534 |
| /17 | 255.255.128.0 | 3 | 128 | 32,768 | 32,766 |
| /18 | 255.255.192.0 | 3 | 64 | 16,384 | 16,382 |
| /19 | 255.255.224.0 | 3 | 32 | 8,192 | 8,190 |
| /20 | 255.255.240.0 | 3 | 16 | 4,096 | 4,094 |
| /21 | 255.255.248.0 | 3 | 8 | 2,048 | 2,046 |
| /22 | 255.255.252.0 | 3 | 4 | 1,024 | 1,022 |
| /23 | 255.255.254.0 | 3 | 2 | 512 | 510 |
| /24 | 255.255.255.0 | 3 | 1 | 256 | 254 |
| /25 | 255.255.255.128 | 4 | 128 | 128 | 126 |
| /26 | 255.255.255.192 | 4 | 64 | 64 | 62 |
| /27 | 255.255.255.224 | 4 | 32 | 32 | 30 |
| /28 | 255.255.255.240 | 4 | 16 | 16 | 14 |
| /29 | 255.255.255.248 | 4 | 8 | 8 | 6 |
| /30 | 255.255.255.252 | 4 | 4 | 4 | 2 |
For the full method, worked examples and more tables, see the guides: subnetting by block size, the CIDR cheat sheet and usable hosts by prefix.
FAQ
Why do you subtract 2 from the host count?
In every subnet from /8 to /30, the lowest address names the network itself and the highest is the broadcast address. Neither can be given to a device, so a /27 has 32 addresses but only 30 usable hosts.
Does Subnetle ever use a /31 or a /32?
No. Puzzles use prefixes from /8 to /30, the range where the classic rules apply. In real networks a /31 gives two usable addresses on a point-to-point link (RFC 3021) and a /32 is a single host route, such as a loopback.
What does Daily hard change?
Hard mode gives the mask in dotted decimal, such as 255.255.240.0, instead of a slash prefix, so you have to convert it first. It is a separate puzzle with its own address, not the normal puzzle written differently.
When does a new puzzle come out?
At midnight on your device's local calendar date. Puzzle #1 was 7 October 2026, and everyone on the same date gets the same puzzle number and address.
Where are my guesses and streak stored?
Only in this browser's local storage. Nothing you type into Subnetle is sent to a server, and clearing your site data resets your streak.
Can I just use a subnet calculator?
In production, yes, and you should double-check important changes with one. Subnetle is practice for the times you can't: certification exams that ban calculators, and outages where you need to read a config at a glance.