Every device connected to a network has a unique numerical label that acts as its digital return address. Knowing how to find your IP address is essential when you're troubleshooting home network drops, setting up a local printer, or configuring port forwarding for a game server. Without it, your router and devices cannot direct data packets back and forth across the internet.
Your IP address falls into one of two main categories: public or private. Your public IP address is assigned by your Internet Service Provider and represents your entire household or office to the outside world. Your private IP address is assigned by your local router and identifies your specific laptop, phone, or smart TV inside your local network. Finding either one takes just a few seconds once you know where to look.
Understanding Public Versus Private IP Addresses
People often confuse public and private addresses when they try to troubleshoot network issues. Think of your public IP address like your home's physical street address. Anyone sending mail from outside needs it to reach you. Your private IP address is like the room number or name inside a large office building. It only matters for internal routing.
Websites you visit see your public IP address. Your local router uses Network Address Translation to translate your private IP address into your public one whenever you request a webpage. Because dynamic IP allocation is standard practice for residential connections, both types of addresses can change over time unless you configure a static reservation through your router administration panel.
How to Find Your Public IP Address
Your public IP address is easy to find because external servers can read it instantly the moment you connect to them. You don't need to dig through system menus or run command-line tools.
Using a Web Browser
Open any web browser on your phone, tablet, or computer and go to a trusted lookup service like Cloudflare or use a direct search engine query such as "what is my IP". The page will immediately display your IPv4 address, and often your IPv6 address if your provider supports it.
If you use a Virtual Private Network, the address displayed will belong to the VPN server you're routed through, not your actual home connection. Turn off your VPN if you need to check your raw ISP-assigned address.
How to Find Your Private IP Address on Windows
Windows machines use private IP addresses to communicate with your local router and other devices on your local area network. You can find this information using the graphical settings menu or the command prompt.
Using Windows Settings
- Open the Start menu and select Settings.
- Click on Network & internet.
- Choose Wi-Fi or Ethernet, depending on how you connect.
- Click on your active network connection name.
- Scroll down to find IPv4 address listed under properties.
Using the Command Prompt
- Press the Windows key, type
cmd, and hit Enter. - Type
ipconfigand press Enter. - Look for the adapter labeled Wireless LAN adapter Wi-Fi or Ethernet adapter.
- Locate the line reading IPv4 Address. It typically starts with
192.168.or10..
How to Find Your Private IP Address on macOS
Apple handles network configurations cleanly through the System Settings application, though power users can still rely on the Terminal.
Using System Settings
- Click the Apple logo in the top-left corner of your screen.
- Select System Settings.
- Click Wi-Fi or Network in the sidebar.
- Click Details next to your active network name.
- Find your IP Address listed right in the connection summary.
Using the Terminal
- Open Spotlight search by pressing Command + Space, type
Terminal, and press Enter. - Type
ipconfig getifaddr en0for Wi-Fi oren1for Ethernet. - Press Enter to instantly output your local IP address string.
How to Find Your Private IP Address on Mobile Devices
Mobile phones and tablets handle network assignments automatically, but you might need your local IP address for casting media or running diagnostic tools.
Finding Your IP on iOS
- Open the Settings app on your iPhone or iPad.
- Tap Wi-Fi.
- Tap the information icon (the letter i) next to your connected network name.
- Locate your IP Address under the IPv4 section.
Finding Your IP on Android
- Open Settings and tap Network & internet or Connections.
- Tap Wi-Fi.
- Tap the gear icon or name next to your active network.
- Look under Advanced or network details to view your IP address.
Common Mistakes When Working with IP Addresses
People frequently run into trouble because they mix up local and public addresses. If you try to type a 192.168.x.x address into an external browser bar while away from home, nothing will load because that address only exists inside your private local network.
Another frequent error involves confusing IPv4 and IPv6 formats. IPv4 addresses use four numbers separated by periods, like 192.168.1.1. IPv6 addresses use hexadecimal characters separated by colons, like 2001:db8::. Both work simultaneously on modern operating systems, but applications targeting local network hardware usually rely on the older IPv4 standard for simplicity.
If your device displays an address starting with 169.254.x.x, your computer couldn't reach a DHCP server to get a valid configuration. You'll need to restart your router or check your physical cable connections to fix that issue.
Frequently Asked Questions
Can someone track my exact physical location using my public IP address?
No. Your public IP address only reveals the general geographic region or city associated with your Internet Service Provider's local routing hub. It doesn't show your street address or name.
Why does my IP address change periodically?
Most internet service providers use dynamic IP assignment. They recycle and reassign addresses from a shared pool whenever your modem reconnects or your lease timer expires.
What is the difference between static and dynamic IP addresses?
A dynamic IP address changes automatically over time. A static IP address is permanently assigned to your network connection, which is useful if you host local servers or security cameras that need remote access.
Is it safe to share my IP address online?
Sharing your public IP address with trusted gaming servers or technical support is generally safe. However, you shouldn't broadcast it publicly, as malicious actors can occasionally use it to target your network with denial-of-service attempts.