How to Find Your IP Address: Complete Guide
ยท 5 min read
Your IP address is your device's identity on the internet โ it's how websites know where to send the pages you request, and it's essential for troubleshooting network issues, setting up remote access, or configuring firewalls. Whether you're a curious beginner or an IT professional, this guide covers everything you need to know about finding your IP address on any device.
What Is an IP Address?
An IP (Internet Protocol) address is a unique numerical label assigned to every device connected to a network. Think of it as your device's mailing address โ it tells other computers where to send data so it reaches you and not someone else.
IP addresses come in two versions: IPv4 (like 192.168.1.1) uses four groups of numbers separated by dots, while IPv6 (like 2001:0db8:85a3::8a2e:0370:7334) uses a longer hexadecimal format to accommodate the billions of devices now online. Most networks currently use both.
๐ Check your IP address instantly
Check My IP Address โPublic vs. Private IP Addresses
Every internet-connected network has two types of IP addresses:
Public IP: Assigned by your Internet Service Provider (ISP), this is the address websites see when you visit them. It's shared by all devices on your home or office network. Your public IP reveals your approximate location (city level) and ISP.
Private IP: Assigned by your router, this is the address used within your local network. Common private IP ranges include 192.168.x.x, 10.x.x.x, and 172.16.x.xโ172.31.x.x. Private IPs are not visible to the outside internet.
| Feature | Public IP | Private IP |
|---|---|---|
| Assigned by | ISP | Router |
| Visible to websites | Yes | No |
| Unique globally | Yes | Only within network |
| Example | 203.0.113.42 | 192.168.1.105 |
How to Find Your Public IP
Finding your public IP is easy โ just visit a "What Is My IP" tool. The simplest methods:
- Web tool: Visit our What Is My IP page โ your IP is displayed instantly.
- Google: Search "what is my IP" in Google โ the answer appears at the top.
- Command line:
# On any OS with curl
curl ifconfig.me
# Alternative services
curl icanhazip.com
curl ipinfo.io/ip
# Windows PowerShell
(Invoke-WebRequest -Uri "https://ifconfig.me").Content
How to Find Your Private/Local IP
Finding your private IP varies by operating system:
# Windows
ipconfig
# Look for "IPv4 Address" under your active adapter
# macOS
ipconfig getifaddr en0 # Wi-Fi
ipconfig getifaddr en1 # Ethernet (some Macs)
# Linux
ip addr show
# Or the shorter version:
hostname -I
# iPhone: Settings โ Wi-Fi โ tap (i) next to your network
# Android: Settings โ Wi-Fi โ tap your network โ IP Address
Router admin page: You can also find all connected devices and their local IPs by logging into your router's admin interface (usually 192.168.1.1 or 192.168.0.1 in your browser).
IPv4 vs. IPv6
IPv4 has been the backbone of the internet since 1983. It provides about 4.3 billion addresses โ which seemed limitless in the 1980s but is now exhausted. IPv4 addresses look like 192.168.1.1.
IPv6 was designed to solve the address shortage, providing 340 undecillion (3.4 ร 10ยณโธ) addresses. IPv6 addresses look like 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Most modern devices and ISPs now support both versions simultaneously (called "dual stack").
When Do You Need Your IP Address?
- Network troubleshooting: Tech support often asks for your IP to diagnose connection issues.
- Remote access: Setting up a VPN, SSH, or remote desktop requires knowing your public IP.
- Security: Checking your IP helps verify whether a VPN or proxy is working correctly.
- Server configuration: Whitelisting IPs in firewalls, setting up port forwarding, or configuring DNS records.
- Gaming: Hosting game servers or diagnosing latency issues requires your public IP.
Frequently Asked Questions
Can someone find my exact location from my IP address?
No. A public IP address reveals your approximate location โ usually your city and ISP โ but not your street address or home. Only your ISP can link an IP to a specific physical address, and they require a legal warrant to share that information.
Does my IP address change?
Most home internet connections use dynamic IPs, which change periodically (every few hours to days). Businesses often pay for static IPs that never change. You can check if your IP has changed by visiting a 'What Is My IP' tool at different times.
What's the difference between IPv4 and IPv6?
IPv4 uses 32-bit addresses (about 4.3 billion possible addresses), while IPv6 uses 128-bit addresses (virtually unlimited). IPv4 addresses look like 192.168.1.1; IPv6 addresses look like 2001:db8::1. Most networks now support both simultaneously.
How do I hide my IP address?
You can hide your IP using a VPN (Virtual Private Network), which routes your traffic through a server in another location. Other options include the Tor browser (very private but slow) and proxy servers (less secure than VPNs). These tools replace your real IP with the server's IP.
Why do I have different IPs on different devices?
Each device on your local network has a unique private IP (assigned by your router), but they all share the same public IP (assigned by your ISP). When you check your IP on a 'What Is My IP' tool, all devices on the same network will show the same public IP.