Convert an IPv4 address between dotted-decimal, binary and hexadecimal notation.
Google AdSense Banner
This area will contain advertisements after approval.
Google AdSense Banner
This area will contain advertisements after approval.
An IPv4 address is really just a 32-bit number, dotted-decimal notation (like 192.168.1.1) is simply the most human-readable way to display it. This converter parses your input in whichever format you select, reconstructs the underlying 32-bit value, then formats that same value as decimal, binary and hexadecimal.
Binary representation makes it easy to see exactly which bits are part of the network portion versus the host portion when working with subnetting, since subnet masks operate directly on these bits. Hexadecimal is commonly seen in low-level networking tools, packet captures and some router or firewall configuration formats.
Yes, select the format you're starting from (decimal, binary or hex) in the Input Format field, and the calculator will show the equivalent value in all three formats.
Binary input should be 32 digits of 0s and 1s, optionally grouped with periods into four 8-bit octets. Hex input should be 8 hex digits, optionally grouped with periods into four 2-digit octets, or prefixed with '0x'.
Subnet Calculator
Calculate network address, broadcast address, usable host range and more from an IP and subnet mask.
Hex to RGB / RGB to Hex Converter
Convert between hex color codes and RGB values, both directions.
Google AdSense Banner
This area will contain advertisements after approval.