A complete guide to understanding IP addresses, finding your public and private IP, and learning how IP geolocation works.
Every device connected to the internet has an IP address — a unique numerical identifier that allows data to find its way to the right destination. Whether you're troubleshooting a network issue, setting up a server, or just curious about your online identity, understanding IP addresses is fundamental. This guide covers everything you need to know, from the basics of IPv4 and IPv6 to practical methods for finding your own IP address.
An IP (Internet Protocol) address is a string of numbers (and sometimes letters) that identifies a device on a network. Think of it like a postal address for your computer or phone. When you visit a website, your device sends a request with your IP address, and the server sends the response back to that same address.
There are two main versions in use today: IPv4 and IPv6. Both serve the same fundamental purpose — identifying devices on a network — but they differ significantly in structure and capacity.
IPv4 has been the backbone of the internet since the 1980s, but its limited address space led to the development of IPv6. Here's how they compare:
192.168.1.100)2001:0db8:85a3::8a2e:0370:7334)Despite IPv6's advantages, adoption has been gradual. As of 2026, roughly 45-50% of Google's traffic uses IPv6. Most networks support both protocols through dual-stack configurations, meaning your device likely has both an IPv4 and an IPv6 address.
Understanding the difference between public and private IP addresses is crucial for anyone working with networks.
Your public IP address is assigned by your Internet Service Provider (ISP) and is visible to the outside world. Every website you visit sees this address. It's unique across the entire internet (within the scope of NAT sharing). Public IPs are routable, meaning data can travel directly to and from them.
Private IP addresses are used within local networks (your home, office, etc.) and are not directly reachable from the internet. They're defined by RFC 1918 and fall into these ranges:
10.0.0.0 – 10.255.255.255 (16 million addresses)172.16.0.0 – 172.31.255.255 (1 million addresses)192.168.0.0 – 192.168.255.255 (65,536 addresses)Your router uses NAT (Network Address Translation) to map multiple private IPs to a single public IP, allowing all devices on your local network to share one internet connection.
There are several ways to find your IP address depending on what you need:
The simplest method is to use an online tool. Visit our IP Address Lookup tool, and it will instantly display your public IP address along with geolocation data, your ISP name, and whether you're using a VPN or proxy.
# Command Prompt or PowerShell
ipconfig
# Look for "IPv4 Address" under your active adapter
# Example output: IPv4 Address. . . . . . : 192.168.1.105
# Terminal
ifconfig | grep "inet "
# Or use the more modern command
ipconfig getifaddr en0
# Terminal
ip addr show
# Or the shorthand
hostname -I
Go to Settings → Wi-Fi, tap the connected network, and look for the IP address field. On iOS it's under the "i" button next to your network. On Android, it varies by manufacturer but is typically in Wi-Fi details.
IP geolocation is the process of determining the approximate geographic location of an IP address. It works by mapping IP addresses to geographic databases maintained by regional internet registries (ARIN, RIPE NCC, APNIC, etc.) and commercial providers like MaxMind and IPinfo.
The accuracy of IP geolocation varies:
Factors that affect accuracy include VPN usage, carrier-grade NAT, mobile networks, and the quality of the geolocation database. Residential IPs tend to be more accurately located than data center IPs.
Most home internet connections use dynamic IP addresses, which are temporarily assigned by your ISP's DHCP server and can change periodically. Static IP addresses remain fixed and are typically used by servers, businesses, and services that need a consistent address.
If you need a static IP for hosting a server or running a VPN, you'll usually need to request one from your ISP (often for an additional monthly fee). Some ISPs offer "sticky" dynamic IPs that rarely change, which can serve as a practical alternative.
Knowing your IP address helps with several security-related tasks:
IP addresses are the foundation of internet communication. Whether you're a developer configuring servers, a sysadmin managing networks, or an everyday user curious about online privacy, understanding how IPs work is essential. Use our IP Address Lookup tool to instantly see your public IP and related information — it's free, fast, and requires no sign-up.