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:
- Open Command Prompt (search for "cmd" in the Start menu)
- Type
ipconfigand press Enter - Look for "IPv4 Address" under your active network adapter
- Open Command Prompt
- Type
nslookup myip.opendns.com resolver1.opendns.comand press Enter
Mac
To find your private IP address on macOS:
- Open System Settings (or System Preferences on older macOS)
- Click Network
- Select your active connection (Wi-Fi or Ethernet)
- Click Details or Advanced
- Your IP address will be listed
ifconfig or ipconfig getifaddr en0 (for Wi-Fi).
Android
To find your private IP address on Android:
- Open Settings
- Tap Network & Internet (or Connections)
- Tap Wi-Fi
- Tap the gear icon next to your connected network
- Tap Advanced or scroll down to see your IP address
iPhone and iPad
To find your private IP address on iOS:
- Open Settings
- Tap Wi-Fi
- Tap the "i" icon next to your connected network
- Your IP address will be listed under the IPv4 Address section
Frequently Asked Questions
Written by IP Tester Editorial Team | Last updated: September 9, 2026