Hub vs Switch vs Router — Key Differences Explained
A hub broadcasts every frame to all connected ports (Layer 1, no intelligence). A switch forwards frames only…

Enter any IPv4 address below to instantly convert it to binary, hexadecimal, and decimal. Perfect for CCNA exam prep and subnetting practice.
| Decimal | Binary | Hex | Common Use |
|---|---|---|---|
| 0 | 00000000 | 00 | Network/host portion (off) |
| 128 | 10000000 | 80 | /1 subnet bit |
| 192 | 11000000 | C0 | /2 subnet bits |
| 224 | 11100000 | E0 | /3 subnet bits |
| 240 | 11110000 | F0 | /4 subnet bits |
| 248 | 11111000 | F8 | /5 subnet bits |
| 252 | 11111100 | FC | /6 subnet bits |
| 254 | 11111110 | FE | /7 subnet bits |
| 255 | 11111111 | FF | Full octet (all bits on) |
Understanding binary is fundamental to networking. When you convert IP addresses to binary, you can visually see how subnet masks work — the 1s in the subnet mask identify the network portion, and the 0s identify the host portion. This is the foundation of subnetting and is heavily tested in CCNA and Network+ exams.
An IPv4 address consists of four octets (8-bit groups) separated by dots. Each octet can have a value from 0 to 255. To convert to binary, each octet is converted independently to its 8-bit binary representation. For example, the IP address 192.168.1.1 converts to 11000000.10101000.00000001.00000001 in binary.
192 = 11000000, 168 = 10101000, 1 = 00000001, 1 = 00000001. So 192.168.1.1 in binary is 11000000.10101000.00000001.00000001.
All networking devices operate in binary. Subnet masks, IP addresses, and routing decisions are all based on binary AND operations. Understanding binary is essential for subnetting and NAT configuration.
255.255.255.0 in binary is 11111111.11111111.11111111.00000000 — this is the subnet mask for a /24 network.