Where to Find an IP Address: Every Method Explained

Every device connected to a network has an IP address — a numerical label that identifies it and allows data to travel to the right destination. But "finding" an IP address isn't one single task. You might need your public IP address, your local (private) IP address, or the IP address of another device on your network. Each of those lives in a different place, and the method for finding it depends entirely on your device, operating system, and what you're actually trying to accomplish.

What Is an IP Address, and Why Does Location Matter?

An IP address (Internet Protocol address) is a string of numbers — like 192.168.1.5 for IPv4 or a longer alphanumeric string for IPv6 — that identifies a device on a network. There are two fundamentally different types most users encounter:

  • Public IP address: Assigned by your Internet Service Provider (ISP). This is what the outside internet sees when your device communicates online. Every device on your home or office network shares the same public IP.
  • Private (local) IP address: Assigned by your router within your local network. Each device gets its own — your phone, laptop, smart TV, and printer all have different private IPs on the same Wi-Fi.

These two types live in completely different places, which is why knowing which IP you need is the first question to answer.

How to Find Your Public IP Address 🌐

Your public IP isn't stored on your device — it's assigned externally. The simplest way to find it is through a web-based lookup. Searching "what is my IP" in any browser will display it instantly. Several dedicated sites like ipinfo.io or whatismyipaddress.com also return your public IP along with geolocation estimates (which are often imprecise).

This IP address changes if:

  • Your ISP assigns you a dynamic IP (most residential connections)
  • You reboot your modem
  • You connect through a VPN, which substitutes the VPN server's IP for your real one

Businesses and power users sometimes pay for a static IP — one that stays fixed regardless of reboots or reconnections.

How to Find Your Private IP Address by Operating System

Windows

  1. Open Command Prompt (search cmd from the Start menu)
  2. Type ipconfig and press Enter
  3. Look for IPv4 Address under your active adapter (usually listed under "Wireless LAN adapter Wi-Fi" or "Ethernet adapter")

Alternatively, go to Settings → Network & Internet → Wi-Fi or Ethernet → click your connection → Properties and scroll to the IP assignment section.

macOS

  1. Open System Settings (or System Preferences on older versions)
  2. Go to Network
  3. Select your active connection (Wi-Fi or Ethernet)
  4. Your IP address appears in the details panel

Terminal users can type ifconfig | grep inet for a quick output.

Linux

Open a terminal and run:

  • ip addr show (modern distros)
  • ifconfig (older systems, may require installation)

Look for the inet value under your active interface — typically eth0 for wired or wlan0 for wireless.

iPhone and iPad

Go to Settings → Wi-Fi → tap the (i) icon next to your connected network. Your IP address appears under the IPv4 Address section.

Android

Path varies slightly by manufacturer, but generally: Settings → Wi-Fi → tap your connected network name → Advanced or the network details icon. Your IP will be listed there.

Finding the IP Address of Other Devices on Your Network 🔍

If you need to locate another device — a printer, smart home hub, network-attached storage (NAS), or another computer — the approach differs.

MethodBest ForWhere to Look
Router admin panelAll connected devicesUsually 192.168.1.1 or 192.168.0.1 in your browser
arp -a commandWindows/Mac/LinuxLists recently connected devices and their local IPs
Network scanner appsMixed device householdsTools like Fing or Advanced IP Scanner
Device's own settingsSmart TVs, printers, consolesCheck the device's network or about menu

Your router admin panel is often the most comprehensive view — it typically lists every connected device by name, MAC address, and assigned IP. Log in with your router's default credentials (often printed on the device label) to access this.

Finding an IP Through Command-Line Tools

For users comfortable with a terminal, a few commands go beyond basic lookup:

  • ping hostname — resolves a domain name to its IP address (e.g., ping google.com returns the server's IP)
  • nslookup domain — queries DNS records and returns IP information for a domain
  • tracert (Windows) or traceroute (Mac/Linux) — shows every network hop between you and a destination, including intermediate IPs

These tools are particularly useful for diagnosing connectivity issues or confirming what IP a domain name resolves to.

The Variables That Affect Which Method You Need

Several factors shape which approach actually works for your situation:

  • Operating system and version — menu paths shift between OS updates, and older systems may lack newer network settings panels
  • Network type — corporate networks with strict IT policies may obscure private IPs or use custom addressing schemes
  • VPN or proxy use — these mask or replace your public IP, so browser-based lookups won't return your actual ISP-assigned address
  • IPv4 vs. IPv6 — many modern networks assign both; which one matters depends on the service or tool you're configuring
  • Router model — admin panel layouts vary significantly between manufacturers and firmware versions

A home user checking their public IP for a simple task and a sysadmin tracking device IPs across a business network are technically asking the same question — but the right method, and the level of detail that matters, is entirely different between those two contexts.