What Is an IP Address? Complete Guide — IPv4, IPv6, How It Works & What It Reveals
The complete beginner-to-advanced guide to IP addresses: what they are, how they work, IPv4 vs IPv6, structure, assignment, and what yours reveals.
What Is an IP Address?
An IP address (Internet Protocol address) is a unique numerical label assigned to every device connected to a computer network that uses the Internet Protocol for communication. Just as every house has a postal address so mail can be delivered, every device on a network needs an IP address so data packets can be routed to and from it correctly.
The Internet Protocol defines how data is broken into packets, addressed, transmitted, routed, and received across networks. The IP address is the fundamental addressing component of this system — without it, routers would have no way to know where to forward packets.
IPv4 vs IPv6: The Two Versions
IPv4 uses 32-bit addresses, written as four decimal octets separated by dots: 192.168.1.1. Each octet ranges from 0–255, giving 232 = approximately 4.3 billion total addresses. IPv4 was designed in the early 1980s when the internet was tiny — nobody anticipated billions of smartphones, IoT devices, and cloud servers.
IPv6 uses 128-bit addresses, written as eight groups of four hexadecimal digits: 2001:0db8:85a3:0000:0000:8a2e:0370:7334. This provides 2128 addresses — approximately 340 undecillion — enough to assign billions of addresses to every grain of sand on Earth. IPv6 adoption is ongoing but IPv4 still dominates most networks today.
Use our IPv6 Lookup tool to check any IPv6 address, and IP Lookup for both IPv4 and IPv6 geolocation.
How Are IP Addresses Structured?
An IPv4 address has two logical parts: the network portion (identifies which network the device is on) and the host portion (identifies the specific device within that network). The subnet mask (or CIDR prefix) determines where the split occurs.
For 192.168.1.55/24: the first 24 bits (192.168.1) are the network, and the last 8 bits (55) are the host. All devices on the same /24 network share the first 24 bits. Routers use this structure to forward packets toward the correct network before the local network delivers to the specific host.
Explore the math with our CIDR Calculator and Subnet Calculator.
How Are IP Addresses Assigned?
IANA (Internet Assigned Numbers Authority) oversees global IP address allocation. It delegates large blocks to five Regional Internet Registries (RIRs): ARIN (Americas), RIPE NCC (Europe/Middle East), APNIC (Asia-Pacific), LACNIC (Latin America), and AFRINIC (Africa). RIRs allocate to ISPs, who assign to customers — either statically or via DHCP.
On your home network, your router gets a public IP from your ISP (often dynamic, changing periodically). Your devices get private IP addresses from the router's DHCP server. See: Static vs Dynamic IP and Public vs Private IP.
Special and Reserved IP Addresses
127.0.0.1— Loopback (localhost) — your own machine0.0.0.0— Unspecified address / default route255.255.255.255— Limited broadcast169.254.0.0/16— Link-local / APIPA (auto-assigned when DHCP fails)10.0.0.0/8,172.16.0.0/12,192.168.0.0/16— Private (RFC 1918)224.0.0.0/4— Multicast
What Can Your IP Address Reveal?
An IP address alone reveals surprisingly specific information: your approximate geographic location (city-level), your ISP/carrier, whether you're using a VPN or proxy, your ASN (the network you're on), and sometimes your organization. It does NOT reveal your name, home address, or personal identity — law enforcement needs a subpoena to the ISP to get that mapping.
Try our IP Lookup or My IP Address tools to see what your IP reveals. Curious about hiding it? Read: How to Hide Your IP Address.
How Do IP Addresses Enable the Internet?
Every time you visit a website, your browser sends a DNS query to resolve the domain to an IP (use our DNS Lookup tool). Your device then sends HTTP packets addressed to that IP. Each packet travels through multiple routers, each making a forwarding decision based on the destination IP address and its routing table. The destination server processes the packet and sends a response addressed to your IP. This entire exchange — typically completing in under 100 milliseconds — happens for every resource on every webpage you load.
Related Tools & Guides
Check My IP Address | IP Lookup & Geolocation | Public vs Private IP | Static vs Dynamic IP | How IP Geolocation Works | How to Hide Your IP | IP Range Calculator