FernTool

How to find your IP address (every device)

Every device has two kinds of IP address worth knowing: the public IP that websites see, and a private (local) IP that your router hands out inside your home. Not sure which one you need? Read public vs private IP. Below are the fastest ways to find both on every common device.

Find your public IP (any device)

Your public IP is the same for every device on your Wi‑Fi, because they all share your router’s connection. The fastest way to see it:

If you’re on mobile data instead of Wi‑Fi, your phone shows the mobile network’s public IP — usually a shared address. See what CGNAT is.

Windows 11 and Windows 10

Using Settings

  1. Open Settings → Network & internet.
  2. Click Wi‑Fi (or Ethernet) and then your connection’s properties/hardware properties.
  3. Look for IPv4 address (e.g. 192.168.1.23) and IPv6 address.

Using Command Prompt

  1. Press Win + R, type cmd and press Enter.
  2. Type ipconfig and press Enter.
  3. Find your active adapter. IPv4 Address is your private IP; Default Gateway is your router’s address.

ipconfig /all also shows your MAC address and DNS servers.

macOS

  1. Open System Settings → Network (on older versions, System Preferences → Network).
  2. Select Wi‑Fi or Ethernet, then Details… → TCP/IP.
  3. Your private IP is next to IP address; your router is listed under Router.

Terminal shortcut: ipconfig getifaddr en0 (Wi‑Fi on most Macs).

iPhone and iPad

  1. Open Settings → Wi‑Fi.
  2. Tap the blue ⓘ next to your network.
  3. Scroll to IPV4 ADDRESS for your private IP and Router address. With “Private Wi‑Fi Address” on, the MAC address shown is randomised per network — that’s normal.

For your public IP, open Safari and visit ferntool.com. Note that iCloud Private Relay, if enabled, will show a relay address rather than your ISP.

Android

  1. Open Settings → Network & internet → Internet (Samsung: Connections → Wi‑Fi).
  2. Tap the gear icon next to your connected network.
  3. Tap Advanced or View more to see the IP address.

Menu names vary by manufacturer; on most phones you’ll also find it under Settings → About phone → Status.

Linux

Open a terminal and run ip -brief addr (or hostname -I). Public IP: curl -4 https://www.ferntool.com for IPv4, curl -6 https://www.ferntool.com for IPv6.

Chromebook

Click the time in the bottom-right, click your Wi‑Fi network, then click it again to open its details. The Network tab shows the IP address and gateway.

Your router

Your router has two addresses: a LAN address (the gateway, commonly 192.168.0.1, 192.168.1.1 or 10.0.0.1) and a WAN address from your ISP.

  1. Find the gateway with ipconfig (Windows) or in your phone’s Wi‑Fi details.
  2. Type it into a browser and log in (the default password is often on a sticker on the router).
  3. Look for Status, WAN or Internet. The WAN IP there should match the IP on FernTool’s homepage.

If the WAN IP is different — especially if it starts with 100.64–100.127, 10. or 192.168. — your ISP is using CGNAT or you’re behind a second router. That affects port forwarding; see CGNAT explained.

Find someone else’s IP information

If you already have an IP address (from a server log, email header or firewall alert), paste it into the IP lookup to see whether it’s valid, public or private, which country it’s registered to and which network owns it.

Troubleshooting

Frequently asked questions

How do I find my IP address quickly?

Open www.ferntool.com in any browser; your public IP appears at the top. For your private IP, run ipconfig on Windows or check Wi-Fi details on your phone.

What is the difference between my public and private IP?

Your public IP is assigned by your ISP and seen by websites. Your private IP is assigned by your router and only works inside your home network.

Why does my IP address keep changing?

Most ISPs assign dynamic IPs that change when your router reconnects. Mobile networks change them even more often.

How do I find my router IP address?

It is the Default Gateway shown by ipconfig on Windows, or the Router entry in Wi-Fi details on Mac, iPhone and Android. It is often 192.168.0.1 or 192.168.1.1.

More guides