Your IP address is a number that identifies your device on the internet, similar to a mailing address for your computer

Every device connected to the internet has an IP address. When you visit a website, send an email, or stream video, your device uses this address so the internet knows where to send the information back to you. Your IP address can tell websites roughly where you are located, what internet provider you use, and sometimes what device you're using.

There are two types of IP addresses you should know about. A public IP address is what the outside internet sees — this is assigned to you by your internet service provider and changes periodically. A private IP address is used only within your home network, assigned by your router to individual devices like your phone or laptop, and stays the same as long as the device stays connected to that router.

Most people asking about their IP address want to know their public one, because that's what websites see when you visit them. This is the address that can be traced back to your internet provider and general location.

Key Takeaways

  • Your public IP address is assigned by your internet service provider and is visible to every website you visit.
  • You can find your public IP address in seconds by visiting a free IP lookup website or checking your router's settings.
  • Your private IP address is used only within your home network and is assigned by your router to each device.
  • Websites can see your public IP address and use it to determine your approximate location and internet provider.

How to find your public IP address right now

The fastest way is to visit a free IP lookup website. Open any web browser and go to whatismyipaddress.com, myip.com, or ipchicken.com. The page will display your public IP address immediately — it looks like four numbers separated by periods, such as 203.0.113.42. You don't need to enter any information or create an account.

If you prefer not to visit a website, you can also find your IP address through your router. Log into your router's settings (usually by typing 192.168.1.1 or 192.168.0.1 into your browser address bar), then look for a section labeled "WAN Status" or "Internet Status." This will show your public IP address as assigned by your internet provider.

On Windows, you can also open Command Prompt and type ipconfig, then look for the line labeled "IPv4 Address" — but this will show your private IP address, not the public one your internet provider assigned. For your actual public IP address, the website method is simpler and more reliable.

Why websites and apps can see your IP address

Every time you visit a website, your browser must connect to that website's server. To complete that connection, your device sends your public IP address along with the request. The website's server uses this address to send the webpage back to you. Without sharing your IP address, the internet couldn't route information to the correct device.

This is why websites can see your IP address even if you don't enter any personal information. They don't need you to tell them who you are — they can see where the request came from. Some websites log this information for security reasons, to track how many people visit from different locations, or to show you ads based on your approximate location.

Your internet service provider can also see all the IP addresses you connect to, because the traffic passes through their network. This is one reason some people use a VPN — it masks your real IP address by routing your traffic through a different server first.

What information can be determined from an IP address

An IP address can reveal your approximate location — usually your city or region, though not your exact street address. Websites use this to show you local news, adjust prices based on location, or display ads for nearby businesses. The accuracy varies; sometimes it pinpoints your city correctly, and sometimes it shows a location several miles away.

Your IP address also identifies your internet service provider. If someone knows your IP address, they can look up which company provides your internet connection. In some cases, they can also determine what type of device or browser you're using based on other information sent alongside your IP address.

An IP address cannot reveal your name, home address, phone number, or passwords. It also cannot tell someone what websites you visit in private browsing mode, because your internet provider sees the encrypted connection but not the destination. Despite what some websites claim, your IP address alone is not enough to identify you personally.

The difference between your public and private IP address

Your public IP address is assigned by your internet service provider to your home network. This is the address that the outside internet sees. It changes periodically — sometimes every few days, sometimes every few months, depending on your provider. When you look up your IP address on a website, you're seeing your public address.

Your private IP address is assigned by your router to each device on your home network. Your phone might be 192.168.1.5, your laptop might be 192.168.1.10, and your smart TV might be 192.168.1.15. These addresses only work within your home network. If you move to a different network, your device gets a new private IP address from that network's router.

Private IP addresses always start with 192.168, 10.0, or 172.16 — these ranges are reserved for home and office networks. Public IP addresses can be any other number. You need your private IP address if you're trying to connect devices within your home network, but websites only see your public address.

Why your IP address changes and what that means

Your internet service provider doesn't assign you a permanent public IP address. Instead, they assign you a temporary one through a system called DHCP. When your modem restarts, loses connection, or reaches the end of its lease period (usually 24 to 30 days), your provider assigns you a new address. Most people don't notice this happening because it occurs in the background.

If you need a permanent IP address — for example, to run a server from your home or to access your home network remotely — you can contact your internet service provider and request a static IP address. This usually costs extra per month and requires a separate request. Most home internet users don't need this.

Restarting your modem can force a new IP address assignment, though it's not may provide. If you want to change your IP address, the most reliable method is to wait a few days, or to contact your provider and ask them to release your current address.

How to check your private IP address on different devices

On Windows: Open Command Prompt (search for "cmd" in the Start menu), type ipconfig, and press Enter. Look for "IPv4 Address" under your network connection — this is your private IP address.

On Mac: Open System Preferences, click Network, select your connection, and click Advanced. Your private IP address appears under the TCP/IP tab next to "IPv4 Address."

On iPhone or iPad: Open Settings, tap Wi-Fi, and tap the information icon next to your network name. Your private IP address appears under "IP Address."

On Android: Open Settings, tap About Phone, then tap Status. Scroll down to find "IP Address." On some Android phones, this is under Settings > Network & Internet > Wi-Fi > Advanced.

Frequently Asked Questions

Can someone find my home address from my IP address?

No. An IP address shows your approximate city or region, not your street address. Your internet service provider knows your street address because you're a customer, but a stranger who only knows your IP address cannot find where you live. They would need additional information like your name or phone number.

Is it dangerous to share my IP address?

Sharing your IP address alone is not dangerous. Websites see it every time you visit, and it's visible to anyone running a website you connect to. However, you should avoid sharing it in combination with other personal information, and you should be cautious about sharing it with people you don't trust, since it can reveal your approximate location.

Why do I have two different IP addresses when I check on different websites?

You shouldn't see two different public IP addresses if you're checking from the same device on the same network. If you are, it may mean your IP address changed between checks — this can happen if your modem restarted. If you're checking from different devices or different networks, each will have its own public IP address.

Does a VPN hide my IP address from my internet service provider?

A VPN hides your IP address from the websites you visit, but your internet service provider can still see that you're using a VPN and can see how much data you're sending. They cannot see which specific websites you're visiting when you use a VPN, because the connection is encrypted.

What does IPv6 mean, and do I need to know about it?

IPv6 is a newer format for IP addresses that uses longer numbers instead of the four-number format (called IPv4). Most home networks still use IPv4, but IPv6 is becoming more common. You don't need to do anything — your device and router handle this automatically. If you see both an IPv4 and IPv6 address listed, both are yours.