How to Find Your IP Address on Windows, Mac, Android, and iPhone

Whether you need your IP address for troubleshooting, setting up a remote connection, or simply curious about your online identity, finding it is straightforward. This guide shows you how to find both your public and private IP address on every major platform.

By IP Tester Editorial Team · Updated September 9, 2026

Find Your Public IP Address

The easiest way to find your public IP address is to use an online tool. Visit our IP Tester homepage, which automatically detects and displays your public IP along with location and ISP details. Alternatively, you can search "what is my IP" in any search engine, which will typically display your public IP address at the top of the results.

Windows

To find your private IP address on Windows:

  1. Open Command Prompt (search for "cmd" in the Start menu)
  2. Type ipconfig and press Enter
  3. Look for "IPv4 Address" under your active network adapter
To find your public IP via Command Prompt:
  1. Open Command Prompt
  2. Type nslookup myip.opendns.com resolver1.opendns.com and press Enter

Mac

To find your private IP address on macOS:

  1. Open System Settings (or System Preferences on older macOS)
  2. Click Network
  3. Select your active connection (Wi-Fi or Ethernet)
  4. Click Details or Advanced
  5. Your IP address will be listed
Alternatively, open Terminal and type ifconfig or ipconfig getifaddr en0 (for Wi-Fi).

Android

To find your private IP address on Android:

  1. Open Settings
  2. Tap Network & Internet (or Connections)
  3. Tap Wi-Fi
  4. Tap the gear icon next to your connected network
  5. Tap Advanced or scroll down to see your IP address
The exact steps may vary slightly depending on your Android version and device manufacturer.

iPhone and iPad

To find your private IP address on iOS:

  1. Open Settings
  2. Tap Wi-Fi
  3. Tap the "i" icon next to your connected network
  4. Your IP address will be listed under the IPv4 Address section
For cellular data, the IP address isn't directly shown in Settings but can be detected using online tools.

Frequently Asked Questions

Yes. This guide is written by the IP Tester editorial team and reviewed for accuracy. However, technology evolves, so details may change over time. Always check the publication date for currency.
Check our other guides for more in-depth articles on networking and privacy topics.

Related Guides

Written by IP Tester Editorial Team | Last updated: September 9, 2026