An IP address is a unique identifier assigned to every device connected to the internet. Think of it like a mailing address for your computer—it tells other computers and networks where to send information so it reaches your machine specifically. Without IP addresses, data packets would have nowhere to go and the internet as we know it wouldn't function.
Get Your Free Bean Growing Guide →
The letters "IP" stand for Internet Protocol. There are two versions in common use today: IPv4 and IPv6. IPv4 addresses look like this: 192.168.1.5. They consist of four numbers separated by periods, with each number ranging from 0 to 255. IPv6 addresses are longer and use both numbers and letters, designed to accommodate the growing number of internet-connected devices worldwide. For most everyday purposes, you'll encounter IPv4 addresses on home networks.
You might need to locate your computer's IP address for several practical reasons. Network technicians sometimes request it when troubleshooting connection problems. Setting up remote access to your computer requires knowing its IP address. If you're hosting a game server or media sharing from home, other users need your IP address to connect. Some printers require you to enter a computer's IP address to establish communication. Additionally, if you're learning about networking concepts or configuring advanced router settings, knowing how to find this information becomes necessary.
There are actually two types of IP addresses you should understand. Your public IP address is what the broader internet sees when your computer connects through your internet service provider. Your private IP address (also called a local IP address) is what devices on your home network use to communicate with each other. Most of the time, when someone asks for your computer's IP address in a home setting, they're referring to the private address.
Practical takeaway: Before you start looking for your IP address, determine which type you need. Are you troubleshooting with someone on your home network, or connecting to an external service? This distinction affects where you'll look and what information you'll find.
Windows computers offer multiple methods to locate your IP address, ranging from graphical interfaces to command-line tools. The method you choose depends on your comfort level with technology and how detailed the information needs to be.
Free Guide to Roasting Pork Tenderloin at Home →
The most straightforward approach uses the Command Prompt, a built-in Windows application. Open the Start menu, type "cmd" or "command prompt" in the search box, and select "Command Prompt" from the results. A black window will open with a text cursor. Type the command ipconfig and press Enter. Your computer will display network configuration information within seconds. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on how you're connected to the network. The line reading "IPv4 Address" shows your private IP address. This address typically begins with 192.168, 10.0, or 172.16—these ranges are reserved for private networks.
If you need more detailed network information, modify the command slightly. Type ipconfig /all and press Enter. This expanded view shows additional details including your MAC address (a unique identifier for your network card), your DNS servers, and your DHCP settings. The MAC address is sometimes needed when configuring network devices or setting up parental controls on a router.
For a visual method that doesn't require command-line knowledge, navigate to your network settings. Click the Start button, go to Settings, then select Network & internet. Choose "Wi-Fi" or "Ethernet" depending on your connection type. Scroll down and click "Advanced options." Your IP address appears in the Properties section under "IPv4 address." This method works well if you find command-line interfaces intimidating.
To find your public IP address on Windows, you'll need to check an external source since it's not stored locally on your machine. Open any web browser and visit a website like whatismyipaddress.com or ipinfo.io. These sites display your public IP address immediately. This is the address that websites see when you visit them, and it's assigned by your internet service provider.
Practical takeaway: Save the ipconfig command to memory—it's the fastest and most reliable method. If you need to share your IP address with someone, the Command Prompt output can be copied and pasted into emails or messages.
Mac computers store IP address information in their System Settings, and accessing it requires only a few clicks. The process differs somewhat from Windows due to macOS's different interface design, but it's equally straightforward once you know where to look.
Free Guide to Understanding Autopay at Charles Schwab →
Start by clicking the Apple menu in the top-left corner of your screen and select "System Settings" (on newer macOS versions) or "System Preferences" (on older versions). Look for "Network" in the settings menu and click it. You'll see a list of network connections on the left side of the window. Select the connection you're currently using—either "Wi-Fi" if you're connected wirelessly, or "Ethernet" if you're using a wired connection. Your private IP address appears on the right side of the window, clearly labeled as "IPv4 Address." The information displays immediately without requiring any additional configuration or technical knowledge.
If you're using an older Mac and want additional network details similar to Windows' ipconfig /all command, you can use the Terminal application. Press Command+Space to open Spotlight search, type "terminal," and press Enter. A black terminal window opens. Type ifconfig and press Enter. This displays comprehensive network information including your IP address, subnet mask, and broadcast address. Don't let the technical output intimidate you—the line you're looking for shows "inet" followed by your IP address (typically beginning with 192.168).
For finding your public IP address on a Mac, the method is identical to Windows. Open Safari, Chrome, Firefox, or another web browser and visit any IP-checking website. These sites work the same way regardless of your operating system and show your public IP within seconds.
One useful Mac feature is the ability to set a static IP address if you need your computer to always have the same private address. In System Settings under Network, click "Advanced" and select the TCP/IP tab. Look for the Configure IPv4 dropdown menu. Changing this from "DHCP" to "Manual" allows you to set a specific IP address, though this requires understanding your network's address range. Most users can leave this set to automatic DHCP, which handles IP assignment without manual intervention.
Practical takeaway: System Settings is your go-to location for quick IP address checking on Mac. The ifconfig terminal command provides deeper network information if you're learning about networking concepts.
The distinction between public and private IP addresses matters when you're troubleshooting network issues or setting up connections. Understanding the difference prevents confusion when someone asks for your "IP address" without specifying which type they need.
Learn How Pay by Plate MA Works and Billing →
Your private IP address is used only within your home or office network. It's the address your router assigns to your computer so other devices on the same network can find it. These private addresses fall within specific ranges reserved by the Internet Engineering Task Force: 192.168.0.0 to 192.168.255.255, 10.0.0.0 to 10.255.255.255, or 172.16.0.0 to 172.31.255.255. No device on the public internet uses these addresses, which is why they're "private"—they're shielded from the broader internet by your router's firewall and network address translation features. When you're printing from a home computer to a network printer, or accessing files on a home server, you're using private IP addresses.
Your public IP address is what the outside world sees. It's assigned to your router (not directly to your computer) by your internet service provider. When you visit a website, that website logs your public IP address as the source of the request. If someone from outside your network wants to connect to your computer directly, they would need this public address. However, most people and services don't have direct access to individual computers within a home network—the router keeps them protected behind what's called Network Address Translation (NAT).
Here's a practical example: Imagine your public IP address is 203.45.67.89 and your private IP is 192.168.1.5. When you open a web browser and visit google
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.