The fastest way to find your IP address

Your IP address is a set of numbers that identifies your device on the internet — like a mailing address for data. You have two of them: a public IP (what websites see) and a private IP (what your home network uses). The quickest way to find your public IP is to visit whatismyipaddress.com or ipchicken.com in any web browser. The number that appears is what the outside world sees when you connect to the internet.

Finding your private IP — the one your router assigns to your device — takes a few more steps and depends on whether you use Windows, Mac, or Linux. Both numbers matter for different reasons: your public IP helps you understand what information websites collect about your location, while your private IP is useful if you need to troubleshoot network problems or change your device's settings.

Key Takeaways

  • Visit whatismyipaddress.com or ipchicken.com to see your public IP address instantly in any browser.
  • Your private IP address (the one your router assigns) requires opening your network settings, which differs between Windows, Mac, and Linux.
  • On Windows, open Command Prompt and type ipconfig, then look for "IPv4 Address" under your network adapter.
  • On Mac, go to System Preferences > Network and select your connection to see the IP address listed there.
  • Knowing both your public and private IP helps you understand network security and troubleshoot connection problems.

Finding your public IP in seconds

Your public IP is the easiest to find because websites already know it the moment you visit them. Open any web browser and go to whatismyipaddress.com. The page will display your public IP address — usually four numbers separated by periods, like 203.0.113.45 — within a second of loading. Other sites that do the same thing include ipchicken.com, myip.com, and iplocation.net.

These sites work because your internet service provider assigns you a public IP, and every request you send to a website includes that number. The websites you visit can see it, which is why they can display it back to you. This is also how websites can make rough guesses about your location (usually accurate to your city or region, but not your street address).

Finding your private IP on Windows

Your private IP is the address your router assigns to your specific device. On Windows, the fastest way to find it is through Command Prompt. Press the Windows key, type cmd, and press Enter. A black window will open.

In the Command Prompt window, type ipconfig and press Enter. You will see a list of network adapters. Look for the one you are currently using — usually labeled "Ethernet adapter" if you are plugged in with a cable, or "Wireless LAN adapter" if you are on Wi-Fi. Next to "IPv4 Address" you will see a number like 192.168.1.100. That is your private IP address.

Finding your private IP on Mac

On Mac, finding your private IP takes two clicks. Click the Apple menu in the top-left corner, then select System Preferences (or System Settings on newer versions). Click Network.

Select the connection you are using — either Wi-Fi or Ethernet depending on how you are connected. Your private IP address appears in the window under "IP Address" or "IPv4 Address". It usually starts with 192.168 or 10.0.

Finding your private IP on Linux

On Linux, open a terminal window. Type hostname -I and press Enter. Your private IP address will appear on the next line. If you want more detail about all your network adapters, type ip addr instead. Look for the line that says "inet" followed by a number — that is your private IP.

Some Linux systems may use slightly different commands depending on the distribution. If hostname -I does not work, try ifconfig instead, which shows the same information in a different format.

Why you might need to know your IP address

Your public IP tells you what information is visible to websites and services you connect to. Knowing it helps you understand what data about your location or identity might be collected. Some people check their public IP to confirm whether a VPN is working — if you turn on a VPN and your public IP changes, the VPN is routing your traffic correctly.

Your private IP is useful for troubleshooting network problems. If your internet is slow or a device is not connecting, your router's settings page (usually accessible at 192.168.1.1 or 192.168.0.1) may show you which devices are connected and how much bandwidth each is using. You also need your private IP if you want to set up port forwarding, assign a static address to a device, or access your device remotely from another computer on the same network.

What your IP address reveals and what it does not

Your public IP reveals your approximate location — usually accurate to your city or region, sometimes to your neighborhood. It does not reveal your street address, home address, or exact location. Websites can see your public IP, but they cannot see inside your home network or access your private IP unless you specifically configure your router to allow it.

Your private IP is only visible to devices on your own network. Websites and services on the internet cannot see it. If you are concerned about what your public IP reveals, a VPN masks it by routing your traffic through another server, so websites see the VPN's IP instead of yours. A VPN does not hide your private IP from devices on your home network.

Frequently Asked Questions

Is my IP address the same every time I connect to the internet?

Your public IP usually stays the same for weeks or months, but your internet service provider can change it without warning. Your private IP is assigned by your router and typically stays the same unless you restart the router or manually change it in settings. If you need a permanent public IP that never changes, you can contact your ISP to request a static IP, though this usually costs extra.

Can someone find my home address from my IP address?

No. Your public IP shows your approximate city or region, not your street address. Someone would need a court order to force your internet service provider to reveal which customer owns a specific IP address. Your private IP is only visible to devices on your home network and cannot be seen from the internet.

Why do I have two IP addresses?

Your public IP is assigned by your internet service provider and identifies your connection to the internet. Your private IP is assigned by your router and identifies your specific device within your home network. This separation lets your router manage multiple devices (phone, laptop, smart TV) while presenting a single public IP to the outside world.

What should I do if I do not recognize my public IP address?

If you are at home on your normal internet connection, your public IP should be whatever your ISP assigned to you. If you are on a different network (at work, a coffee shop, or a hotel), your public IP will be different because you are using that network's connection. If you see an IP address that does not match where you are, you may be using a VPN or proxy, or your ISP may have recently changed your IP.

Can I change my IP address?

Your public IP can sometimes be changed by restarting your modem and waiting a few minutes, though your ISP may assign you the same one again. Your private IP can be changed in your router settings by assigning a static IP to your device instead of letting the router assign one automatically. Changing either one is rarely necessary unless you are troubleshooting a network problem.