11/20/2025
IPv4 Bit Counting System!
Every IPv4 address is made up of 4 numbers (octets), and each octet contains 8 bits.
The bits represent specific values: (128, 64, 32, 16, 8, 4, 2, 1).
By adding the values of the bits that are set to 1, we get the decimal number we normally see.
đšī¸ Example: 192.168.1.1
â 192 â 11000000 â 128 + 64 = 192
â 168 â 10101000 â 128 + 32 + 8 = 168
â 1 â 00000001 â 1
â 1 â 00000001 â 1
This binary-to-decimal conversion is how computers store and process IP addresses, even though we humans read them in decimal form for simplicity.
đšī¸ Knowing this helps in:
â Subnetting & network design
â Troubleshooting IP-related issues
â Understanding how data travels across networks