Your IP address is a number assigned to your device by your internet provider, and websites can use it to estimate your general location
When you connect to the internet, your device receives an IP address — a unique identifier that looks like four numbers separated by periods, such as 192.168.1.1. Websites and services you visit can see this number, and they use it to estimate where you are geographically. This is why you might see ads for local businesses or why a website remembers your approximate region when you return.
The location estimate from an IP address is usually accurate to your city or neighborhood, but not to your exact street address or home. Your internet service provider (ISP) assigns the IP address to your account, and that assignment is tied to the provider's service area. If you move to a different city and switch providers, you get a new IP address.
Finding your own IP address takes less than a minute and requires no special tools. You can look it up directly on your device or use a free website that displays it for you. Understanding what your IP address reveals — and what it does not — helps you decide whether you need additional privacy tools like a VPN.
Key Takeaways
- Your IP address is visible to every website you visit and reveals your approximate city or region, but not your street address.
- You can find your IP address by checking your device settings, or by visiting a website like whatismyipaddress.com that displays it automatically.
- Your ISP assigns your IP address, and it changes when you switch providers or restart your modem, but stays the same while you are connected.
- A VPN masks your IP address and location from websites, but it slows your connection slightly and may prevent some services from working.
Finding your IP address on Windows
On a Windows computer, the fastest way is to open the Command Prompt and type a single command. Click the Windows Start button, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter.
Look for the line labeled IPv4 Address. The number next to it is your IP address — it will look something like 192.168.1.5 or 203.0.113.42. If you see multiple IPv4 addresses listed, the one under your active network connection is the one you need. Write it down or take a screenshot if you want to keep it.
If you prefer not to use Command Prompt, you can also find your IP address through Settings. Open Settings, go to Network & Internet, then Status. Scroll down and click View your network properties. Your IPv4 address appears in the list.
Finding your IP address on Mac
On a Mac, open System Preferences (or System Settings on newer versions) and click Network. Your active connection — usually Wi-Fi or Ethernet — is highlighted on the left. Click it, and your IP address appears in the window on the right, labeled IP Address.
Alternatively, you can open Terminal (found in Applications > Utilities) and type ifconfig, then press Enter. Look for the line that says inet followed by a number. That number is your IP address. The Terminal method shows more technical detail, but the Settings method is simpler if you only need the address itself.
Finding your IP address on iPhone or Android
On an iPhone, go to Settings, tap Wi-Fi, and find the network you are connected to. Tap the information icon (a small circle with an i) next to the network name. Your IP address appears under the IPv4 Address field.
On Android, the process varies slightly by manufacturer, but the general path is Settings > Network & Internet > Wi-Fi > (tap your connected network) > Advanced or IP Settings. Your IP address is listed there. Some Android phones label it as IP Address, others as IPv4 Address.
If you cannot find it in your phone settings, the simplest method on any device is to visit a website like whatismyipaddress.com or myip.com in your browser. The site displays your IP address when ready without any setup.
What your IP address reveals and what it does not
Your IP address reveals your approximate location — usually your city or the region served by your ISP. Someone looking up your IP address can see that you are in Denver, or in a particular neighborhood of a large city, but they cannot see your street address, apartment number, or exact coordinates. The precision depends on the database the person is using and how recently it was updated.
Your IP address does not reveal your name, phone number, email address, or browsing history. It does not show what you are doing on the internet or which specific websites you visit — only that you are connecting from a particular location. Your ISP can see which websites you visit, but websites cannot see your ISP account information.
Websites use your IP address for legitimate reasons: to show you local search results, to detect fraud, to comply with regional laws, and to serve ads targeted to your area. They also use it to block access from certain countries or regions. If you are traveling and a service blocks you based on location, your IP address is usually the reason.
When your IP address changes
Your IP address changes when you restart your modem or router, when your ISP reassigns addresses (which happens periodically), or when you switch to a different internet provider. If you move to a new city and sign up with a local ISP, you receive a new IP address tied to that region.
Within your home network, your device also has a private IP address (like 192.168.1.5) that is different from your public IP address (the one websites see). The private address only works on your home network. The public address is what matters for location tracking and website access.
If you want to hide your IP address and location from websites, you can use a VPN (Virtual Private Network). A VPN routes your connection through a server in another location, so websites see the VPN server's IP address instead of yours. This masks your real location, but it may slow your connection and can prevent some services from working correctly.
Using a website to check your IP address
If you do not want to dig through device settings, visiting a website is the fastest option. Open any browser and go to whatismyipaddress.com, myip.com, or iplocation.net. The page displays your public IP address when ready, along with your approximate city and region.
These sites also show additional information like your ISP name and whether your connection is flagged as a VPN or proxy. This information is useful if you are troubleshooting a connection problem or checking whether your VPN is working correctly. The sites are free and do not require you to create an account or read anything.
Frequently Asked Questions
Can someone find my home address from my IP address?
No. An IP address reveals your approximate city or region, not your street address. Someone would need additional information — like your name or phone number — to find your home. Your ISP has your address on file, but websites and strangers on the internet cannot see it from your IP address alone.
Does my IP address change every time I connect to the internet?
Not usually. Your public IP address stays the same as long as you are connected to the same internet provider and do not restart your modem. It changes when you restart your modem, switch providers, or move to a different location. Your ISP may also reassign addresses periodically, which can change your IP without any action on your part.
Will a VPN hide my location from all websites?
A VPN hides your IP address and location from websites, but some services may detect that you are using a VPN and block you anyway. Streaming services, banks, and some government websites do this intentionally. A VPN also slows your connection slightly because your data travels through an extra server.
Is my private home network IP address the same as my public IP address?
No. Your private IP address (like 192.168.1.5) only works on your home network and is assigned by your router. Your public IP address is assigned by your ISP and is what websites see. You need the public address to understand your location from a website's perspective.
Why do some websites ask me to turn off my VPN?
Websites detect VPNs because they mask your real IP address and location. Services like streaming platforms, banks, and retailers block VPNs to prevent fraud, enforce regional licensing, or comply with laws. If a website blocks you while using a VPN, you can disconnect from the VPN temporarily to access it.