IP Address Conversion

Clear

IP Address Validation

Clear
Spread the Word!

Detailed Explanations

Learn how to convert an IP address from its decimal form to binary and hexadecimal formats.

IP Address to Binary

Convert each octet of the IP address to its 8-bit binary equivalent.

Example: Convert 192.168.0.1 to binary.

Solution: 192 = 11000000, 168 = 10101000, 0 = 00000000, 1 = 00000001

Result: 192.168.0.1 = 11000000.10101000.00000000.00000001

IP Address to Hexadecimal

Convert each octet of the IP address to its 2-digit hexadecimal equivalent.

Example: Convert 192.168.0.1 to hexadecimal.

Solution: 192 = C0, 168 = A8, 0 = 00, 1 = 01

Result: 192.168.0.1 = C0.A8.00.01