🔍
🌐

IP Address Converter

Enter the four octets of an IPv4 address to convert it into binary, decimal, and hexadecimal formats.

How IPv4 Addresses Are Represented

An IPv4 address like 192.168.1.1 is really just a 32-bit number, split into four 8-bit ‘octets’ for human readability. Each octet can range from 0 to 255 (since 8 bits can represent 256 different values).

The Conversions

To get the binary form, each octet is converted to its 8-bit binary representation. To get the full 32-bit decimal value, the octets are combined as Octet1 × 2563 + Octet2 × 2562 + Octet3 × 256 + Octet4. The hexadecimal form is simply that decimal value written in base 16.

Understanding these conversions is useful for networking, subnetting, and understanding how routers and firewalls process addresses at a bit level.

Last reviewed August 2026