All About Cookies is an independent, advertising-supported website. Some of the offers that appear on this site are from third-party advertisers from which All About Cookies receives compensation. This compensation may impact how and where products appear on this site (including, for example, the order in which they appear).
All About Cookies does not include all financial or credit offers that might be available to consumers nor do we include all companies or all available products. Information is accurate as of the publishing date and has not been provided or endorsed by the advertiser.
The All About Cookies editorial team strives to provide accurate, in-depth information and reviews to help you, our reader, make online privacy decisions with confidence. Here's what you can expect from us:
- All About Cookies makes money when you click the links on our site to some of the products and offers that we mention. These partnerships do not influence our opinions or recommendations. Read more about how we make money.
- Partners are not able to review or request changes to our content except for compliance reasons.
- We aim to make sure everything on our site is up-to-date and accurate as of the publishing date, but we cannot guarantee we haven't missed something. It's your responsibility to double-check all information before making any decision. If you spot something that looks wrong, please let us know.
An internet protocol (IP) address is somewhat like a house address, but for your device(s). Data packets need a source and a unique destination address to move information from one to the other.
We detail below what you should know about your IP address, the information it reveals, and how to hide it to maintain online privacy with the best virtual private networks (VPNs), home routers, and other methods.
What is an IP address used for?
Find your IP address
What information is included in your IP address?
What can someone do with your IP address?
Protect your IP address
FAQs
Bottom line
What is an internet protocol address?
Your house has a physical address to receive mail and your computer has an IP address to send and receive data from the internet.
IP addresses have two parts: the network ID and the host ID.
- Network ID: Usually made up of the first several numbers of the IP address
- Host ID: Usually the final number(s) in the IP address
For example, using an IP address of 192.168.1.1:
- 192.168.1 is the network ID
- The final .1 is the host ID
These numbers are unique to every device communicating on the internet. Although duplication of IP addresses can happen, your internet service provider (ISP) is responsible for not sending you someone else's.
Types of IP addresses
IP addresses come in many flavors, but each one serves a distinct purpose. Here are some of the more common types of IP addresses and their uses.
Static vs. dynamic IP address
IP addresses are issued either as static or dynamic. Static addresses are a fixed address that never changes. Dynamic addresses are leased to you for some time before they change.
Think of a static IP address as a house number that never changes. Dynamic IP addresses would be similar to a hotel room. You keep the room for a period of time. Once you depart, the hotel room is rented to someone else. Dynamic IP addresses work the same way.
Local vs. public IP address
A local or private IP address is like giving every room in your house a separate address, but instead of a room with an address, all your connected devices get a specific IP address.
Local IP addresses are assigned internally by your router, and no devices or people outside your home network will know what your local IP addresses are. This is just like how someone from another place wouldn’t be able to send packages directly to your son or daughter’s room because that number isn’t known to Amazon or the U.S. Postal Service.
Your ISP assigns your router a public IP address, and your ISP is given a list of IP addresses it can assign out to its customers by the Internet Assigned Numbers Authority (IANA). Public IP addresses are needed to communicate, or send and receive data, over the internet.
The format for an address, either local or public, looks something like this:
- 29.211.120.1
- 172.29.1.1
IPv6 vs. IPv4 addresses
IPv4 addresses are the original version of internet protocol created in 1983 and are still widely used today. IPv4 uses a 32-bit address scheme, which means it can store more than 4 billion unique IP addresses.
Due to a shortage of IPv4 addresses, your ISP may issue only one public IP address per home.
The shortage of available IPv4 addresses is one of the reasons why IPv6 addresses were created. IPv6 uses a 128-bit address scheme, so you can imagine it can store more IP addresses at once — 340 undecillion, to be exact.
What is an IP address used for?
The IP address allows for two-way communication between locations over the internet. Every website has an IP address. If you type the name of the website, your ISP has a list of public IP addresses matching the name of the site you want to connect to. This is called the domain name services, or DNS.
This service saves you valuable keystrokes. Instead of typing in “http://209.192.122.11/index.html,” you can type in “CNN.com.”
Websites can also use your IP address to customize specific content based on your recent searches or browser searches. For example, travel sites and online stores offer local suggestions for products and tour sites based on the geolocation of your IP address.
How to find your IP address
To find your public IP address, open your internet browser and type in WhatIsMyIPAddress.com.
If the site is unavailable or you prefer a more manual approach, there are a few options for you to look up your IP address on your device.
How to find your local IP address on Windows
Accessing your IP address is relatively easy to do. Here are the steps for each version of Windows.
Windows 8:
- Click on the Start menu, type network, and select Network Connection Settings.
- In the Connections menu, click Network.
- You’ll see your IP address under Properties.
Windows 10 and 11:
- Go to the Start menu search bar, type in cmd, and select the Command Prompt app.
- In the Command Prompt, type ipconfig and hit Enter.
- Your local IPv4 and IPv6 addresses will be displayed on the screen.
How to find your local IP address on a Mac
Locating an IP address on a Mac slightly differs from on a Windows machine.
- Open the Apple menu and select System Preferences.
- Click Network.
- Choose your active network connection from the menu on the left, shown by a green dot.
- Your local IP address will be shown under Status.
What information is included in your IP address?
IP addresses issued by internet providers include information about the network you belong to and information about your location — but before you worry, the information isn’t exact. It's also associated with your ISP.
This includes the following information about your ISP:
- Your ISP’s name
- The city it’s in
- The zip code it’s in
This information can give others a general idea of where you live, but without other information, it remains difficult to pinpoint your exact home address.
If you have connection problems, always check your IP address to ensure you get a full address from the provider.
What can someone do with your IP address?
Having an IP address is the lifeblood of connection to the internet. Security issues could occur if someone has discovered your IP address linked to your cable modem or home internet router.
- Find your general location: This includes your state and possibly the city you’re in.
- Shut down your internet: Hackers can run denial-of-service (DoS) attacks against your specific IP, which prevents you from communicating with the internet.
- Show you personalized ads: Advertisers can use your IP address to send you ads targeted to your location.
- Show you malicious ads: If a hacker controls your device or home router, they can insert web code into your browser or redirect your connections anywhere in the world they want.
- Collect sensitive data: Can hackers read your email? Crack your password? Yes, once hackers intercept your data, they could access personal information.
- Impersonate you: Once the hacker figures out your IP address, they can perform a man-in-the-middle attack by basically terminating your internet connection, then impersonating you by taking your IP address and using the internet for fraudulent reasons.
- See your online activity: While you’re connected to your work network, your employer could use your IP address to check in on what you do online.
How can someone find your IP address?
Here are some methods they could use to discover your IP address and begin monitoring web traffic:
- Connecting to your Wi-Fi: People walking or driving around your neighborhood could look for any open internet access points. Once a hacker connects to your network, they will see other machines on the web, including your public IP address issued by the ISP. This is why you should ensure you have a password on your Wi-Fi network.
- Reading your email header: This used to be a problem before Google and Microsoft stopped including your IP address on your emails. However, if you use a smaller email provider that embeds your IP address into the email header section, you could still be at risk.
- Borrowing your device: Be wary of allowing others to borrow your phone, computer, and other devices that contain your IP address. It’s as easy as Googling, “What is my IP address?” on your device to reveal your IP.
- Looking over your shoulder: Shoulder surfing is alive and well in coffee shops and other public spots. Hackers could wait for you to order a second triple espresso. Once you do, they could quickly hit a few keys and see your IP. While in public, please take your device with you — everywhere.
How to protect your IP address
You can protect yourself, your family, and your pet who surfs the internet while you're out by using router protection or a VPN.
Set up home router protection
Security starts at the front door — I know, back to the house analogy. Front doors have locks, and routers have similar security controls:
- Enable a password for Wi-Fi access
- Use a different password for your guest network
- Change all default settings, including the admin username and password, SSID (network name), and device name.
Use a VPN
A VPN is also an excellent way to protect your IP address. VPNs encrypt your information while you're online, and many include a kill switch for even more security.
Even if the hacker gained control of your home router or jumped on your WI-FI, your data will be unreadable.
Some of our top recommendations include:
- NordVPN: NordVPN is one of the top VPN services, and it's full of features for protecting your privacy. It comes with specialty servers, including P2P, obfuscated, and multi-hop servers, and it has dedicated IP addresses for purchase.
- ExpressVPN: If you're looking for speed and security, ExpressVPN is a good choice. ExpressVPN has its own Lightway VPN protocol for quick and secure connections, and it successfully passed our speed tests.
- Surfshark: Surfshark is best for people who want an affordable VPN to use on lots of different devices. It allows for unlimited simultaneous connections and comes with loads of extra features like static IP and rotating IP addresses, an ad blocker, and Smart DNS.
Incognito mode is a way to open a private web browsing session in Google Chrome or another web browser. However, incognito doesn’t hide your IP address.
Change your IP address
Aside from using a VPN or proxy server, you can also manually change your IP address. Read our full guide to learn how to change your own IP address on iOS, Android, and Windows.
FAQs
Does every computer have a different IP address?
Yes, every computer, car, smart bulb, cell phone, and other devices connected to the internet have a different IP address.
Can someone find me with my IP address?
Yes and no — someone could get a geolocation based on your IP address, but most tracing tools are highly inaccurate. A dynamic IP address with a short lease could help reduce the chances someone could pinpoint your location with an IP address geolocation hack.
Can someone track your IP address?
Yes, hackers can track your IP address if you don’t secure it. But you can protect your IP address with VPN software, and don't leave your devices with anyone you don't know. You should also change the password on your Wi-Fi to protect your home network.
Bottom line
IP addresses are the lifeblood of connectivity to the internet. Without a public IP address issued by an ISP, you’d have no ability to access the internet, send email, or chat with your friends.
Using a router to protect your internal devices by issuing private IP addresses will help safeguard your home network. Other easy ways to protect your online data include setting up Wi-Fi security and using a VPN to hide your IP address.
We've also compiled a list of the best VPN routers so you can protect every internet-connected device in your home.