Every device on a network has an IP address — a string of numbers that other devices use to reach it. The part that confuses people is that you actually have two IP addresses, and different tasks need different ones. Your public IP address is the one the internet sees; it belongs to your router and is assigned by your internet provider. Your private IP address (also called the local IP) is the one your router gives to each device inside your home, and it is only used within your own network.

If a game server, a work IT desk or a smart-home app asks for "your IP", work out which one they mean first. Sharing files or printers at home, opening your router settings, or connecting to another computer on the same Wi-Fi all use the private address. Anything on the open internet — a website checking your location, or a friend connecting to a server you host — sees the public one. This guide shows you how to find both, on every common device.

Find your public IP address (the fast way)

Your public IP is a property of your connection, not of one device, so every phone and computer on your home Wi-Fi shares the same public address. The quickest way to see it:

  1. Connect to the network you want to check (home Wi-Fi, mobile data, office network).
  2. Open a search engine and type what is my IP address. The address appears at the top of the results.
  3. Alternatively, open your router's settings page (see the last section below) — the public address is shown as the WAN IP or Internet IP on its status page.

Two things worth knowing: your public IP can change when your router restarts or your provider reassigns it, unless you pay for a static address. And if you use a VPN, the address shown is the VPN server's, not your provider's — turn the VPN off if you need your real one.

Find your private IP on Windows

Windows shows the private address for the connection you are using:

  1. Open Settings and go to Network & internet.
  2. Select Wi-Fi and then the network you are connected to — or select Ethernet if you use a cable.
  3. Scroll to the properties list and read the value next to IPv4 address. It usually looks like 192.168.1.24.

Prefer the keyboard? Open Command Prompt, type ipconfig and press Enter. Under your active adapter you will see the IPv4 Address (your private IP), the Default Gateway (your router's address) and the subnet mask, all in one place.

Find your private IP on a Mac

  1. Open the Apple menu and choose System Settings (called System Preferences on older macOS versions).
  2. Click Network, then select the connection you are using — Wi-Fi or your Ethernet adapter.
  3. Your IP address is shown in the connection details, next to the network name or under Details on newer versions.

Terminal users can type ipconfig getifaddr en0 for the Wi-Fi address and press Enter.

Find your private IP on Android and iPhone

Android: Open Settings > Network & internet > Internet, tap the Wi-Fi network you are connected to, and scroll to the network details — the IP address is listed there. On Samsung phones the path is Settings > Connections > Wi-Fi, then tap the gear icon next to the network. Menu names vary slightly between brands.

iPhone: Open Settings > Wi-Fi, tap the (i) icon next to the connected network, and read the IP Address line under the IPv4 Address heading.

Note that a phone on mobile data does not show a useful private address this way — the number in these screens is the Wi-Fi address. To see the public address your phone is using on mobile data, turn Wi-Fi off and use the search-engine method from the first section.

Find addresses from your router's client list

Your router keeps a list of every device it has given an address to, which is handy when you need the IP of a printer, camera or TV that has no screen of its own:

  1. Find your router's own address first — it is the Default Gateway from the ipconfig output on Windows, or shown as Router in the Wi-Fi details on a phone. Common values are 192.168.0.1 and 192.168.1.1.
  2. Type that address into a browser and sign in with the router's admin details (often printed on a sticker on the router, unless you changed them).
  3. Look for a page called Connected devices, Client list or DHCP clients. It lists each device's name, private IP and MAC address side by side.

While you are there, the router's status page is also the most reliable place to confirm your public IP, because it shows the address the provider actually assigned, even if a device is using a VPN.

Key takeaways

  • Public IP = your connection's address on the internet, shared by every device on your Wi-Fi; private IP = each device's address inside your home network.
  • Fastest public IP check: search “what is my IP address” in any search engine.
  • On Windows, Settings > Network & internet shows the IPv4 address; ipconfig shows it plus your router's gateway address.
  • Your router's client list is the best place to find the IP of screenless devices like printers and cameras.

Quick questions

Which IP address should I give to someone?

It depends on where they are. Someone on your own Wi-Fi needs your private address (it starts with 192.168., 10. or 172.16–172.31). Someone connecting over the internet needs your public address. Never post your public IP publicly without a reason — while it is not a password, it does reveal your approximate location and provider.

Why does my IP address keep changing?

Most home connections use dynamic addresses. Your provider can reassign your public IP when the router reconnects, and your router can give your device a different private address when it rejoins the network. That is normal. If a device needs a fixed private address (a printer or home server), set a DHCP reservation in the router instead of changing the device by hand.

What does an address starting with 169.254 mean?

It means the device asked for an address and did not get one — usually a router or cable problem. Restart the router, reconnect to the Wi-Fi, and check again. It is a fallback address Windows and other systems assign themselves, and it cannot reach anything.

Can someone find my home address from my IP?

Not precisely. A public IP usually points to a city or district and your internet provider, not to your house. Exact addresses are held by the provider and are not public information.

Further reading: Essential network settings and tasks in Windows (including “Find your IP address”) — Microsoft Support.