Reading IPv4 addresses in binary

Each IPv4 octet represents eight bits, with weights 128, 64, 32, 16, 8, 4, 2 and 1.

Practical example

192.0.2.1 becomes 11000000.00000000.00000010.00000001. Convert it back to verify the result.

Try it yourself

Open the related tool and compare its output with the example above.

Browse all networking guides