Conversion
IPv4 to Binary
Convert an IPv4 address or CIDR network to 32-bit binary, with the corresponding mask if a prefix is provided.
How it works
Each octet of an IPv4 address corresponds to 8 bits, whose values range from 128 to 1. Converting 192 to binary gives 11000000, that is 128 + 64.
Understanding binary is essential to master subnetting: the mask determines which bits identify the network. This tool is the exact counterpart of the binary to IPv4 converter.
Examples
Frequently asked questions
Why 8 bits per octet?
One octet is 8 bits and can therefore represent 256 values (0 to 255), which corresponds to one decimal number of the IPv4 address.
What is binary used for in networking?
To understand masks, ranges, ACLs and how routing algorithms work.