Skip to content
Calcrivo

Binary IP Converter

Convert a dotted-decimal IPv4 address into its full binary representation, octet by octet.

Inputs

Dotted-decimal address, e.g. 192.168.1.10

Binary (Dotted)

11000000.10101000.00000001.00001010

Binary (32-bit continuous)

11000000101010000000000100001010

Octet Breakdown

192 → 11000000 | 168 → 10101000 | 1 → 00000001 | 10 → 00001010

Step by step

  1. Values used

    IPv4 Address = 192.168.1.10

  2. Octet to binary

    Each decimal octet (0–255) maps to an 8-bit binary value

  3. Binary (Dotted)

    = 11000000.10101000.00000001.00001010

  4. Binary (32-bit continuous)

    = 11000000101010000000000100001010

  5. Octet Breakdown

    = 192 → 11000000 | 168 → 10101000 | 1 → 00000001 | 10 → 00001010

How it works

Each IPv4 address is a 32-bit number, conventionally written as four decimal octets (0–255) separated by dots. Converting to binary means expressing each octet as its 8-bit binary equivalent — for example 192 becomes 11000000 — and concatenating all four to get the full 32-bit binary form of the address.

Formula

Octet to binary

Each decimal octet (0–255) maps to an 8-bit binary value

octet
One of the four 0–255 decimal segments of the IPv4 address

Frequently Asked Questions

Why is each octet exactly 8 bits?

An octet's decimal range is 0–255, and 8 bits can represent exactly 256 values (0 to 255), so 8 bits per octet is the natural fit for a 32-bit address split into four parts.

What is the binary form of 255?

255 in binary is 11111111 — all eight bits set to 1, which is why it's used in subnet masks.

How does this relate to subnetting?

Subnetting decisions (which bits are network vs. host bits) are made by looking at the binary form of the address and mask side by side, which is exactly what this converter shows.

You might also need