IP to Binary Converter — Free Online IPv4 Address to Binary

Convert IPv4 addresses to binary notation for subnetting, CIDR calculations, and network analysis — supports both directions.

100% Client-Side — Your data never leaves your browser
Result appears here
Common Values

Frequently Asked Questions

IPv4 Address Binary Representation for Subnetting

Every IPv4 address is a 32-bit binary number, conventionally displayed in dotted-decimal notation for human readability. Understanding the binary representation is fundamental to subnetting, CIDR calculations, and network security (ACLs, firewall rules, routing).

Each of the four octets (0–255) is an 8-bit binary number. 192.168.1.100 in binary is 11000000.10101000.00000001.01100100. A /24 subnet mask (255.255.255.0) in binary is 11111111.11111111.11111111.00000000. ANDing these gives the network address: 11000000.10101000.00000001.00000000 = 192.168.1.0.

For network engineers: the prefix length in CIDR notation directly counts the leading 1-bits in the subnet mask. /16 = 16 ones = 255.255.0.0. /28 = 28 ones = 255.255.255.240. Hosts in the subnet differ only in the trailing 0-bit positions of the mask.

Related Tools