Finding your IP address depends on what device you're using and whether you need your local address or the one the internet sees
Your IP address is a number assigned to your device so it can send and receive data. You have two: a local IP address that works only on your home network, and a public IP address that identifies you to the wider internet. Most people need their public address when troubleshooting internet problems or setting up services. Finding either one takes less than a minute and requires no special tools beyond what your device already has.
The method you use depends on which address you need and what device you're using. Your public IP is the same across all your devices at home, while each device gets its own local address from your router. This guide covers how to find both on Windows, Mac, and through your browser.
Key Takeaways
- Your public IP address is what websites and services see; you can find it by visiting whatismyipaddress.com or by searching "what is my IP" in any browser.
- Your local IP address is what your router assigns to your device; on Windows it lives in Settings under Network, and on Mac it's in System Settings under Wi-Fi or Ethernet.
- If you need your router's IP address to change settings, it's usually 192.168.1.1 or 192.168.0.1, typed into your browser's address bar.
- Your public IP address changes when your internet service provider reassigns it, which can happen weekly or monthly depending on your provider.
Finding your public IP address in a browser
The fastest way to see your public IP address is to open any web browser and visit a site that displays it. Go to whatismyipaddress.com, or simply search "what is my IP" in Google, Bing, or any search engine. The address appears at the top of the results page in large text. This is the number your internet service provider assigned to your account, and it's what websites record when you visit them.
You can also visit ipchicken.com, myip.com, or iplocation.net — all show the same information. The address you see is your public IP, and it may also display your approximate location based on where your internet service provider's servers are registered, not your actual home address. If you're using a VPN or proxy service, the address shown will belong to that service instead of your actual internet connection.
Finding your local IP address on Windows
Your local IP address is the number your router assigns to your specific device. On Windows 10 or 11, open Settings and go to Network & Internet. Click on Wi-Fi if you're connected wirelessly, or Ethernet if you're plugged in with a cable. Scroll down and click "View your network properties." Your local IP address appears next to "IPv4 address" — it usually starts with 192.168 or 10.0.
If you prefer the command line, open Command Prompt by searching for "cmd" in the Start menu, type ipconfig, and press Enter. Look for "IPv4 Address" under the connection you're using. This local address only works on your home network; it's what your printer, smart TV, or other devices use to find your computer. Both methods show the same number, so use whichever is faster for you.
Finding your local IP address on Mac
On a Mac, open System Settings and click Network in the sidebar. Select your connection — Wi-Fi or Ethernet — and your local IP address appears on the right side of the window, labeled "IP Address." Like Windows, it usually starts with 192.168 or 10.0. This is the address your router uses to identify your Mac on your home network.
You can also find it through the Terminal if you prefer. Open Terminal by searching for it in Spotlight, type ifconfig, and press Enter. Look for "inet" under your active connection — that's your local IP address. Both the Settings method and the Terminal method show the same number, so choose whichever you find easier to use.
Finding your router's IP address
If you need to change your Wi-Fi password, set up port forwarding, or adjust other network settings, you'll need your router's IP address. On most home routers, this is 192.168.1.1 or 192.168.0.1. Open a web browser, type one of these addresses into the address bar (the same place you'd type a website URL), and press Enter. You'll be asked to log in — the default username and password are usually "admin" and "admin," though some routers use different defaults printed on a sticker on the back of the device.
If neither address works, you can find your router's actual IP address through your computer's network settings. On Windows, open Command Prompt and type ipconfig; look for "Default Gateway" — that's your router. On Mac, open Terminal and type netstat -nr | grep default; the first number in the output is your router's address. Once you have it, type it into your browser's address bar to access your router's settings page.
Understanding the difference between public and local addresses
Your public IP address is assigned by your internet service provider and is visible to every website and service you connect to. It changes periodically — sometimes weekly, sometimes monthly — depending on your provider's policies. When you contact your ISP about internet problems, they ask for this address to look up your account and see what's happening on your connection.
Your local IP address is assigned by your router and only works within your home network. It doesn't change unless you manually reset your router or your device hasn't connected in a very long time. Devices on your network use local addresses to find each other — your phone finds your printer using its local address, not its public one. If you're setting up a device on your home network, you need the local address. If you're troubleshooting with your ISP or checking what the internet sees, you need the public address.
What to do if your IP address keeps changing
Internet service providers assign public IP addresses dynamically, meaning they can change without warning. If you need a stable address — for example, to set up remote access to a computer or to whitelist your address on a service — you have two options. Contact your ISP and ask about a static IP address; many providers offer this for a monthly fee, usually between $5 and $15. Alternatively, use a VPN service, which gives you a stable address that belongs to the VPN provider instead of your ISP.
Your local IP address is more stable but can change if your router restarts or if you don't connect for an extended period. If you need a device to have a permanent local address, log into your router's settings using the router's IP address described above and look for DHCP settings or "Reserved IP" options. This lets you assign a fixed local address to a specific device so it stays the same even after your router restarts.
Frequently Asked Questions
Is my IP address the same on all my devices?
No. Your public IP address is the same across all devices on your home network — your phone, laptop, tablet, and computer all show the same public address because they all connect through the same internet service provider. However, each device has its own local IP address assigned by your router. Your phone might be 192.168.1.5 while your laptop is 192.168.1.10.
Can someone find my location from my IP address?
Your public IP address reveals your approximate location — usually your city or region — because internet service providers register their address ranges by geography. It does not reveal your street address or home location. Websites and services can see your public IP, but they see the same approximate location data that a search engine would show you if you looked up your own IP.
Why does my IP address show a different city than where I live?
Your internet service provider's servers may be located in a different city than your home. The IP address is registered to that server location, not to your physical address. This is normal and happens with most ISPs. If you need your actual location hidden, a VPN service will show a different location entirely.
What's the difference between IPv4 and IPv6?
IPv4 addresses are the older format and look like 192.168.1.1 — four numbers separated by periods. IPv6 is the newer format and looks like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 — longer and using letters and numbers. Most home networks still use IPv4, but IPv6 is becoming more common. Both serve the same purpose; you only need to know which one your device is using if you're troubleshooting a specific connection problem.
Do I need to hide my IP address?
For everyday internet use, your public IP address is visible and that's normal. Hiding it is useful if you want to prevent websites from logging your location, or if you're connecting to public Wi-Fi and want to protect your data. A VPN service hides your IP address by routing your connection through their servers instead. However, a VPN is not necessary for basic internet safety — using a password manager and keeping your software updated are more important.