How to Find Your IP Address on Any Device or Network

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 issue, setting up a home server, configuring a router, or just curious, knowing how to find your IP address is one of the most useful basic networking skills you can have. The process varies depending on what you're looking for and what device you're using.

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

An IP address (Internet Protocol address) is a unique string of numbers assigned to a device on a network. It works like a postal address — it tells other devices and servers where to send information.

There are two types you'll commonly need to find:

  • Public IP address — The address your entire network presents to the outside internet. Assigned by your Internet Service Provider (ISP). Every device on your home Wi-Fi shares the same public IP.
  • Private (local) IP address — The address your router assigns to each individual device inside your network. This is what your laptop, phone, or smart TV uses to communicate within your home network.

These are fundamentally different, and knowing which one you need changes how you find it.

How to Find Your Public IP Address 🌐

Your public IP is visible to any server you connect to. Finding it takes seconds:

Method 1: Use a "what is my IP" website Open any browser and search for "what is my IP". Google displays it directly in search results. Sites like ipinfo.io or whatismyip.com also show it immediately.

Method 2: Use the command line On any system with terminal access, you can query an external service:

curl ifconfig.me 

This returns your public IP address in plain text.

Your public IP can change over time unless you've arranged a static IP with your ISP. Most residential connections use dynamic IPs, which may shift when your router restarts or on a schedule set by your provider.

How to Find Your Private IP Address by Device

Windows

  1. Press Windows + R, type cmd, and press Enter
  2. In the Command Prompt, type ipconfig and press Enter
  3. Look for IPv4 Address under your active network adapter

Alternatively: Go to Settings → Network & Internet → Wi-Fi or Ethernet → Properties and scroll to the IP assignment section.

macOS

  1. Open System Settings (or System Preferences on older versions)
  2. Go to Network, select your active connection
  3. Your IP address is displayed directly on that screen

Or use Terminal:

ipconfig getifaddr en0 

Replace en0 with en1 for Ethernet if needed.

iPhone and iPad (iOS/iPadOS)

  1. Go to Settings → Wi-Fi
  2. Tap the icon next to your connected network
  3. Your IP address appears under the IPv4 Address section

Android

Steps vary slightly by manufacturer, but generally:

  1. Go to Settings → Network & Internet → Wi-Fi
  2. Tap your connected network
  3. Expand Advanced if needed — your IP address is listed there

Linux

Open a terminal and type:

ip addr show 

Look for the inet line under your active interface (commonly eth0, wlan0, or enpXsX).

Router Admin Panel (for any device on your network)

Log into your router's admin interface — typically by entering 192.168.1.1 or 192.168.0.1 in a browser. Under Connected Devices or DHCP Client List, you'll see every device on your network alongside its assigned local IP.

IPv4 vs. IPv6: Which One Are You Seeing? 🔢

Modern networks often show two IP addresses per device. Here's the distinction:

FormatExampleNotes
IPv4192.168.1.4532-bit, most common in local networks
IPv6fe80::1a2b:3c4d:5e6f:7g8h128-bit, increasingly used on public internet

For most everyday tasks — remote access, troubleshooting, port forwarding — IPv4 is what you'll reference. IPv6 matters more for larger-scale networking and future compatibility. Some tools and services will show both; don't be alarmed if yours does.

Factors That Affect Which IP You See

Not every user gets a clean, single answer. Several variables shape your situation:

  • Network type — Home, office, mobile data, and VPN environments all handle IP assignment differently
  • VPN usage — If you're connected to a VPN, your public IP will reflect the VPN server's address, not your ISP's
  • CGNAT (Carrier-Grade NAT) — Some ISPs — particularly mobile carriers — place many customers behind a shared public IP, making your "public" IP harder to trace directly to your connection
  • Dynamic vs. static IP — Dynamic IPs change; static IPs don't. Most home users have dynamic public IPs
  • Network adapter — Laptops with both Wi-Fi and Ethernet may have separate IPs for each interface

When You Might Need This Information

Knowing your IP address comes up in more situations than you'd expect:

  • Remote desktop setup — Connecting to your home computer from another location requires knowing its IP (or your network's public IP)
  • Port forwarding — Router configuration for gaming, hosting, or self-managed servers
  • Network troubleshooting — Diagnosing conflicts when two devices share the same local IP
  • Security auditing — Checking which IP is exposed when connected to public Wi-Fi or a VPN
  • Geo-restriction investigation — Understanding why certain content is or isn't available in your region

How straightforward this is — and which method works best — ultimately depends on your operating system, network configuration, and what the IP address is needed for.