How to Look Up an IP Address: Methods, Tools, and What the Results Actually Mean

Every device connected to the internet has an IP address — a numerical label that identifies it on a network. Whether you're troubleshooting a connection problem, checking what address your router is broadcasting to the world, or trying to find the IP of another device on your local network, the method you use depends heavily on what you're looking for and where you're looking from.

What Is an IP Address, Exactly?

An IP address (Internet Protocol address) is a unique identifier assigned to a device on a network. There are two versions in active use:

  • IPv4 — the familiar four-number format (e.g., 192.168.1.1)
  • IPv6 — a longer alphanumeric format (e.g., 2001:0db8:85a3::8a2e:0370:7334) designed to handle the explosion of internet-connected devices

There's also a critical distinction between two types of IP addresses that determines which lookup method you need:

TypeWhat It IsWho Assigns It
Public IPThe address your network shows to the internetYour ISP
Private IPThe internal address of a specific device on your local networkYour router

Confusing these two is the most common mistake people make when trying to look up an IP address.

How to Find Your Public IP Address 🌐

Your public IP is what websites, servers, and other internet services see when you connect. It's assigned by your Internet Service Provider (ISP) and is the same for every device on your home network (unless you're using a VPN or mobile data).

The fastest methods:

  • Search engines — Type what is my IP into Google, Bing, or DuckDuckGo. The result appears instantly at the top of the page.
  • Dedicated IP lookup sites — Tools like whatismyipaddress.com, ipinfo.io, or icanhazip.com display your public IP immediately and often include geolocation data (city, region, ISP name).
  • Command line — On any system with curl installed, running curl ifconfig.me or curl icanhazip.com in a terminal returns your public IP directly.

Important nuance: Your public IP may be dynamic (changing periodically) or static (fixed). Most residential ISP plans use dynamic IPs. If you're troubleshooting remote access or hosting a service, this distinction matters a lot.

How to Find a Private IP Address on Your Local Network

Private IPs are assigned by your router using DHCP (Dynamic Host Configuration Protocol). These addresses typically fall in ranges like 192.168.x.x, 10.x.x.x, or 172.16.x.x–172.31.x.x.

On Windows

  1. Open Command Prompt (search cmd in the Start menu)
  2. Type ipconfig and press Enter
  3. Look for IPv4 Address under your active network adapter

On macOS

  1. Open System Settings → Network
  2. Select your active connection (Wi-Fi or Ethernet)
  3. The IP address is displayed directly — or use Terminal and type ifconfig | grep inet

On Linux

Run ip addr show or hostname -I in the terminal. Your private IP appears next to inet.

On iPhone or Android

  • iPhone: Settings → Wi-Fi → tap the connected network → view IP Address under the IPv4 section
  • Android: Settings → Network & Internet → Wi-Fi → tap the network name → Advanced or Details

Via Your Router

Your router's admin panel (usually accessed at 192.168.1.1 or 192.168.0.1 in a browser) shows every device connected to your network, along with each device's assigned private IP and MAC address. This is useful when you need to find the IP of a device you can't interact with directly — like a smart TV, printer, or IoT device.

How to Look Up Someone Else's IP Address or Trace an IP

If you have an IP address and want to find out information about it, IP geolocation lookup tools can help. Sites like ipinfo.io, ip-api.com, or maxmind.com return data including:

  • Country, region, and approximate city
  • ISP or hosting provider
  • Whether it's a residential, commercial, or data center address
  • ASN (Autonomous System Number — identifies the network owner)

⚠️ Accuracy caveat: IP geolocation is an estimate, not a precise location. It typically reflects where an ISP's infrastructure is based, not the physical location of the user. Results can be off by tens or hundreds of miles for residential addresses.

Using the command line to get basic IP information:

  • nslookup [domain] — returns the IP address associated with a domain name
  • ping [domain or IP] — shows the IP and measures round-trip latency
  • tracert (Windows) or traceroute (macOS/Linux) — maps the network path to an IP address, showing each hop along the route

Variables That Change What Method Works Best

The right lookup approach shifts depending on several factors:

  • Operating system — Commands and menu locations differ between Windows, macOS, Linux, iOS, and Android
  • Network type — Home networks, corporate networks with NAT, mobile carrier networks (CGNAT), and VPN tunnels all behave differently
  • What you're diagnosing — Slow speeds, failed connections, remote access issues, and security investigations each call for different data points
  • VPN usage — A VPN replaces your visible public IP with the VPN server's IP, which changes what any external lookup tool will show you
  • IPv4 vs. IPv6 — Some networks assign IPv6 addresses by default; lookup tools and commands handle these differently

Someone troubleshooting a home printer that disappeared from the network has a completely different task than a developer trying to whitelist a server IP or a remote worker trying to understand why their VPN keeps dropping. The same question — "how do I look up an IP address?" — leads to meaningfully different answers depending on which of those situations you're actually in.