Your IP address is a number assigned to your device that identifies it on the internet — similar to a mailing address for your computer or phone
When you connect to the internet, your device receives an IP address from your internet service provider (ISP). This address lets websites, apps, and services know where to send data back to you. Without it, the internet would have no way to route information to your device.
There are two types of IP addresses you should understand. A public IP address is what the outside internet sees — it's assigned by your ISP and is visible to websites you visit. A private IP address is used only within your home or office network, assigned by your router to devices like your laptop, phone, or smart TV. Private addresses never leave your local network.
The distinction matters because your public IP address can reveal your approximate location and be linked to your online activity. Your private IP address is only visible to devices on your own network, so it carries no privacy risk beyond your home.
Key Takeaways
- Your public IP address is assigned by your ISP and is visible to every website you visit, while your private IP address only works within your home network.
- You can find your public IP address in seconds by searching "what is my IP" or visiting a site like whatismyipaddress.com.
- Your private IP address appears in your device settings or router admin panel and typically starts with 192.168, 10.0, or 172.16.
- Websites can see your public IP and use it to estimate your location, track your browsing patterns, and build profiles about you.
- A VPN (virtual private network) masks your public IP by routing your traffic through an encrypted tunnel, making websites see the VPN's IP instead of yours.
How to find your public IP address right now
The fastest way is to open any web browser and search for "what is my IP address." Google will display your public IP at the top of the results page. Alternatively, you can visit whatismyipaddress.com, ipchicken.com, or similar sites — they all show the same information.
Your public IP address looks like four numbers separated by periods, such as 203.45.67.89. This is the address that identifies your device to the outside internet. Every time you visit a website, that site logs this number along with the time you visited and what pages you looked at.
You can check your public IP as many times as you want — it won't change unless you restart your router or your ISP reassigns it, which can happen but is not common for home internet users.
How to find your private IP address on Windows, Mac, or Linux
Your private IP address is assigned by your router and only works on your home network. To find it on Windows, open the Command Prompt (search for "cmd" in the Start menu), type ipconfig, and press Enter. Look for "IPv4 Address" under your active network connection — it will start with 192.168, 10.0, or 172.16.
On Mac, open System Preferences, click Network, select your active connection, and your private IP appears in the window. On Linux, open a terminal and type hostname -I to see your private IP address.
You can also find your private IP by logging into your router's admin panel. Open a browser, type 192.168.1.1 or 192.168.0.1 in the address bar, and log in with your router's username and password (often "admin" and "admin" or printed on the router itself). Look for a section called "Connected Devices" or "DHCP Clients" to see all devices on your network and their private IP addresses.
What websites and apps can see about your public IP
Every website you visit knows your public IP address. This information is logged on their servers and can be combined with other data to build a profile about you. Websites use your IP to estimate your city or region, track how many times you visit, and see what pages you look at.
Advertisers buy this data to target you with ads based on your location and browsing habits. Your ISP can also see your public IP and every domain you visit — they know which websites you go to, though they cannot see the content of encrypted pages (those with "https" in the address).
Law enforcement and courts can request your IP address from websites or your ISP to identify you if you are suspected of a crime. This is one reason why your public IP is considered sensitive information.
How a VPN changes what websites see
A VPN (virtual private network) is a service that encrypts your internet traffic and routes it through a server in another location. When you use a VPN, websites see the VPN server's IP address instead of your own. This masks your real location and makes it harder for websites to build a profile linked to your actual identity.
Private Internet Access is one VPN service among many. When you connect to it, your traffic is encrypted and routed through PIA's servers. Websites see a PIA IP address, not your ISP's assigned address. Your ISP can see that you are using a VPN but cannot see which websites you visit or what you do online.
A VPN does not make you anonymous — the VPN company itself can see your traffic if they choose to log it. This is why the VPN's privacy policy matters. Some VPNs keep detailed logs; others claim to keep no logs at all. You are shifting trust from your ISP to the VPN provider.
The difference between hiding your IP and staying private
Hiding your IP address with a VPN is not the same as being fully private online. A VPN masks your location and makes it harder for websites to link your activity to your home address, but it does not hide your activity from the VPN company itself or from your employer if you are on their network.
Websites can still track you through cookies, browser fingerprinting, and login accounts even if your IP is hidden. If you log into Facebook, Gmail, or any other account while using a VPN, those companies know exactly who you are regardless of what IP address you appear to come from.
A VPN is one layer of privacy, not a complete solution. It works best when combined with other practices: using a private browser mode, clearing cookies regularly, avoiding logging into personal accounts on public networks, and being cautious about what information you share online.
When you might want to hide your IP address
You might use a VPN to prevent your ISP from seeing which websites you visit, to access content that is blocked in your region, or to use public WiFi without exposing your traffic to other people on the network. A VPN also prevents websites from using your IP to estimate your location and target ads based on where you live.
If you travel internationally, a VPN can make websites think you are still in your home country, which can help you access services that are restricted by geography. Some people use VPNs on public WiFi at coffee shops or airports to prevent others on the same network from intercepting their passwords or data.
However, a VPN is not necessary for everyday browsing if you are on your own home network. Your private IP address is already hidden from the internet. A VPN becomes more useful when you are concerned about your ISP's tracking, using untrusted networks, or want to mask your location from websites.
Frequently Asked Questions
Can someone find my home address from my IP address?
Not exactly, but they can get close. Your public IP reveals your city or region and sometimes your neighborhood. Your ISP knows your exact address because they assigned the IP to you, but websites cannot see that information directly. Law enforcement can request it from your ISP with a warrant.
Does restarting my router change my IP address?
Usually yes for your public IP, though not always immediately. Your ISP may reassign you the same address or a different one. Your private IP address may also change if your router reassigns it, but you can configure most routers to give your devices the same private IP each time they connect.
Is my private IP address a security risk?
Not on its own. Your private IP only works within your home network and is not visible to the internet. However, if someone gains access to your WiFi network, they can see your private IP. Securing your WiFi with a strong password prevents this.
Do I need a VPN if I use HTTPS websites?
HTTPS encrypts the content of your browsing, so websites cannot see what you type or what pages you view. However, they still see your IP address and can log it. A VPN adds another layer by hiding your IP, but HTTPS alone protects the content of your activity.
What happens to my IP address when I use a VPN?
Your device still has your real public IP assigned by your ISP, but your traffic is routed through the VPN's servers. Websites see the VPN's IP address instead of yours. Your ISP sees that you are using a VPN but not which websites you visit.