IP Address Converter

Convert IPv4 addresses between binary, decimal, and hexadecimal formats with subnet calculations.

Advertisement

🔒 Privacy Notice: We don't store any of your data. All processing happens locally in your browser. Only query parameters are included if you decide to share the URL.

IP Address Input

Format Conversions

Binary

11000000.10101000.00000001.00000001

Hexadecimal

0xC0A80101

Decimal (32-bit)

3,232,235,777

CIDR Notation

192.168.1.1/24

Binary Breakdown (Network/Host)

11000000101010000000000100000001
Network bits (24)
Host bits (8)

Subnet Information

Network Address

192.168.1.0

Broadcast Address

192.168.1.255

Subnet Mask

255.255.255.0

Wildcard Mask

0.0.0.255

First Host

192.168.1.1

Last Host

192.168.1.254

Total Addresses

256

Usable Hosts

254

Advertisement

How to Use the IP Address Converter

Our free IP address converter helps network administrators, developers, and IT professionals work with IPv4 addresses in multiple formats. Whether you're troubleshooting network issues, configuring subnets, or learning about IP addressing, this tool provides instant conversions and comprehensive network information in one place.

To use the converter, enter an IPv4 address in standard dotted-decimal notation (like 192.168.1.1) or in CIDR format (like 192.168.1.0/24) if you want to see subnet information. The tool instantly converts your IP address to binary, hexadecimal, and decimal formats, showing you how the same address is represented in different numbering systems used in networking and programming.

The binary representation shows each of the four octets as 8-bit binary numbers, which is essential for understanding subnet masks and network calculations. The hexadecimal format displays the address in base-16 notation, commonly used in low-level networking and packet analysis. The decimal representation shows the IP as a single 32-bit unsigned integer, useful for database storage and range calculations.

When you include a CIDR prefix (like /24), the tool calculates comprehensive subnet information: the network address (first IP in the range), broadcast address (last IP), wildcard mask (inverse of subnet mask), and the total number of usable host addresses. The visual binary breakdown helps you understand exactly which bits represent the network portion and which represent hosts, making subnet design and troubleshooting much easier.

The tool validates your input in real-time, ensuring each octet is within the valid range (0-255) and that CIDR prefixes are between /0 and /32. All calculations happen instantly in your browser — no server processing, no data storage, completely free and private. Perfect for network planning, certification study, or quick reference during configuration tasks.

Frequently Asked Questions

How do I convert an IP address to binary?

An IPv4 address like 192.168.1.1 consists of four octets (numbers 0-255). Each octet is converted to an 8-bit binary number. For example, 192 = 11000000, 168 = 10101000, 1 = 00000001. The full binary representation is these four octets joined: 11000000.10101000.00000001.00000001. Our tool does this conversion instantly.

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation expresses an IP address and its network prefix length, like 192.168.1.0/24. The number after the slash indicates how many bits are used for the network portion. /24 means the first 24 bits are the network (leaving 8 bits for hosts, allowing 256 addresses). This notation is commonly used in networking and cloud infrastructure.

How do I calculate a subnet mask?

A subnet mask defines which portion of an IP address is the network and which is the host. It's represented as a series of consecutive 1s followed by 0s in binary. For example, /24 means 24 ones followed by 8 zeros: 11111111.11111111.11111111.00000000, which converts to 255.255.255.0. Our tool automatically calculates subnet masks from CIDR notation.

What is the difference between network address and broadcast address?

The network address is the first address in a subnet (all host bits set to 0) and identifies the network itself. The broadcast address is the last address (all host bits set to 1) and is used to send data to all hosts on the network. For example, in 192.168.1.0/24, the network address is 192.168.1.0 and the broadcast address is 192.168.1.255.

Is my IP address data stored?

No. All IP address calculations and conversions happen entirely in your browser using JavaScript. No data is sent to any server. The tool is completely private and works offline.