Convert IP Address to Binary & Decimal
Understanding IP addresses in binary form is essential for network engineering, subnetting calculations, and firewall rule design. Converting between dotted-decimal notation, binary octets, and hexadecimal is a skill network engineers use daily when designing subnets, writing ACLs, and troubleshooting routing issues. This tool converts any IPv4 address between decimal, binary, and hexadecimal representations instantly, showing the individual octets in each format. It also calculates subnet mask properties when a CIDR prefix length is provided. Everything runs in your browser with no dependencies.
Dotted Decimal192.168.1.1
Binary11000000.10101000.00000001.00000001
HexadecimalC0A80101
Integer (32-bit)3232235777
FAQ
- How do I convert an IP address to binary?
- Each of the four decimal octets is converted to its 8-bit binary equivalent independently. For example, 192.168.1.1 becomes 11000000.10101000.00000001.00000001.
- What is the hexadecimal representation used for?
- Hex IP addresses appear in network protocol headers, routing table outputs, some firewall rule formats, and Windows registry network settings.
- Can this handle IPv6 addresses?
- The tool focuses on IPv4 conversion. For IPv6, use a dedicated IPv6 calculator that handles 128-bit addresses and expansion of compressed notation.