How to Find Your IP Address — Computer, Phone and Router
"My IP" can mean two different things: the public IP the internet sees, and the private (local) IP used only inside your home or office network. They are found in different places, so first check which one you need.
Your public IP never appears in your device settings; it can only be seen from the internet side. The quickest way is to open an IP checker — this site's home page shows it instantly.
Every device behind the same router shares one public IP. It is the address you need for remote access, firewall allow-lists or hosting a game server.
- Command Prompt: run
cmdand typeipconfig. IPv4 Address is this computer's private IP; Default Gateway is your router. - Settings: Settings → Network & internet → Wi-Fi (or Ethernet) → your network's properties → IPv4 address.
- System Settings → Network → Wi-Fi (or Ethernet) → Details on the connected network → TCP/IP shows the IP address and router.
- Terminal:
ipconfig getifaddr en0(Wi-Fi is usually en0; tryen1if nothing prints).
- Private IP:
ip -4 addrorhostname -I - Router (gateway):
ip route | grep default
- iPhone: Settings → Wi-Fi → ⓘ next to the connected network → IP Address (and Router).
- Android: Settings → Network & internet (Connections on Samsung) → Wi-Fi → gear icon of the connected network → IP address. Menu names vary by maker.
- On mobile data (LTE/5G) check your public IP on the home page instead.
Your router's IP is the default gateway shown on your computer or phone.
Typing it into the browser opens the router admin page. It is usually a private address such
as 192.168.0.1 or 192.168.1.1, and is often printed on the router's
label.
- Printer: open the network/wireless settings on the printer's panel or print a "network configuration page".
- Website: run
nslookup example.com, then check the address on IP Address Lookup for its location, ISP and cloud provider.
Your router puts all your devices (private IPs such as 192.168.0.10) behind one public IP
(NAT). That is why the IP in your settings differs from the one IP checkers show. Private
ranges are 10.x.x.x, 172.16–31.x.x and 192.168.x.x — the
subnet calculator tells you instantly whether an address is private.
Frequently asked questions
Does my public IP change?
Most home connections get a dynamic IP that can change when the router restarts or over time. A static IP usually has to be requested from your ISP.
Does my IP reveal my exact location?
No. IP geolocation is an estimate based on ISP registration data — usually city or region level, and often not your real address.
What do sites see when I use a VPN?
They see the VPN server's public IP. If an IP checker shows a VPN company or a cloud provider range, your traffic is going through that network.