Copied!
Sign In
Access your IPWhois.net account
No account? Create one
Home / FAQ / How to Find Your IP Address

How to Find Your IP Address

Step-by-step instructions to find your public and local IP address on Windows, Mac, Linux, and mobile devices.

Finding Your Public IP Address

Your public IP address is the address that websites and online services see when you connect. It is assigned by your ISP and represents your entire home or office network to the outside world.

The easiest ways to find your public IP:

  • Use our tool: Visit our What Is My IP page - your public IP is displayed instantly.
  • Google it: Type what is my ip into Google and it will show your public IP at the top of the results.
  • Command line: Run curl ipwhois.net/ip in your terminal to get your public IP instantly.
Note: Your public IP can change if your ISP assigns addresses dynamically (DHCP). If you need a permanent address, ask your ISP about a static IP.

Finding Your Local IP on Windows

Your local (private) IP is the address assigned to your device within your home or office network. To find it on Windows:

Method 1: Command Prompt

  1. Press Win + R, type cmd, and press Enter.
  2. Type ipconfig and press Enter.
  3. Look for IPv4 Address under your active network adapter (Wi-Fi or Ethernet).

Method 2: Settings

  1. Open Settings → Network & Internet.
  2. Click on your active connection (Wi-Fi or Ethernet).
  3. Scroll down to find your IPv4 address.

You will typically see an address like 192.168.1.105 or 10.0.0.15.

Finding Your Local IP on macOS

On a Mac, you can find your local IP using either the GUI or the Terminal:

Method 1: System Preferences

  1. Open System Preferences → Network.
  2. Select your active connection (Wi-Fi or Ethernet) from the left sidebar.
  3. Your IP address is displayed on the right panel.

Method 2: Terminal

  1. Open Terminal (Applications → Utilities → Terminal).
  2. Type ifconfig en0 for Wi-Fi or ifconfig en1 for Ethernet.
  3. Look for the inet line - that is your IPv4 address.

Finding Your Local IP on Linux

Linux provides several command-line methods:

CommandDescription
ip addr showModern command - look for inet under your interface (e.g., eth0, wlan0)
hostname -IQuick one-liner that prints all assigned IP addresses
ifconfigLegacy command (may need net-tools package installed)
nmcli device showShows detailed NetworkManager info including IP

For example, running ip addr show wlan0 on a Wi-Fi connection might output something containing inet 192.168.1.42/24.

Finding Your IP on Mobile Devices

Android

  1. Go to Settings → Wi-Fi.
  2. Tap your connected network name.
  3. Your IP address will be displayed in the network details.

iPhone / iPad

  1. Open Settings → Wi-Fi.
  2. Tap the (i) icon next to your connected network.
  3. Your IP address is listed under the IPv4 Address section.

Finding Your Router's IP Address

Your router's IP (default gateway) is needed to access its admin panel. To find it:

  • Windows: Run ipconfig and look for Default Gateway.
  • macOS: Run netstat -nr | grep default in Terminal.
  • Linux: Run ip route | grep default.

Common router IPs include 192.168.1.1, 192.168.0.1, and 10.0.0.1.

Tip: Your public IP identifies your network on the internet, while your private/local IP identifies your specific device on the local network. Both are important for different purposes.
What Is My IP?
Use our free online tool - no signup required