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.
Calculated Boundaries & ParametersReady
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.
Related Conversion & EncodingAll Tools
CIDR to IP Range Converter
Convert prefixes into start–end ranges.
IP Range to CIDR Converter
Find exact covering CIDR blocks.
IPv4 Decimal Integer Converter
Convert IPv4 addresses to integer values.
Integer to IPv4 Converter
Convert integer values to addresses.
IPv4 Hexadecimal Converter
Convert addresses to hexadecimal.
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.
Enter an IPv4 address
Type an address such as
192.168.10.37.Split into octets
The converter reads 192, 168, 10, and 37.
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.
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, 1Bit weights from left to right.
Decimal to binary
subtract the largest fitting place value, write 1, repeatFast mental method.
Binary to decimal
Σ bit × place valueReverse direction.
Address length
4 octets × 8 bits = 32 bits4 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 Address | Binary | Count of 1 Bits |
|---|---|---|
| 0.0.0.0 | 00000000.00000000.00000000.00000000 | 0 |
| 10.0.0.1 | 00001010.00000000.00000000.00000001 | 3 |
| 127.0.0.1 | 01111111.00000000.00000000.00000001 | 8 |
| 172.16.0.1 | 10101100.00010000.00000000.00000001 | 6 |
| 192.168.10.37 | 11000000.10101000.00001010.00100101 | 10 |
| 192.168.255.255 | 11000000.10101000.11111111.11111111 | 21 |
| 203.0.113.42 | 11001011.00000000.01110001.00101010 | 12 |
| 224.0.0.5 | 11100000.00000000.00000000.00000101 | 5 |
| 255.255.255.0 | 11111111.11111111.11111111.00000000 | 24 |
| 255.255.255.255 | 11111111.11111111.11111111.11111111 | 32 |
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.