Why binary is essential
When someone starts learning subnetting, the same thing happens very often: they learn steps, tables, or quick tricks, but still feel as if they are memorizing without really understanding what is happening.
There is a very specific reason for that: subnetting is not based on decimal numbers. It is based on binary.
In this article you will see why binary is essential for understanding subnetting, without complicated mathematics and with clear examples so the pieces begin to fit together.
The big problem: IP addresses do not think in decimal
When you see an IP address such as 192.168.1.10, your brain reads it as four decimal numbers separated by dots.
That is normal because it is the human-friendly notation we are used to.
But network devices do not see it that way. Routers, switches, and operating systems work internally in binary, using only zeros and ones.
What an IP address really is
An IPv4 address contains 32 bits. Those 32 bits are divided into four groups of 8 bits called octets.
For example, 192.168.1.10 looks like this in binary:
11000000.10101000.00000001.00001010
Subnetting divides bits, not numbers
When you subnet a network, you are not saying “I will divide this IP into X parts.” What you are actually doing is deciding how many bits identify the network and how many bits remain available to identify hosts.
That only becomes intuitive when you understand what a bit is, what 0 and 1 mean, and which bits are fixed versus which can change.
Subnet masks only make full sense in binary
A mask such as 255.255.255.0 looks simple in decimal, but its real meaning appears in binary:
11111111.11111111.11111111.00000000
Bits set to 1
They represent the network portion.
Bits set to 0
They represent the host portion.
/24 means “24 one-bits for the network and 8 zero-bits for hosts.”Why subnetting gets memorized and forgotten without binary
Many people learn subnetting by memorizing increment tables or quick rules. For example: “with a /26 mask, the block size is 64.”
That can work in the short term, but when the context changes or you start mixing FLSM with VLSM, uncertainty appears. And if someone asks you why something works, you may not be able to explain it.
Simple example: why /26 increments by 64
Many courses teach that a /26 mask increments by 64 in the last octet.
Let us see why that happens in binary.
The last octet of a /26 mask is:
11000000
That value represents 128 + 64, which is 192 in decimal.
This means the first two bits of the last octet belong to the network while the remaining six can vary for hosts.
0, 64, 128, and 192.
Without binary it can look like magic. With binary it is pure logic.
Network, broadcast and hosts: universal rules
When you work in binary, you can always apply the same rules:
Network address
Set all host bits to 0.
Broadcast
Set all host bits to 1.
Valid hosts
Everything between those two addresses.
It always works
The rule is the same for /29, /21, or any other prefix.
VLSM is extremely difficult without binary
VLSM uses different masks according to the needs of each subnet. To do it correctly, you need to know how many bits are required for a specific number of hosts and how those bits fit inside the IP address.
That is why people who understand binary usually have far fewer problems with VLSM.
You do not need to be good at math
A common mistake is thinking that binary requires strong mathematics or programming skills. It does not.
You only need to understand that each bit can be 0 or 1, that each position has a fixed value
(128, 64, 32, 16, 8, 4, 2, 1), and then practice a little.
What to learn next
Decimal is the language humans normally use. Binary is the underlying language of networks. Subnetting is, in essence, a conversation in binary.