Skip to main content
IP Range CalculatorPRO
Conversion & EncodingInstant Client-Side Tool

IPv4 Binary Converter

Convert addresses to binary.

IPv4 Binary Converter: inputs and results

Enter an IP address, CIDR prefix, or range. Then check its first and last address below.

Quick presets:

Calculated Boundaries & ParametersReady

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Host Range254

Key Capabilities

  • •100% Client-Side: Zero telemetry or server latency.
  • •RFC Compliant: Exact 32-bit and 128-bit integer precision.
  • •Quick Copy: Instant access to CIDR, mask, and range bounds.
  • •Cross-Platform: Works on desktop, tablet, and mobile browsers.

How IPv4 Binary Converter Works?

This tool works by converting each of the 4 decimal octets into 8 binary digits, producing a 32-bit dotted binary address.

  1. Enter an IPv4 address

    Type an address such as 192.168.10.37.

  2. Split into octets

    The converter reads 192, 168, 10, and 37.

  3. Convert each octet

    Each octet is divided by 2 repeatedly, or matched against the place values 128, 64, 32, 16, 8, 4, 2, and 1.

  4. Join the bits

    The result is 11000000.10101000.00001010.00100101. The reverse direction converts binary back to decimal.

IPv4 Binary Converter Formula

The formula is Octet = b₇×128 + b₆×64 + b₅×32 + b₄×16 + b₃×8 + b₂×4 + b₁×2 + b₀×1, applied to each of the 4 octets.

Place values

128, 64, 32, 16, 8, 4, 2, 1

Bit weights from left to right.

Decimal to binary

subtract the largest fitting place value, write 1, repeat

Fast mental method.

Binary to decimal

Σ bit × place value

Reverse direction.

Address length

4 octets × 8 bits = 32 bits

4 bytes.

Worked example: octet 168

168 − 128 = 40   → 1
 40 −  64        → 0
 40 −  32 = 8    → 1
  8 −  16        → 0
  8 −   8 = 0    → 1
Remaining bits   → 000
168 = 10101000

IPv4 Binary Converter Conversion Table

The table shows 10 IPv4 addresses in dotted decimal and 32-bit dotted binary form.

IPv4 AddressBinaryCount of 1 Bits
0.0.0.000000000.00000000.00000000.000000000
10.0.0.100001010.00000000.00000000.000000013
127.0.0.101111111.00000000.00000000.000000018
172.16.0.110101100.00010000.00000000.000000016
192.168.10.3711000000.10101000.00001010.0010010110
192.168.255.25511000000.10101000.11111111.1111111121
203.0.113.4211001011.00000000.01110001.0010101012
224.0.0.511100000.00000000.00000000.000001015
255.255.255.011111111.11111111.11111111.0000000024
255.255.255.25511111111.11111111.11111111.1111111132

What is IPv4 Binary Converter?

The IPv4 Binary Converter is a tool that converts an IPv4 address between dotted decimal and 32-bit binary notation.

Computers process IPv4 addresses as 32-bit numbers. Subnet masks, network addresses, and wildcard matches are all bit operations. Binary notation makes those operations visible: the network address is simply the bits that the mask keeps.

Binary conversion is the foundation of manual subnetting. Students learn to convert octets quickly with the 8 place values 128, 64, 32, 16, 8, 4, 2, and 1.

What are the uses of IPv4 Binary Converter?

There are 4 main uses of the IPv4 Binary Converter, including subnetting practice, mask analysis, and packet inspection.

  • Practicing manual subnetting

    Students convert addresses and masks to binary to find network boundaries by hand.

  • Analyzing mask boundaries

    Binary output shows exactly which bits a /21 mask keeps from an address.

  • Inspecting packet headers

    Raw header bits in Wireshark map back to dotted addresses.

  • Explaining wildcard ACLs

    Binary output shows which bits a wildcard checks and which it ignores.