How to Find Out Your IP Address (Any Device, Any Method)
Your IP address is one of the most fundamental pieces of information about your internet connection — and knowing how to find it is more useful than most people realize. Whether you're troubleshooting a network issue, setting up remote access, or configuring a router, the method you use depends on which IP address you actually need.
What Is an IP Address, Exactly?
An IP address (Internet Protocol address) is a numerical label assigned to every device on a network. It functions like a mailing address — it tells other devices and servers where to send information.
There are two distinct types you'll encounter:
- Public IP address — The address your internet service provider (ISP) assigns to your network. This is what the outside world sees when you connect to websites or online services.
- Private IP address — The address your router assigns to each device within your home or office network. These typically follow ranges like
192.168.x.xor10.0.x.x.
These are not the same number, and finding one won't give you the other. Knowing which one you need is the first decision point.
How to Find Your Public IP Address
Your public IP is the easiest to retrieve and doesn't require touching any system settings.
Using a Web Browser
Open any browser and search for "what is my IP" in Google, Bing, or DuckDuckGo. The result appears at the top of the page. You can also visit dedicated lookup tools — sites that display your IP the moment the page loads.
This method works on any device with a browser: desktop, laptop, phone, or tablet. No technical knowledge required.
What You'll See
You'll get either an IPv4 address (formatted as four numbers separated by dots, like 203.0.113.42) or an IPv6 address (a longer alphanumeric string). IPv6 is increasingly common as IPv4 addresses run out globally.
⚠️ If you're using a VPN, the IP address shown will belong to the VPN server, not your actual ISP-assigned address. That's by design.
How to Find Your Private IP Address
Your private IP is assigned by your router and lives inside your settings menus. The steps vary by operating system.
On Windows
- Open Command Prompt (search "cmd" in the Start menu)
- Type
ipconfigand press Enter - Look for IPv4 Address under your active network adapter (Ethernet or Wi-Fi)
On macOS
- Open System Settings (or System Preferences on older versions)
- Go to Network
- Select your active connection — the IP address is displayed directly
Alternatively, open Terminal and type ifconfig | grep inet.
On iPhone or iPad
- Go to Settings → Wi-Fi
- Tap the ℹ️ icon next to your connected network
- Your IP address appears under the IPv4 Address section
On Android
Steps vary slightly by manufacturer, but generally:
- Go to Settings → Network & Internet → Wi-Fi
- Tap your connected network
- Expand Advanced or tap the pencil/edit icon — the IP address is listed there
On Linux
Open a terminal and run ip addr show or hostname -I. Your private IP appears next to your active network interface (often eth0 or wlan0).
How to Find Your Router's IP Address
Sometimes you need the router's IP — called the default gateway — to access its admin panel or diagnose connection issues.
| Method | Command / Location |
|---|---|
| Windows | ipconfig → look for Default Gateway |
| macOS | netstat -nr | grep default in Terminal |
| iPhone/iPad | Settings → Wi-Fi → ℹ️ → Router |
| Android | Wi-Fi network details → Gateway |
| Linux | ip route | grep default |
The router's IP is almost always something like 192.168.1.1 or 192.168.0.1, but this can be changed by your ISP or network admin.
Factors That Affect Which IP You See
🔍 Several variables influence what you'll find — and why results sometimes look unexpected:
- Dynamic vs. static IPs — Most ISPs assign dynamic public IPs that change periodically. A static IP stays fixed and is typically a paid add-on or business-tier feature.
- NAT (Network Address Translation) — Your router uses NAT to let multiple devices share one public IP. This is why your phone and laptop have different private IPs but the same public IP.
- Carrier-grade NAT (CGNAT) — Some ISPs, particularly mobile carriers, place multiple customers behind a single public IP. In this case, what you see as your "public" IP may actually be shared with other users.
- VPNs and proxies — These mask your real public IP, replacing it with one from the VPN provider's infrastructure.
- IPv4 vs. IPv6 — Some networks assign both; others assign only one. Which one a site sees depends on what your device and ISP support.
When You Might Need This Information
Knowing your IP address comes up in specific, practical situations:
- Remote desktop setup — Connecting to your home computer from elsewhere requires knowing your public IP
- Port forwarding — Router configurations for gaming servers, NAS devices, or security cameras need your local private IP
- Network troubleshooting — Diagnosing connection conflicts often starts with checking IP assignments
- Geolocation discrepancies — Some services behave differently based on your detected IP location
- Security checks — Verifying your VPN is actually masking your IP correctly
The method that makes sense for your situation depends on your device, your operating system version, whether you're on a home or corporate network, and what you're ultimately trying to do with that information.