Your IP address is a number your device uses to connect to the internet and receive data back
Every device connected to the internet has an IP address — a unique identifier that lets other computers and servers know where to send information. Think of it like a mailing address for your device. You have two types: a public IP address that the wider internet sees, and a private IP address that only your home network uses. Finding either one takes less than a minute, and the method depends on which device you're using and which address you need.
Your public IP is what websites see when you visit them. Your private IP is what your router assigns to your device so other devices on your network can find it. You might need your public IP to troubleshoot connection problems with an online service, or your private IP to connect a printer or smart TV to your network.
Key Takeaways
- Your public IP address is what websites and online services see; you can find it by visiting a site like whatismyipaddress.com or by searching "what is my IP" in any search engine.
- Your private IP address is used only on your home network; on Windows you find it by opening Command Prompt and typing ipconfig, and on Mac by going to System Settings and checking Network.
- On a phone or tablet, your private IP appears in the Wi-Fi settings under the network you're connected to, usually labeled as "IP Address" or "IPv4 Address".
- If you need your router's IP address to change settings, it's usually printed on a sticker on the router itself or found in your device's network settings under "Default Gateway".
Finding your public IP address in a web browser
Your public IP address is what the outside internet sees when you connect to a website or service. The fastest way to find it is to open any web browser and search for "what is my IP" or visit a dedicated IP lookup site. Google will show your public IP right at the top of the search results, or you can visit sites like whatismyipaddress.com, ipchicken.com, or iplocation.net.
These sites work the same way: they detect the IP address your internet connection is using and display it on the page. The number appears as four groups of digits separated by periods, like 203.0.113.42. This is the address that identifies your home or office to the rest of the internet. If you're troubleshooting a connection issue or need to share your IP with someone, this is the number you're looking for.
Finding your private IP on Windows
Your private IP address is the one your device uses only within your home network. On Windows, the quickest method is to open Command Prompt and run a single command. Press the Windows key, type "cmd" or "command prompt", and open the application. Then type ipconfig and press Enter.
Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on how you're connected. Next to "IPv4 Address" you'll see a number like 192.168.1.105. That's your private IP. You might also see an "IPv6 Address" listed below it — that's a newer format for IP addresses, but most home networks still use IPv4. If you're connected by Wi-Fi, look under the wireless adapter section; if you're plugged in with an ethernet cable, look under the ethernet section.
Finding your private IP on Mac
On a Mac, open System Settings (or System Preferences on older versions) and click Network in the sidebar. Select the network connection you're using — either Wi-Fi or Ethernet — and your private IP address appears on the right side of the window, labeled as "IP Address" or sometimes "IPv4 Address".
If you're using Wi-Fi, make sure you've selected the Wi-Fi network name in the left sidebar before looking for the IP. If you're connected by ethernet, select Ethernet instead. The address will be a four-part number, usually starting with 192.168 or 10.0 on most home networks. If you need to find this information regularly, you can also click the Wi-Fi icon in the menu bar at the top of the screen, hold Option, and click on your network name to see the IP address in a popup menu.
Finding your IP on phones and tablets
On an iPhone or iPad, open Settings, tap Wi-Fi, and select the network you're connected to. Your private IP address appears under "IP Address" in the list of network details. On Android phones, open Settings, go to Wi-Fi or Network & Internet, tap the network you're connected to, and look for "IP Address" or "IPv4 Address" in the network details.
If you're using cellular data instead of Wi-Fi, your device has a private IP on the carrier's network, but you won't see it in the settings — it's managed automatically. The IP address you see in Wi-Fi settings is the one your phone uses to communicate with other devices on your home network, like a printer or smart TV.
Finding your router's IP address
Sometimes you need to access your router's settings to change your Wi-Fi password or adjust network security. To do this, you need your router's IP address, which is different from your device's IP. The easiest way is to look for a sticker on the router itself — it usually lists the IP address, often something like 192.168.1.1 or 192.168.0.1, along with a username and password.
If you can't find the sticker, you can also locate it through your device. On Windows, open Command Prompt, type ipconfig, and look for "Default Gateway" — that's your router's IP. On Mac, open System Settings, go to Network, select your connection, and look for "Router" in the network details. On a phone, the router IP is usually listed as "Gateway" or "Default Gateway" in the Wi-Fi network details. Once you have the address, type it into a web browser's address bar to access your router's login page.
Understanding IPv4 and IPv6 addresses
Most devices still use IPv4 addresses, which is the older format you see as four groups of numbers (like 192.168.1.1). The internet is gradually moving to IPv6, a newer format that looks like a longer string of numbers and letters separated by colons (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
For everyday use, you don't need to worry about the difference. Your device usually supports both, and your router handles which one to use depending on the situation. If you see both an IPv4 and IPv6 address listed in your network settings, that's normal — your device is ready for both. Most websites and services still work primarily with IPv4, so that's the address you'll use most often for troubleshooting or sharing.
Frequently Asked Questions
Why do I have two different IP addresses?
Your public IP is what the internet sees when you connect; your private IP is what your home network uses to identify your device. They're different because your router translates between them. Your private IP stays the same on your home network, but your public IP can change when your internet provider reassigns it, usually every few months.
Does my IP address change?
Your public IP address can change, usually when you restart your modem or after several months of being connected. Your private IP address on your home network typically stays the same unless you restart your router or your device gets a new lease from the router. If you need a permanent public IP, you can contact your internet provider about a static IP option, though this usually costs extra.
Is it safe to share my IP address?
Sharing your public IP address is generally safe — websites already know it when you visit them. However, don't share it with people you don't trust, as someone with your IP could attempt to target your network. Never share your private IP address with anyone outside your household, and never share your router's IP address or login credentials.
What if I can't find my IP address using these methods?
Make sure you're connected to the internet first. On Windows, try typing ipconfig /all in Command Prompt for more detailed information. On Mac, make sure you've selected the correct network connection in System Settings. On phones, confirm you're connected to Wi-Fi before checking the settings — cellular connections don't show a private IP in the same way.
Can I change my IP address?
Your private IP can sometimes be changed through your router's settings, though most people leave it alone. Your public IP can be changed by restarting your modem, using a VPN service, or contacting your internet provider. For most home users, there's no reason to change either one unless you're troubleshooting a specific network problem.