Your device usually has two IP addresses worth knowing: the public one that websites see, and the private one that your Wi-Fi router gives it. This guide shows you how to find both on Android, iPhone, Windows and Mac. Menu names may vary slightly by phone brand or version, but the steps below should be close on most devices.

First, which IP address do you need?

Before you start, it helps to know which address you are looking for, because they are used for different things.

If the difference is new to you, our guide to public vs private IP addresses explains it with simple examples.

How to find your public IP address on any device

Phone and computer settings usually show only the private address. The easiest way to see your public IP is to open a website that displays it. Visit the MyLocationIndia homepage in any browser and it will show your public IP address along with the approximate location linked to it.

Keep these points in mind:

How to find your IP address on Android

Local IP address on Wi-Fi

  1. Open Settings.
  2. Go to Wi-Fi. On some phones this is inside “Network & internet” or “Connections”.
  3. Tap the network you are connected to, or the gear icon next to it.
  4. Look for IP address. On some phones you need to tap “Advanced”, “View more” or “Network details” to see it.

Another place to check

On many Android phones you can also go to Settings > About phone > Status (sometimes called “Status information”). This screen often lists the current IP address.

When you are on mobile data, the address shown in Settings is often an internal address used by your mobile network, not your public IP. To see the address websites see, use a browser instead.

How to find your IP address on iPhone and iPad

  1. Open Settings and tap Wi-Fi.
  2. Tap the small (i) icon next to the network you are connected to.
  3. Under the IPv4 section, look for IP Address. The Router entry just below it is the address of your Wi-Fi router.

On the same screen you may see “Private Wi-Fi Address”. This is about your device’s hardware (MAC) address, not your IP address, so do not confuse the two. iPhone settings do not show an IP address for mobile data, so use a browser to check your public IP when you are on Jio or Airtel data.

How to find your IP address on Windows

Using Settings

  1. Open Settings and go to Network & internet.
  2. Select Wi-Fi or Ethernet, depending on how you are connected.
  3. Open the properties of your connected network (on some versions this is called “Hardware properties”).
  4. Scroll down to find IPv4 address.

Using Command Prompt

  1. Press the Windows key, type cmd and open Command Prompt.
  2. Type ipconfig and press Enter.
  3. Under your active connection, such as “Wireless LAN adapter Wi-Fi”, find the line IPv4 Address.

The “Default Gateway” line in the same section is usually your router’s address, which is useful if you want to open the router’s settings page.

How to find your IP address on Mac

  1. Open the Apple menu and choose System Settings (called System Preferences on older versions).
  2. Click Network, then Wi-Fi.
  3. Click Details next to the connected network to see the IP address. On older versions, the address is shown directly on the Wi-Fi screen.

A quicker shortcut: hold the Option key and click the Wi-Fi icon in the menu bar at the top of the screen. The menu that opens shows your IP address.

Common things that confuse people

Frequently asked questions

Why does the IP in my phone settings not match the one websites show?

Settings show your private address inside the network. Websites see the public address of your router or mobile network, which is shared and different.

Why is my IP different on Wi-Fi and mobile data?

Your home broadband and your mobile network are separate networks, and each one gives you its own address.

Is it safe to share my IP address?

Your private IP is harmless to share because it only works inside your network. Your public IP shows your provider and rough region, so share it only when there is a clear reason, such as with your ISP’s support team.

Why does the location next to my IP look wrong?

IP location is only an estimate. Read why your IP location shows the wrong city to understand the reasons.

Finding your IP address takes less than a minute once you know where to look. Use a browser for your public IP and your device settings for your private IP, and you will have both whenever you need them.