Your Internet Protocol address is a number that identifies your device on the internet, the same way a street address identifies your house in the mail system
Every device that connects to the internet — your phone, laptop, tablet, or smart TV — gets assigned an Internet Protocol address, usually called an IP address. It looks like four numbers separated by dots, such as 192.168.1.5 or 203.0.113.42. When you send data across the internet, your IP address travels with it so the receiving computer knows where to send the response back.
You have two IP addresses at any given time: one assigned by your internet service provider (the one the outside world sees when you visit a website), and one assigned by your home router (the one your devices use to talk to each other and to that router). Both matter, but they do different jobs. Understanding which is which helps you troubleshoot connection problems and understand what information about your location or identity is visible when you browse.
Key Takeaways
- Your device has a local IP address (assigned by your router) and your internet connection has a public IP address (assigned by your internet service provider), and they serve different purposes.
- Your public IP address is visible to websites you visit and can be used to estimate your general location, but it does not reveal your street address or identity by itself.
- You can find your local IP address in your device settings or network preferences, and your public IP address by visiting a website that displays it.
- Your IP address changes when you restart your router or move to a different network, which is why some services ask you to verify your identity again after you do.
The difference between your local IP address and your public IP address
Your local IP address is assigned by your home router and is used only within your home network. It allows your phone to talk to your printer, your laptop to talk to your smart speaker, and all of them to talk to the router itself. This address starts with 192.168 or 10.0 in most homes. It never leaves your house — websites cannot see it, and it does not connect you to the internet by itself.
Your public IP address is assigned by your internet service provider and is the address the outside world sees. When you visit a website, that website logs your public IP address in its server records. Your internet service provider can trace that public IP address back to your account, but a website operator cannot — they see only the number, not your name or street address attached to it.
Think of it this way: your local IP address is like the room number inside a large office building, and your public IP address is like the building's street address. The room number only matters to people inside the building. The street address is what mail carriers use to find the building, but it does not tell them which room you are in.
How to find your local IP address
On Windows, open the Start menu, type "cmd" into the search box, and select Command Prompt. Type ipconfig and press Enter. Look for the line that says "IPv4 Address" — that is your local IP address. It will be four numbers separated by dots.
On Mac, open System Preferences, click Network, select your Wi-Fi connection, and click Advanced. Go to the TCP/IP tab. Your local IP address appears next to "IPv4 Address."
On iPhone or iPad, open Settings, tap Wi-Fi, and select the network you are connected to. Your local IP address appears under the network name.
On Android, open Settings, tap About Phone (or About Device), then tap Status. Scroll down to find "IP Address."
How to find your public IP address
Your public IP address is the one that matters when you are troubleshooting internet connection problems or checking whether your location is being reported correctly. The easiest way to find it is to visit a website that displays it for you. Search for "what is my IP" in any search engine, and the first result will show your public IP address prominently on the page.
You can also visit websites like whatismyipaddress.com or ipinfo.io, which display your public IP address and sometimes estimate your general location based on it. These sites are safe — they are simply reading back the information your browser is already sending to them.
Why your IP address changes and what that means
Your public IP address usually stays the same for weeks or months, but it can change when you restart your router, when your internet service provider performs maintenance, or when you move to a different location. Your local IP address can change if you restart your device or if your router reassigns addresses (which happens automatically on most home networks).
When your IP address changes, some services may ask you to verify your identity again — this is a security feature. Banks, email providers, and social media platforms sometimes flag a new IP address as a potential sign that someone else is using your account. If you see a verification request after restarting your router, that is normal. You can verify it is really you by entering a code sent to your phone or email.
If your public IP address changes frequently and you need it to stay the same (for example, if you are running a server or need to whitelist an address), you can contact your internet service provider about a static IP address. Most providers offer this as an add-on service for a small monthly fee.
What information your IP address reveals and what it does not
Your public IP address can be used to estimate your city or region — websites can look up your IP address in a geographic database and see roughly where your internet connection is located. This is why you sometimes see ads targeted to your area, or why a website knows what language to show you. However, this estimate is often inaccurate, especially if your internet service provider serves a large area.
Your IP address does not reveal your street address, your name, your phone number, or which specific device you are using. It does not tell a website whether you are on a phone or a computer. It does not show your browsing history or your passwords. Only your internet service provider can connect your public IP address to your personal account information, and they are legally restricted in how they can use that data.
If you are concerned about what information your IP address reveals, you can use a virtual private network (VPN), which masks your public IP address and replaces it with the VPN provider's address. This prevents websites from seeing your real IP address, though it does not hide your activity from your internet service provider.
Why IP addresses matter for network troubleshooting
When your internet is not working, knowing your IP address helps you figure out where the problem is. If your device has a local IP address but no public IP address, the problem is between your router and your internet service provider. If your device has no local IP address at all, the problem is between your device and your router.
If you are setting up a device on your home network — like a printer, security camera, or smart home hub — you often need to know its local IP address to access its settings. The device's instruction manual usually tells you how to find it. Once you have the address, you can type it into your web browser (like 192.168.1.100) and access the device's control panel directly.
Frequently Asked Questions
Can someone find my home address from my IP address?
No. Your public IP address can be used to estimate your city or region, but not your street address. Only your internet service provider can connect your IP address to your account information. Websites and other internet users cannot do this.
Why does my IP address change when I restart my router?
Your internet service provider assigns your public IP address dynamically, meaning it can change at any time. Restarting your router forces your service provider to reassign an address, which is often a different one. If you need the same address every time, ask your service provider about a static IP option.
Is it safe to share my IP address?
Sharing your public IP address is generally safe — it is visible to every website you visit anyway. However, do not share it with people you do not trust, because they could use it to attempt certain types of attacks. Never share your local IP address with anyone outside your home network.
What is the difference between IPv4 and IPv6?
IPv4 addresses use four numbers (like 192.168.1.1), while IPv6 addresses use longer strings of numbers and letters (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334). IPv6 was created because the world was running out of IPv4 addresses. Most home networks still use IPv4, but IPv6 is becoming more common.
Do I need to change my IP address for security reasons?
Not usually. Changing your IP address does not make you significantly more secure. If you are concerned about privacy, a VPN is more effective. If you think your account has been hacked, change your passwords instead of worrying about your IP address.