Your IP address is a number that identifies your device on the internet

Your IP address is a set of numbers separated by periods — something like 192.168.1.5 or 203.0.113.42 — that acts as your device's address on the internet. Every device connected to the internet has one. When you visit a website, send an email, or stream video, your IP address tells the receiving server where to send the information back to.

You actually have two IP addresses at any given moment: a private IP address that identifies your device within your home or office network, and a public IP address that identifies you to the wider internet. Most of the time when people ask "what's my IP address," they mean the public one — the one websites see when you visit them.

Finding either one takes less than a minute and requires no special software or technical knowledge. The method depends on which address you need and what device you're using.

Key Takeaways

  • Your public IP address is what websites see and is the one most people need to find; you can see it by visiting a search engine and typing "what is my IP" or by visiting a dedicated IP lookup site.
  • Your private IP address identifies your device only within your home or office network and is found in your device settings or network information.
  • On Windows, you can find your private IP by opening Command Prompt and typing ipconfig; on Mac or Linux, use Terminal and type ifconfig or ip addr.
  • Your public IP address changes periodically depending on your internet provider, but your private IP usually stays the same unless you manually change it.

Finding your public IP address in seconds

The fastest way to find your public IP address is to search for it directly. Open any web browser, go to Google or another search engine, and type "what is my IP address" into the search box. Google will display your public IP address at the top of the results page in large text.

If you prefer not to use a search engine, you can visit a dedicated IP lookup website. Common ones include WhatIsMyIPAddress.com, IPChicken.com, or CanIHazIP.com. These sites exist solely to show you your public IP address — you visit the page and your address appears immediately, no typing required.

Both methods work the same way: the website you visit can see the IP address your traffic is coming from, so it simply displays it back to you. This is your public IP address, the one your internet provider assigned to your home or office connection.

Finding your private IP address on Windows

Your private IP address is the one your device uses to communicate with other devices on your home network — your printer, your phone, your smart TV. To find it on a Windows computer, open the Command Prompt application. Press the Windows key, type "cmd" into the search box, and press Enter.

In the Command Prompt window, type the word ipconfig and press Enter. A list of information will appear. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on whether you're connected by cable or Wi-Fi. Next to "IPv4 Address," you'll see a number like 192.168.1.5 or 10.0.0.15. That's your private IP address.

If you see multiple adapters listed, look for the one that shows an IPv4 address in the 192.168.x.x range or 10.x.x.x range. Those are the standard formats for private home network addresses. Ignore any that start with 169.254 — those mean the connection isn't working properly.

Finding your private IP address on Mac or Linux

On a Mac, open the Terminal application. You can find it by pressing Command and Space together, typing "terminal," and pressing Enter. In the Terminal window, type ifconfig and press Enter.

Look through the output for a section labeled "en0" or "en1" (these represent your network connections). Next to "inet" you'll see your private IP address. It will typically start with 192.168 or 10.0.

On Linux, the process is similar. Open a terminal window and type ip addr or ifconfig depending on your Linux distribution. Look for the section labeled "inet" under your active network connection — usually labeled "eth0" for wired or "wlan0" for wireless. The number next to "inet" is your private IP address.

Why you might need to know your IP address

You need your public IP address if you're troubleshooting internet problems with your provider, setting up remote access to your home computer, or checking whether a website has blocked your connection. Some services also ask for your IP address to verify your location or to whitelist your device for security purposes.

You need your private IP address if you're setting up a device on your home network, configuring your router, troubleshooting why a printer or smart device isn't connecting, or assigning a static IP to a device so it always has the same address. System administrators and IT support staff often ask for your private IP when helping you fix network problems.

In most everyday situations, you won't need either one. But when you do need it, knowing where to find it saves you time and frustration.

The difference between public and private IP addresses

Your public IP address is assigned by your internet service provider and is visible to every website you visit. It's how the internet knows where to send information back to your home or office. Your ISP may change this address periodically — sometimes weekly, sometimes monthly, depending on their policies. You can't control when this happens, but you can request a static public IP from your provider if you need one that doesn't change (this usually costs extra).

Your private IP address is assigned by your router and is only visible to devices on your home network. It never leaves your network — websites and internet services never see it. Your router typically assigns these automatically using a system called DHCP, which means your device might get a different private IP each time you restart it, though in practice they usually stay the same.

Think of it this way: your public IP is like your home's street address (the whole world can see it), while your private IP is like the room number inside your house (only people inside can see it).

What to do if you can't find your IP address

If you're having trouble finding your private IP address using the command line methods above, try the graphical approach instead. On Windows, go to Settings, then Network & Internet, then Wi-Fi (or Ethernet if you're wired). Click on your current network name, scroll down, and look for "IPv4 address." On Mac, go to System Preferences, then Network, select your connection, and click Advanced. Your private IP will be listed under the TCP/IP tab.

If you're still not seeing an IP address, or if you see one that starts with 169.254, your device isn't properly connected to the network. Try disconnecting and reconnecting to your Wi-Fi, or if you're using an ethernet cable, unplug it for 10 seconds and plug it back in. Then check again.

For your public IP address, if the search engine method isn't working, make sure you're actually connected to the internet by visiting a regular website first. If websites load but the IP lookup isn't working, try a different IP lookup site — sometimes one site may be temporarily unavailable while others work fine.

Frequently Asked Questions

Can someone find out where I live from my IP address?

Your IP address reveals your general location — usually your city or region — but not your exact street address or home. Your ISP knows the precise location, but websites typically only see the city level. If you're concerned about location privacy, consider using a VPN, which masks your real IP address.

Why does my IP address keep changing?

Your ISP assigns public IP addresses dynamically, meaning they can change without warning. This is normal and happens to most home internet users. If you need an IP that doesn't change, contact your ISP about a static IP address, though this usually requires paying an additional fee.

Is my private IP address the same as my MAC address?

No. Your MAC address is a different identifier that works only on your local network, while your IP address works across the internet. They serve different purposes and look different — MAC addresses use colons or hyphens between pairs of characters, while IP addresses use periods between numbers.

Do I need to hide my IP address?

For most people, no. Your IP address is visible to every website you visit by design — it's how the internet works. You only need to hide it if you have specific privacy concerns or are accessing networks with restrictions. A VPN hides your IP, but it slows your connection slightly and costs money.