The IPv4 Binary Network Guide
Understanding how IP addresses break down into 32 bits of binary data for subnetting and routing.
1. What is an IPv4 Address?
An IPv4 address is technically a single 32-bit number. To make it readable for humans, we split this massive 32-bit string into four 8-bit chunks called octets. We convert each 8-bit chunk into a decimal number, and separate them with a dot. This format is called "dotted-decimal notation."
2. How the Visualizer Works
When you input an IP address like 192.168.1.1, our script splits the string by the periods. It then converts each of those decimal numbers into an 8-bit padded binary string. For example, 192 becomes 11000000.
This layout is extremely useful for calculating subnet masks, network addresses, and broadcast addresses when learning networking (CCNA, Network+, etc).
3. Common Class Subnets
| Class | Subnet Mask | Binary Representation |
|---|---|---|
| A | 255.0.0.0 | 11111111.00000000.00000000.00000000 |
| B | 255.255.0.0 | 11111111.11111111.00000000.00000000 |
| C | 255.255.255.0 | 11111111.11111111.11111111.00000000 |