Skip to content

This guide isn’t available in 日本語 yet, so we’re showing the original English version.

How to Check Your Public and Private IP Address

Your public IP address is how the internet sees your whole home network; search “what is my IP” to find it. Your private IP is your device’s address inside your network, usually starting with 192.168 or 10. Find it in your device’s Wi-Fi details or with ipconfig.

Updated
Time
2 minutes
Difficulty
Easy
Applies to
Windows, Mac, Android, iPhone

By Published Oct 6, 2026

Quick answer

  1. 1 Public IP: visit a site like whatismyipaddress.com or search “what is my IP”.
  2. 2 Windows private IP: run ipconfig and read IPv4 Address.
  3. 3 Mac: System Settings > Network > Wi-Fi > Details.
  4. 4 Android: Settings > Network & internet > Internet > tap your network.
  5. 5 iPhone: Settings > Wi-Fi > (i) next to your network.
On this page
  1. Before you start
  2. Public vs private IP
  3. Find your public IP
  4. Find your private IP
  5. Troubleshooting
  6. Frequently asked questions

Before you start

  • Any device

Public vs private IP

Public IP: assigned by your internet provider to your router. Every device in your home shares it on the internet.

Private (local) IP: assigned by your router to each device. Common ranges: 192.168.x.x, 10.x.x.x, 172.16–31.x.x. These aren’t reachable from the internet.

Method 1 Find your public IP

  1. Step 1: Use a website

    Visit whatismyipaddress.com, ifconfig.me or search “what is my IP” in Google.

  2. Step 2: Check the router

    The router’s status page shows the WAN IP. If it starts with 100.64–100.127 or is private, your provider uses CGNAT (shared public IPs).

Method 2 Find your private IP

  1. Step 1: Windows

    Open Terminal, run ipconfig, and read IPv4 Address under your active adapter. Or Settings > Network & internet > Wi-Fi > [network] properties.

  2. Step 2: Mac

    System Settings > Network > Wi-Fi > Details > TCP/IP.

  3. Step 3: Android

    Settings > Network & internet > Internet, tap the gear next to your network > IP address (may be under Advanced).

  4. Step 4: iPhone

    Settings > Wi-Fi, tap (i) next to the network and see IP Address.

Windows and Mac/Linux commands
ipconfig            (Windows)
ipconfig getifaddr en0   (Mac, Wi-Fi)
curl ifconfig.me    (public IP, any OS with curl)

Troubleshooting

My IP starts with 169.254

The device didn’t get an address from the router. Restart the router and renew the IP.

My public IP keeps changing

Most home connections have dynamic IPs. Ask your provider about a static IP if you need one.

Frequently asked questions

Can someone find my location from my IP?

Only roughly (city or region, sometimes wrong). Your provider knows the exact account but won’t share it without legal process.

How do I hide my public IP?

Use a VPN or Tor Browser.

Summary

Search “what is my IP” for your public address, and check ipconfig or your device’s Wi-Fi details for your private address.

Sources

Written by

James Chambo

Founder

James is the Founder and Senior Editor of OnlineHow with more than 20 years of experience in internet publishing.