🥝GuideKiwi
Free Guide

Learn How to Check Your Computer's IP Address

What Is an IP Address and Why It Matters An IP address is a unique numerical label assigned to every device that connects to the internet. Think of it like a...

GuideKiwi Editorial Team·

What Is an IP Address and Why It Matters

An IP address is a unique numerical label assigned to every device that connects to the internet. Think of it like a mailing address for your computer—it allows other computers and servers to know where to send information back to you. IP stands for Internet Protocol, and these addresses follow a standardized format that computers worldwide understand.

IP addresses come in two main versions: IPv4 and IPv6. IPv4 addresses use four sets of numbers separated by periods, like 192.168.1.1. Each set can contain numbers from 0 to 255. IPv6 addresses are newer and use a different format with letters and numbers, created because the world was running out of IPv4 addresses as more devices connected to the internet. According to Internet World Stats, over 5.3 billion people use the internet as of 2024, which means billions of IP addresses are in active use.

Your device actually uses two types of IP addresses. A public IP address is what the internet sees—this is assigned by your internet service provider (ISP) and identifies your home or business on the global internet. A private IP address is used within your local network, like your home WiFi, and typically starts with 192.168 or 10.0. These private addresses allow devices within your home network to communicate with each other without going through the internet.

Understanding your IP address can help you troubleshoot internet problems, set up devices on your network, access your router's settings, or monitor network security. Knowing both your public and private IP addresses gives you information about your network setup and connection status.

Practical Takeaway: Your IP address is a fundamental identifier for internet connectivity. Recognizing the difference between public and private IP addresses helps you understand how your devices communicate both with the internet and with each other on your local network.

How to Find Your Public IP Address on Windows

Your public IP address is what websites and online services see when you visit them. Finding this address on a Windows computer takes just a few minutes and requires no special software. Windows provides several built-in methods to locate this information.

The quickest method is to use your web browser. Open any web browser like Chrome, Edge, Firefox, or Internet Explorer. Then navigate to a website that displays your IP address. Popular options include Google (search "what is my IP"), WhatIsMyIPAddress.com, or IPChicken.com. These websites automatically detect and display your public IP address within seconds. You'll see a single set of numbers in the IPv4 format, usually displayed prominently on the page.

Another Windows-specific method uses the Command Prompt. Click the Start button and type "cmd" to open Command Prompt. Once the black window opens, type the command: nslookup myip.opendns.com resolver1.opendns.com and press Enter. After a moment, your public IP address will appear in the results. This method works on Windows 7, Windows 10, and Windows 11.

You can also use PowerShell for this task. Right-click the Start button and select "Windows PowerShell (Admin)." In the blue PowerShell window, type: Invoke-WebRequest -Uri "https://api.ipify.org" -UseBasicParsing | Select-Object -ExpandProperty Content and press Enter. This will return your public IP address.

It's worth noting that your public IP address can change periodically, depending on your internet service provider. Most residential ISPs assign dynamic IP addresses that may change every few days or weeks. Some businesses pay for static IP addresses that remain the same. If you check your public IP address multiple times over weeks or months, you may notice it changes.

Practical Takeaway: Use a web browser search or Command Prompt to quickly find your public IP address on Windows. The browser method is fastest for most users, while Command Prompt offers a more technical approach that doesn't require visiting external websites.

How to Find Your Public IP Address on Mac and Linux

Mac and Linux users have several straightforward options for locating their public IP address. These operating systems include built-in tools that make the process transparent and user-friendly.

On a Mac, the simplest method is to open Safari, Chrome, or Firefox and visit a website that displays your IP address, just like Windows users do. Websites like WhatIsMyIPAddress.com or Google's IP search show your public address within seconds. This method works identically across all operating systems.

For a command-line approach on Mac, open Terminal (found in Applications under Utilities). Type one of these commands: curl ifconfig.me or dig +short myip.opendns.com @resolver1.opendns.com and press Enter. Your public IP address will display in the terminal window. Mac users can also type curl icanhazip.com for another straightforward result.

Linux users have similar terminal-based options. Open your terminal and type curl ifconfig.me or wget -qO- ifconfig.me depending on which tools are installed on your system. Both commands contact external servers that report back your public IP address. Alternatively, Linux users can type dig TXT +short o-o.myaddr.l.google.com @ns1.google.com to query Google's DNS servers for your IP information.

For users who prefer avoiding the command line entirely, Mac and Linux users can also access their router's settings through a web browser. Enter your router's IP address (typically 192.168.1.1 or 192.168.0.1) into the browser address bar, log in with your router credentials, and navigate to the WAN or Internet settings section, which displays your public IP address assigned by your ISP.

Practical Takeaway: Mac and Linux users can quickly find their public IP through browser-based websites or terminal commands. The terminal method offers a technical approach without needing external websites, while the browser method remains the fastest for most users regardless of operating system.

How to Find Your Private IP Address

Your private IP address is used only within your home or office network. This address allows your computer to communicate with your router, printers, and other devices on the same WiFi network. Finding your private IP address is different from finding your public IP and requires checking your network settings rather than visiting external websites.

On Windows 10 and Windows 11, click the Start button and type "cmd" to open Command Prompt. Type ipconfig and press Enter. A list of network information appears. Look for "IPv4 Address" under your active network connection—this is your private IP address. You'll see it listed alongside other information like your Default Gateway (usually your router's address) and your DNS servers.

Windows users can also check their private IP through Settings. Go to Settings > Network & Internet > WiFi (or Ethernet if you're connected by cable). Click on your connected network, scroll down, and look for "IPv4 address" in the properties section. This shows the same private IP address as the Command Prompt method.

Mac users can find their private IP by going to System Preferences (or System Settings on newer versions) > Network. Select your active connection (WiFi or Ethernet), and your private IP address appears in the main window. Mac users can also open Terminal and type ifconfig | grep "inet " | grep -v 127.0.0.1 to display all private IP addresses on their system.

Linux users typically open Terminal and type hostname -I or ip addr to display their private IP address. The information appears in the terminal output, usually showing an address starting with 192.168 or 10.0.

Understanding your private IP address proves useful when setting up network devices, configuring your router, or troubleshooting connection problems with specific devices on your network. Unlike your public IP, your private IP usually remains stable as long as your device stays connected to the same network.

Practical Takeaway: Access your private IP address through system settings or terminal commands on your specific operating system. This address identifies your device only within your local network and typically remains constant as long as you're connected to the same WiFi or Ethernet connection.

🥝

More guides on the way

Browse our full collection of free guides on topics that matter.

Browse All Guides →