How to Find Your IP Address: Quick Steps for Any Device

Every smartphone, computer, and smart TV relies on a specific string of numbers to communicate. An IP address functions exactly like a physical mailing address.
It ensures that the data you request finds its way back to your screen rather than getting lost. You actually possess two distinct versions of this identifier. Your public IP faces the open internet, while your local IP remains private within your home or office network.
How to Find Your Public IP Address
Your public IP address functions as the digital face of your home or office network. It is the single identifier assigned by your Internet Service Provider (ISP) that allows the wider internet to locate and send data to your router.
Because this address represents your entire network rather than a specific device, the methods for finding it usually involve asking an external source how they see you or checking the gateway device that manages your connection.
Using a Web Browser
The most straightforward method to locate your public IP involves using a website designed to read and display network information. When you visit a webpage, your request carries your public IP address so the server knows where to send the site data.
Many services exist solely to echo this number back to you.
You can find this information quickly through these steps:
- Search Engines: Open your preferred search engine and type “what is my IP” into the search bar. Most major search engines will display your public IPv4 or IPv6 address at the very top of the results page without requiring you to click any links.
- Dedicated Lookup Sites: Visit security vendor websites or dedicated IP lookup tools. These pages often provide additional context, such as your approximate geographic location and the name of your ISP, which can be helpful if you are verifying that a VPN is working correctly.
Checking Your Router or Modem
If you cannot access the internet or need to verify the address directly at the hardware level, your router’s administrative interface holds the answer. The router is the device that actually holds the public IP lease from your ISP, making it the most authoritative source for this information.
To view the address through your router settings:
- Access your router’s admin panel by typing its local IP address (often found on a sticker on the device) into your browser address bar.
- Log in with your administrator username and password.
- Navigate to a page typically labeled “Status,” “WAN” (Wide Area Network), or “Internet.”
- Look for the IP address listed under the internet connection section. This number is your true public IP; if it differs from what a website sees, you may be behind a proxy or a carrier-grade NAT.
Using Command-Line Tools
Users who prefer a text-based interface can retrieve their public IP without loading a full web browser. This method is efficient for quick checks or scripting and works by sending a simple request to an external server using the terminal.
You can retrieve your address using the curl command on almost any operating system:
- Windows: Open the Command Prompt or PowerShell. Type curl ifconfig.me and press Enter. The system will return a clean text string containing your IP address.
- macOS and Linux: Open the Terminal application. Type curl ifconfig.me or curl icanhazip.com and press Enter. The external service will instantly ping back your public IP.
How to Find Your Local IP on Computers

While your public IP identifies your home network to the outside internet, your local IP acts as the internal identification card for your specific computer. Your router assigns this unique number to manage traffic between your laptop, printer, and smart thermostat. You will typically need this address when setting up file sharing, configuring a wireless printer, or troubleshooting connectivity issues between devices in the same room.
Finding Local IP on Windows
Microsoft provides two distinct ways to view your network configuration. The graphical interface offers a visual overview suitable for most users, while the Command Prompt provides a direct text output that tech-savvy users often prefer for its speed.
Using Network Settings
You can find your IP address through the standard settings menu without typing any code.
- Open the Start menu and select Settings (the gear icon).
- Select Network & Internet from the sidebar or main menu.
- Click on Wi-Fi or Ethernet, depending on how you are currently connected.
- Select the specific network you are connected to (often labeled “Properties”).
- Scroll down to the bottom of the page to find the section labeled “Properties.” Your local address is listed next to IPv4 address.
Using the Command Prompt
The command line offers a faster method if you are comfortable with text commands.
- Press the Windows key, type cmd, and press Enter to open the Command Prompt.
- Type ipconfig and hit Enter.
- The window will display a list of all network adapters. Look for the section labeled “Wireless LAN adapter Wi-Fi” or “Ethernet adapter.”
- Your local IP is displayed next to IPv4 Address.
Locating Local IP on macOS
Apple integrates network details directly into the System Settings, making it straightforward to locate your address. Users who work with automation or detailed network diagnostics can also utilize the Terminal.
Using System Settings
On modern versions of macOS, such as Ventura or Sonoma, the interface mimics the settings found on an iPhone.
- Click the Apple menu in the top-left corner and choose System Settings.
- Select Network in the sidebar.
- Click on your active connection, which will usually be Wi-Fi or Ethernet.
- Click the Details button next to the network name.
- Your IP address will be clearly listed at the top of the information pane.
Using the Terminal
For a quick text-based check, the Terminal is highly efficient.
- Open Terminal from your Applications > Utilities folder or via Spotlight search.
- Type ifconfig | grep “inet ” and press Enter.
- This command filters the output to show only internet addresses. The IP address usually appears next to the active interface (often en0 for Wi-Fi).
Retrieving Local IP on Linux
Linux distributions often handle networking differently depending on the desktop environment, but the underlying tools remain consistent. Whether you are using Ubuntu, Fedora, or Mint, the terminal commands are standard across almost all modern versions.
Using the Desktop Interface
Most desktop environments like GNOME or KDE have a centralized network manager.
- Open your specific distribution’s Settings application.
- Navigate to the Wi-Fi or Network panel.
- Click the gear icon or settings button next to your active connection.
- A window will pop up displaying connection details, where the IPv4 Address is listed under the “Details” or “Identity” tab.
Using the Terminal
The terminal is the primary tool for most Linux networking tasks. While older guides reference ifconfig, modern distributions use the ip command suite.
- Open your terminal application.
- Type ip addr show and press Enter.
- This will print detailed information for all network interfaces. Locate the interface that is “UP” (usually wlan0 for Wi-Fi or eth0 for wired).
- Find the number following the word inet. This is your local IP address.
How to Find Your Local IP on Phones and Home Devices
Mobile devices and smart home gadgets rely heavily on local IP addresses to communicate with your router and other networked equipment. While computers often display this information prominently, phones and smart appliances tend to tuck these technical details inside submenu layers to keep the main interface clean.
Android Phones and Tablets
The interface on Android devices can vary slightly depending on the manufacturer (like Samsung, Google, or Motorola) and the version of the operating system. However, the core path to network settings is generally consistent across the ecosystem.
To find your local IP on Android:
- Open the Settings app and tap on Network & internet or Connections.
- Select Wi-Fi (or tap the word “Internet” on newer Pixel devices).
- Find the network you are currently connected to and tap the gear icon next to it. On some devices, you may need to simply tap the network name itself.
- Look for a section labeled Advanced or simply scroll down to the bottom of the details page.
- Your address will be listed under IP address.
iPhone and iPad
Apple maintains a uniform design across all iOS and iPadOS devices, making the process identical regardless of which model you own. The IP address is located within the specific settings for your active Wi-Fi connection.
To view the address on an iPhone or iPad:
- Launch the Settings app.
- Tap on Wi-Fi near the top of the menu.
- Locate the blue “i” icon (information button) next to the network you are using.
- Scroll down to the section titled IPv4 Address.
- The number listed next to IP Address is your device’s local identifier.
Smart TVs and Game Consoles
Consumer electronics like game consoles and smart TVs do not have standardized operating systems in the same way phones do, but they almost always place network information in a “Status” or “Network” menu. Finding this IP is often necessary if you are setting up port forwarding for gaming or trying to cast media to a television that isn’t appearing on your phone.
Here is how to generally locate the IP on these devices:
- PlayStation: Go to Settings > Network > View Connection Status. The IP address is listed plainly on the screen.
- Xbox: Navigate to Settings > General > Network settings > Advanced settings. The IP information appears on the right side of the screen.
- Nintendo Switch: Select System Settings from the home menu, scroll down to Internet, and verify the status on the right panel.
- Smart TVs (Samsung/LG/Roku/Sony): Go to the main Settings menu and look for Network or About. Within that menu, select an option like Network Status, Connection Status, or System Info. The local IP address will be displayed alongside the signal strength and gateway information.
How to Find Router and Network Details

While your personal device has its own local IP, the most important address on your home network belongs to the router itself. This device acts as the central hub for all traffic, and its address serves as the “Default Gateway” for every phone, computer, and tablet you own.
You need this specific number to access administrative settings, change your Wi-Fi password, or update firmware.
Locating the Default Gateway
The router’s IP address is visible from almost any device connected to the network, though the terminology changes slightly between operating systems.
- Windows: Open the Command Prompt and type ipconfig. In the results, look for the line labeled Default Gateway. The number listed there (usually starting with 192.168) is your router’s address.
- macOS: Open System Settings, go to Network, and click Details on your active connection. Select TCP/IP from the side menu. The router’s address is listed plainly next to Router.
- Android and iOS: In the Wi-Fi settings menus discussed earlier, the router’s IP is typically labeled as Gateway or simply Router.
Accessing the Router Admin Interface
Once you have the Default Gateway address, you can use it to view a comprehensive list of every device currently using your internet connection. This is far more efficient than checking each device individually, especially if you suspect unauthorized users are on your Wi-Fi.
To access this list, type the Default Gateway IP into your web browser’s address bar and press Enter. You will be prompted for a username and password, which are often printed on a sticker on the bottom or back of the router hardware.
Once logged in, look for a menu option labeled Device List, Attached Devices, or Client Status. This page displays a real-time inventory of your network, showing the local IP address, MAC address, and often the device name for everything from your laptop to your smart light bulbs.
Understanding Network Ranges and Subnets
You may notice that all the local IP addresses on your network look remarkably similar. Most home networks use a specific range, commonly starting with 192.168.0.x or 192.168.1.x. This pattern exists because of how subnets function.
Think of the first three sets of numbers (e.g., 192.168.1) as the street name, and the final number as the specific house number. All devices must share the same “street name” or network prefix to communicate with each other without going through the internet.
The router’s job is to assign a unique “house number” (host ID) to each device so that data packets are delivered to the correct destination. If your computer has an IP of 192.168.1.5 and your printer is 192.168.1.50, they are on the same subnet and can easily exchange data.
If the third number were different, they would be on entirely different logical networks and unable to communicate directly.
Using Your IP Information Safely
Identifying your IP address is a necessary skill for managing a network, but treating this number with care is equally important for your digital privacy. Your public IP address acts like a digital license plate.
It is visible to every website you visit and every server you connect to. While it does not provide a direct map to your front door, it still carries data that can be exploited if it falls into the wrong hands.
What Your IP Can Reveal
Many users fear that an IP address gives strangers total access to their identity, but the reality is far more limited. When a third party identifies your public IP, they can generally determine your approximate geographical location.
This is usually accurate to the city or zip code level, which is how websites know to show you local weather or news. They can also identify your Internet Service Provider (ISP) and the type of network you are using, such as mobile data or a residential fiber line.
However, an IP address on its own does not reveal your name, specific street address, phone number, or banking details. That level of personal identification is held strictly by your ISP.
A stranger cannot track you to your physical home solely using your IP without legal intervention, such as a court order compelling the ISP to release customer records.
Basic Privacy and Security Practices
Even though an IP address has limitations on what it reveals, keeping it private prevents nuisance attacks and targeted tracking. The most practical rule is to avoid sharing your IP address on public platforms.
Gamers and streamers, in particular, should be careful not to display their network settings on screen, as malicious users can use that IP to flood the connection with traffic and force the user offline (a DDoS attack).
To actively mask your digital footprint, consider these tools:
- Virtual Private Networks (VPNs): A VPN routes your internet traffic through a secure server in a different location. This replaces your actual public IP with one belonging to the VPN provider, effectively hiding your location and identity from websites.
- Firewalls: Most routers come with built-in hardware firewalls. ensuring this feature is enabled adds a strong barrier against unsolicited requests trying to enter your network.
- Proxies: Similar to a VPN but less secure, a proxy acts as an intermediary for specific tasks, such as web browsing, to shield your direct address from the destination server.
When to Involve Your ISP
There are specific scenarios where personal troubleshooting is insufficient and you must contact your network administrator or ISP. If you notice persistent connectivity drops or if your internet speed is inexplicably slow despite restarting your equipment, it could indicate an issue with how your IP is being routed.
Furthermore, if you suspect your IP address is being used maliciously, for example, if you are blocked from websites you have never visited, it is possible another user previously held that dynamic IP and abused it. In these cases, contacting your ISP is the most effective solution.
They can force a release and renewal of your public IP address or investigate if your connection is being targeted by external traffic attacks.
Conclusion
Distinguishing between your public and local IP addresses transforms how you interact with your technology. It changes a string of confusing numbers into a practical tool for solving connection problems or configuring new hardware.
When you know which address controls your internet presence and which one manages your internal devices, tasks like setting up a home media server or diagnosing a spotty Wi-Fi signal become significantly less frustrating. You gain the ability to pinpoint exactly where a connection is failing rather than guessing at the cause.
The methods outlined for your computer, smartphone, and router provide immediate access to this data whenever you need it. You no longer have to rely on vague error messages.
Instead, you can verify your network status directly at the source. Maintaining awareness of your public IP also allows you to make better choices about your digital privacy, ensuring you only share your location and network details when you intend to.
Taking control of these basic network elements ensures your devices communicate effectively while keeping your personal information secure.