IP Address Tools

Quick Answer

192.168.1.1 in binary = 11000000.10101000.00000001.00000001. Private ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.

IPv4-mapped IPv6: prefix any IPv4 with ::ffff: (e.g., ::ffff:192.168.1.1).

Convert, classify, and analyze IP addresses in multiple formats. Choose a tool below to get started.

IP Address Converter Convert an IPv4 address between decimal, binary, hexadecimal, and octal representations. IPv4 to IPv6 Converter Convert an IPv4 address to its IPv6 equivalents including IPv4-mapped, IPv4-compatible, and 6to4 formats. IP Class Checker Determine the IP class (A/B/C/D/E) and type (public or private) of any IPv4 address, with special range detection. Binary to IP Converter Convert a 32-bit binary number to dotted-decimal IPv4 address notation. IP in Range Checker Check whether an IP address falls within a given CIDR subnet range, and whether it is a usable host address.

IPv4 Address Structure

An IPv4 address is a 32-bit number, conventionally written as four decimal octets separated by dots (dotted-decimal notation) — for example, 192.168.1.100. Each octet represents 8 bits and ranges from 0 to 255. In binary, 192.168.1.100 is 11000000.10101000.00000001.01100100. Understanding binary representation is essential for subnetting calculations, as subnet masks and CIDR prefixes operate at the bit level. Our IP address converter instantly translates between decimal, binary, hexadecimal, and octal representations.

IP Address Classes and Private Ranges

IPv4 addresses were originally divided into classes based on the leading bits. Class A addresses (1.0.0.0–126.255.255.255) use the first octet as the network identifier, supporting up to 16 million hosts per network. Class B (128.0.0.0–191.255.255.255) uses two octets for the network, supporting 65,534 hosts. Class C (192.0.0.0–223.255.255.255) uses three octets, supporting 254 hosts. RFC 1918 defines private address ranges not routable on the public internet: 10.0.0.0/8 (Class A), 172.16.0.0/12 (Class B), and 192.168.0.0/16 (Class C). These are widely used for internal networks behind NAT.

IPv4 to IPv6 Transition

IPv4's 32-bit address space provides approximately 4.3 billion unique addresses — exhausted by IANA in 2011. IPv6 uses 128-bit addresses, providing 3.4 × 10³⁸ unique addresses. IPv6 addresses are written as eight groups of four hexadecimal digits separated by colons: 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Several transition mechanisms allow IPv4 and IPv6 to coexist: IPv4-mapped IPv6 addresses (::ffff:192.168.1.1), 6to4 tunnelling, and Teredo tunnelling. The IPv4-mapped format is the most common representation when an IPv6 system needs to communicate with an IPv4 address.

Special IP Address Ranges

Several IPv4 ranges are reserved for special purposes. 127.0.0.0/8 is the loopback range (127.0.0.1 is "localhost"). 169.254.0.0/16 is the link-local range (APIPA), automatically assigned when DHCP fails. 224.0.0.0/4 is multicast space. 240.0.0.0/4 is reserved for future use. 0.0.0.0 represents an unspecified address, and 255.255.255.255 is the limited broadcast address. Understanding these special ranges is important for network troubleshooting and ACL configuration.

Frequently Asked Questions

How do I find my IP address?

Your public IP is assigned by your ISP and visible to websites you visit. On Windows, run "ipconfig" in Command Prompt; on macOS/Linux, use "ifconfig" or "ip addr". Your private IP (typically 192.168.x.x or 10.x.x.x) is your address within the local network, while your public IP is what the internet sees after NAT translation by your router.

What is the difference between public and private IP addresses?

Private IPs (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) are used within local networks and cannot be routed on the internet. Public IPs are globally unique and routable. Your router uses NAT (Network Address Translation) to map multiple private IPs to a single public IP, allowing all devices on your network to share one internet-facing address.

Why do we need IPv6 if IPv4 still works?

IPv4 has only ~4.3 billion addresses, which were exhausted in 2011. NAT extends usability but adds complexity and breaks end-to-end connectivity. IPv6 provides 3.4 x 10³⁸ addresses — enough for every device to have its own public address. IPv6 also simplifies routing, eliminates NAT, and includes built-in IPsec support for security.

How do I convert an IP address to binary?

Convert each octet separately. For 192.168.1.1: 192 = 11000000, 168 = 10101000, 1 = 00000001, 1 = 00000001. The full binary is 11000000.10101000.00000001.00000001. Each octet is 8 bits (padded with leading zeros). This binary form is essential for subnetting — the subnet mask determines where the network/host boundary falls in the binary representation.

What does 127.0.0.1 (localhost) mean?

127.0.0.1 is the loopback address — it always refers to the current machine. Traffic sent to 127.0.0.1 never leaves the device; it is routed internally by the network stack. The entire 127.0.0.0/8 block (16 million addresses) is reserved for loopback. Developers use it to test network services locally before deploying to production servers.