Understanding IP Addresses: A Complete Beginner's Guide
Right now, as you read this, your device is identified on the internet by a number. Every request you make — loading this page, sending an email, streaming a video — is tagged with that number so that responses know where to come back to. That number is your IP address, and you've been using it every second you've been online.
Most people treat IP addresses like the postal system: they know it works, they're glad it works, and they'd rather not think about it. But understanding IP addresses at a basic level has real practical value — for verifying your VPN is working, diagnosing connectivity problems, understanding what websites can infer about you, and knowing how to protect your privacy online.
This guide explains everything you need to know, without assuming any networking background.
What Is an IP Address?
An IP address (Internet Protocol address) is a numerical label assigned to every device connected to a network. Think of it as a postal address for your device on the internet.
When you type google.com into your browser:
- Your computer asks a DNS server to look up what IP address corresponds to
google.com - The DNS server returns an IP address (like
142.250.80.46) - Your computer sends a request to that address
- Google's server sees your IP address and sends the response back to you
Without IP addresses, devices on the internet would have no way to know where to send information — or where responses should go. It's the fundamental addressing system that makes all networked communication possible.
IPv4: The Original System
IPv4 (Internet Protocol version 4) is the format most people picture when they think of an IP address: four numbers separated by dots, each between 0 and 255.
Example: 192.168.1.1 or 203.0.113.42
Each of those four numbers is called an octet (8 bits). Four octets × 8 bits = 32 bits total, which gives IPv4 a theoretical maximum of 4,294,967,296 addresses (about 4.3 billion).
In the early days of the internet, 4 billion addresses seemed like far more than humanity would ever need. That estimate turned out to be catastrophically wrong. By the 1990s, it became clear that IPv4 would eventually run out. By 2011, the global pool of unallocated IPv4 addresses was officially exhausted. Regional registries have been managing a shortage ever since, using techniques like NAT (more on this shortly) to stretch the remaining supply.
IPv6: The Long-Term Solution
IPv6 (Internet Protocol version 6) was designed to replace IPv4 and its impending address shortage. Instead of 32 bits, IPv6 uses 128 bits — which yields approximately 340 undecillion addresses (340 followed by 36 zeros). For all practical purposes, this is unlimited.
IPv6 addresses look quite different from IPv4:
Example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
They're written as eight groups of four hexadecimal digits, separated by colons. Leading zeros within a group can be omitted, and consecutive groups of zeros can be collapsed to ::. So the above can be written as: 2001:db8:85a3::8a2e:370:7334
IPv6 adoption has been slower than anticipated despite the IPv4 shortage. As of 2026, about 40–45% of internet traffic is delivered over IPv6 globally, with significant variation by country. The US, India, and Germany lead in adoption. Many networks run dual-stack (both IPv4 and IPv6 simultaneously), transparently using whichever the destination supports.
For most end users, the transition is invisible — your ISP and devices handle it automatically. But it's useful to recognize an IPv6 address when you see one.
Public vs Private IP Addresses
Not all IP addresses work the same way. There's a crucial distinction between public and private addresses.
Public IP Addresses
A public IP address is globally routable — meaning it's unique on the entire internet and can be reached from anywhere. This is the address websites and services see when you connect to them. It's assigned to you by your Internet Service Provider (ISP).
Example: 203.0.113.42 (a real-world example public IP)
One IP can represent an entire household. Your router has a single public IP, and all devices on your home network share it.
Private IP Addresses
Private IP addresses are used inside local networks (home, office, data center). They are defined by RFC 1918 and fall into three reserved ranges:
| Range | CIDR Notation | Typical Use |
|---|---|---|
10.0.0.0 – 10.255.255.255 |
10.0.0.0/8 | Large corporate networks |
172.16.0.0 – 172.31.255.255 |
172.16.0.0/12 | Medium networks |
192.168.0.0 – 192.168.255.255 |
192.168.0.0/16 | Home routers (most common) |
If you check your device's IP address on your home network, you'll almost certainly see something like 192.168.1.5 or 10.0.0.23 — a private address. These addresses are not routable on the public internet; they only make sense within your local network.
NAT: How the Two Systems Coexist
NAT (Network Address Translation) is the mechanism that lets many private-addressed devices share a single public IP. Your router maintains a translation table: when your laptop (192.168.1.5) requests a webpage, the router translates the source address to its public IP and tracks the request. When the response comes back, it translates back and delivers the packet to your laptop.
From the website's perspective, it sees one IP address — your router's public address. It has no knowledge of how many devices sit behind that router.
Dynamic vs Static IP Addresses
Dynamic IP
Most consumer internet connections use dynamic IP addresses — your ISP assigns you an IP from a pool, and it may change when your router restarts, your lease expires, or you switch to a different ISP infrastructure. DHCP (Dynamic Host Configuration Protocol) manages this assignment automatically.
For most home users, this is fine. The change is transparent. You won't notice unless you're running a server that people connect to directly by IP.
Static IP
A static IP address doesn't change. It's permanently assigned to a specific connection. ISPs typically charge a premium for static IPs for residential customers. Businesses commonly use them for:
- Web servers that need a consistent address
- Email servers (IP reputation matters for deliverability)
- Remote access systems (VPN endpoints, security cameras)
- Hosting services that can't afford DNS propagation delays on IP changes
For most users, dynamic is sufficient. If you're self-hosting services that others access by address, static becomes important.
What Your IP Address Reveals
When someone knows your IP address (and every website you visit does), here's what they can typically infer:
Country: Highly accurate — IP geolocation databases reliably identify country from IP address.
City: Approximate — usually accurate to within 50 miles for consumer connections, but can be off by hundreds of miles for mobile or VPN-routed connections.
ISP: Highly accurate — WHOIS records and IP allocation databases make this straightforward.
Timezone: Inferred from geolocation — usually correct at country level.
Connection type: Sometimes identifiable (residential, datacenter, mobile).
What Your IP Address Does NOT Reveal
This is equally important to understand, especially given privacy concerns:
- Your name: IP addresses are not personally identifiable information in isolation. ISPs have the records linking IPs to customer accounts, but that data requires a legal process to obtain.
- Your exact address: Geolocation is approximate, not precise. A claimed "accurate to street level" IP lookup is marketing, not technical fact.
- Your browsing history: Your ISP can see this (and some do log it), but the IP address itself doesn't encode it.
- What you're doing on a specific site: An IP shows that something connected to a server. It doesn't show what they searched for, what they read, or what they bought.
Practical Use Cases for IP Lookup
1. Verifying Your VPN Is Connected
When you connect to a VPN, your traffic should appear to originate from the VPN server's IP — not your real IP. Use an IP lookup tool to confirm:
- Note your IP without VPN
- Connect to VPN
- Check again — the IP should now be different and associated with the VPN provider's location
If the IP doesn't change, your VPN isn't working correctly. This check is essential before doing anything you're relying on the VPN to protect.
2. Checking What Region Streaming Services See
Streaming platforms like Netflix, BBC iPlayer, and Disney+ restrict content by geographic region based on IP address geolocation. An IP lookup tool tells you what region a service will think you're in — useful for verifying that a VPN set to "UK server" is actually presenting a UK IP to those services.
3. Diagnosing Network Connectivity Issues
When troubleshooting connectivity problems, knowing your public IP helps isolate the issue. If you have a public IP, your ISP connection is working. If your device has a private IP but no public IP lookup succeeds, the issue is likely your router's internet connection. If the lookup times out entirely, the problem is further upstream.
4. Verifying Server IP Assignments
After deploying a server or updating DNS records, use an IP lookup tool to confirm the server's IP is correctly registered and geolocated. Mismatches between expected and actual geolocation can affect ad targeting, CDN routing, and content delivery.
How to Protect Your IP Privacy
VPN (Virtual Private Network): The most practical option for most users. Routes your traffic through a server in another location, masking your real IP from websites and services. Choose providers with a verified no-logs policy. Reputable options include Mullvad, ProtonVPN, and IVPN.
Tor (The Onion Router): Routes your traffic through multiple volunteer-operated nodes, making it extremely difficult to trace. Slower than VPNs and not suitable for streaming or large downloads. Best for high-stakes anonymity rather than everyday privacy.
Proxy servers: Route specific application traffic through an intermediate server. Less comprehensive than VPNs (don't encrypt traffic by default), but useful for specific use cases like accessing region-locked content in a browser.
Residential vs datacenter IPs: Some services detect and block traffic from known datacenter IP ranges (used by most VPNs). Residential VPN IPs are harder to detect but more expensive and often associated with shared proxy services.
FAQ
Can someone hack me with just my IP address?
With a public IP alone, the practical attack surface is limited — your router's firewall blocks most inbound traffic. However, a determined attacker could: attempt to exploit vulnerabilities in your router's firmware, run port scans to find exposed services (like an incorrectly configured camera or NAS), or use it as a starting point for social engineering (contacting your ISP). The risk is real but typically low for home users. The bigger risk is that services can use your IP for tracking, correlation, and profiling over time.
How often does my IP address change?
On a home broadband connection with DHCP, your IP may stay the same for weeks or months if your router stays connected and the DHCP lease keeps renewing. It typically changes when you restart your router, your ISP's DHCP server assigns a new lease, or you move or change providers. Mobile connections (4G/5G) often change IP address more frequently — sometimes with each new data session.
What is 127.0.0.1 and why is it special?
127.0.0.1 is the loopback address — it always refers to the local device itself. When a developer runs a web server and opens http://127.0.0.1:3000 in a browser, they're connecting to a server running on their own machine. It never leaves the device and never touches the network. localhost is a hostname that maps to 127.0.0.1 by convention. The entire 127.0.0.0/8 range is reserved for loopback, though 127.0.0.1 is by far the most commonly used address in that range.
Conclusion
IP addresses are the invisible infrastructure of the internet — present in every interaction but rarely visible to end users. Understanding the basics — the difference between public and private, IPv4 and IPv6, dynamic and static — demystifies a significant portion of how the internet actually works.
More practically, knowing how to use an IP lookup tool and understanding what your IP reveals (and doesn't reveal) gives you real leverage: verifying privacy tools, diagnosing connectivity issues, and making informed decisions about online privacy. It's one of those foundational topics that pays dividends every time you interact with a network.