Your IP address is a number your device uses to connect to the internet — finding it takes less than a minute

Your IP address is a unique number assigned to your device whenever it connects to the internet. It works like a mailing address: websites and services use it to send information back to you. You have two types: a public IP address (what the outside internet sees) and a private IP address (what your home network uses internally).

Most people need to find their private IP address when troubleshooting a router, setting up a printer on their network, or accessing a device remotely. Finding it is straightforward and takes the same steps whether you're on Windows, Mac, or a phone.

Key Takeaways

  • Your private IP address is what your home network uses; your public IP address is what the internet sees, and you may need either one depending on what you're doing.
  • On Windows, open Command Prompt and type ipconfig to see your private IP address listed as "IPv4 Address".
  • On Mac, go to System Settings, click Network, select your connection, and look for "IP Address" in the details pane.
  • On iPhone or Android, open Settings, go to Wi-Fi or Network settings, tap your connected network, and the IP address appears in the connection details.
  • To find your public IP address, visit a site like whatismyipaddress.com or search "what is my IP" in any browser.

Finding your private IP address on Windows

The fastest way on Windows is through Command Prompt. Right-click the Start button, select "Command Prompt" or "Windows PowerShell", and type ipconfig then press Enter. Look for the line that says "IPv4 Address" — that number is your private IP address. It usually starts with 192.168 or 10.

If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, select Wi-Fi or Ethernet depending on how you're connected, then click "Properties". Scroll down and you'll see "IPv4 address" listed there.

Finding your private IP address on Mac

On Mac, open System Settings and click "Network" in the left sidebar. Select the connection you're using — Wi-Fi if you're wireless, Ethernet if you're plugged in. On the right side of the window, you'll see "IP Address" displayed directly. That's your private IP address.

If you're using an older version of macOS, the steps are slightly different: go to System Preferences instead of System Settings, then click Network. The IP address appears in the same location once you select your active connection.

Finding your IP address on iPhone or Android

On iPhone, open Settings, tap "Wi-Fi", and select the network you're currently connected to. A details screen appears with your IP address listed as "IP Address". Write it down if you need it for later.

On Android, the path varies slightly by manufacturer, but the general route is: open Settings, go to Network & Internet or Connections, tap Wi-Fi, select your connected network, and look for "IP address" in the connection details. Some Android phones show this information under "Advanced" settings for that network.

Finding your public IP address

Your public IP address is what websites see when you visit them. To find it, open any browser and search for "what is my IP" or visit a site like whatismyipaddress.com. The page displays your public IP address immediately — no login or download needed.

Your public IP address changes periodically depending on your internet provider. If you restart your modem, your provider may assign you a different one. This is normal and expected behavior.

The difference between private and public IP addresses

Your private IP address is used only within your home network. It's what your router assigns to your devices so they can talk to each other. These addresses always start with 192.168, 10, or 172.16 — they're reserved for internal use and never appear on the public internet.

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. You typically have one public IP address for your entire household, even though each device has its own private IP address.

When you're troubleshooting a home network problem or setting up a device locally, you need your private IP address. When you're checking if a website can see you, or if you're trying to understand your internet privacy, you need your public IP address.

Why you might need to know your IP address

The most common reason is setting up a printer, security camera, or other device on your home network. These devices often need your computer's private IP address to communicate with it. Another reason is accessing your router's settings — you typically type your router's IP address into a browser to log in and change your Wi-Fi password or network name.

You might also need your public IP address if you're troubleshooting internet connectivity with your provider, or if you're trying to understand why a website is blocking you. Some services also use your public IP to determine your approximate location, which is why you might see different content depending on where you're connecting from.

Frequently Asked Questions

Is my IP address the same on Wi-Fi and Ethernet?

No. Your router assigns a different private IP address to each connection type. If you plug in an Ethernet cable, your device gets a new private IP address from the router. Your public IP address stays the same because it's assigned to your entire home network, not to individual devices.

Will my IP address change if I restart my computer?

Your private IP address might change if you restart, depending on your router's settings. Most home routers reassign private addresses each time a device reconnects. Your public IP address usually stays the same unless you restart your modem as well.

Is it safe to share my IP address?

Sharing your private IP address is generally safe — it only works within your home network. Sharing your public IP address is also low-risk for most purposes, though some people prefer to keep it private. Never share your router's admin password, which is different from your IP address.

What if I can't find my IP address in the settings?

Make sure you're looking at the right connection. If you're on Wi-Fi, select Wi-Fi settings, not Ethernet. If you're plugged in, select Ethernet, not Wi-Fi. Also check that you're actually connected to the network — if the connection shows as disconnected, you won't have an active IP address yet.

Can I change my IP address?

You can ask your internet provider to change your public IP address, though they may charge a fee or simply reassign one when you restart your modem. Your private IP address is controlled by your router, and you can change it through the router's settings, but this is rarely necessary for home use.