What if the number that identifies your computer to the entire internet is something you’ve never actually looked at? Most people haven’t. Your IP address is the quiet workhorse behind every page load, video call, and message you send, yet it stays invisible until something breaks or a website asks for it. The good news is that finding it takes less time than making toast, whether you’re on a laptop, a phone, or a smart TV. This guide walks through the fastest methods for every platform, explains the difference between the two addresses you actually have, and points out the mistakes that trip people up.
First, Understand That You Have Two IP Addresses
Before opening any settings menu, it helps to know which number you’re hunting for, because “my IP address” can mean two very different things.
Your private IP address (also called a local or LAN address) is the number your router assigns to your device inside your own home or office network. It’s how your laptop talks to your printer and how your phone talks to your smart speaker. Your public IP address is the number your entire network shows to the outside world. Every device on your home Wi-Fi typically shares one public address.
These numbers follow different rules. Private IPv4 addresses are drawn from three reserved blocks defined in RFC 1918, the standard for private internet address allocation: anything starting with 10., 172.16 through 172.31, or 192.168. Those addresses never appear on the open internet, which is exactly why they’re safe to reuse in millions of homes at once.
So the practical rule is simple:
| What you need it for | Which address | Where to look |
|---|---|---|
| Port forwarding, printer setup, local server | Private | Device settings or command line |
| Checking if a VPN works, website blocking, support tickets | Public | Search engine or IP lookup site |
| Troubleshooting a “no internet” error | Both | Router admin page shows both |
If a support agent asks for your IP and doesn’t specify, they almost always mean the public one.
The Fastest Way to Find Your Public IP Address

If you only need the public address, you can skip every menu on your device. Open a search engine and type “what is my IP.” Major search engines display the result directly at the top of the page. That’s it. No app, no account, no clicking through settings.
Dedicated IP lookup websites do the same job and often add extras like your approximate location, your internet provider’s name, and whether the address is IPv4 or IPv6. These tools work identically on phones, tablets, and computers because the lookup happens on the server side, not on your device.
A word of caution here: your public IP is not a precise location. IP geolocation is approximate at best, and it can be flat-out wrong. If you’re on a mobile network or behind a VPN, the address shown may belong to a data center hundreds of miles away. Don’t panic if a lookup site places you in a city you’ve never visited.
How to Find Your Private IP Address on Windows
Windows gives you two reliable routes, and both take seconds.
The Command Prompt method
- Press the Windows key, type cmd, and hit Enter.
- Type ipconfig and press Enter.
- Look for the “IPv4 Address” line under your active adapter (usually Wi-Fi or Ethernet).
Adding /all to the command (ipconfig /all) reveals extra detail like your MAC address, DHCP status, and DNS servers. Microsoft’s official reference for the ipconfig command and its full set of options explains each switch if you want to go deeper.
The Settings method
Open Settings, go to Network & Internet, and click your active connection (Wi-Fi or Ethernet). The properties panel lists your IPv4 address right there. This is the friendlier option if the black command window makes you nervous.
One common mistake: people run ipconfig, see a 169.254.x.x address, and assume that’s their normal IP. It isn’t. That range means your device failed to get an address from the router, which is a sign of a connection problem, not a working setup.
How to Find Your Private IP Address on macOS
Mac users have a graphical path and a terminal path. For the graphical route, open System Settings, click Network, select your active connection, and click Details. The IP address appears in the TCP/IP tab.
For the terminal, the classic command is ifconfig, which lists every network interface with its addresses. A quicker shortcut on modern Macs is ipconfig getifaddr en0, which prints just the Wi-Fi address and nothing else. If you’re on Ethernet, try en1 or run ifconfig to see which interface is active.
How to Find Your Private IP Address on Linux
Linux offers the most options of any platform. The modern command is ip addr (or the shorthand ip a), which lists all interfaces and their addresses. The older ifconfig still works on many systems but has been deprecated on others. For a compact view, hostname -I prints just the local addresses. If you’re setting up a home server or need to reach your router’s admin panel, knowing your default route matters too, and this walkthrough on finding your router’s IP address in under a minute covers that next step.
How to Find Your IP Address on iPhone and Android
Phone settings menus move around between OS versions, so treat these as general directions rather than gospel.
On iPhone, open Settings, tap Wi-Fi, and tap the small “i” icon next to your connected network. The IP address sits under the IP Address section.
On Android, open Settings, go to Network & Internet (or Connections), tap Wi-Fi, then tap the gear icon next to your network. Look for “IP address” in the details. Some manufacturers bury this one level deeper, so the search bar inside Settings is your friend.
For the public address on a phone, just use the browser search method. It’s identical to desktop and avoids any menu hunting. If you’re the type who likes having these numbers handy, a broader guide on how to find your IP address on any device covers tablets, consoles, and smart TVs as well. (What is an IP address?)
Why Your Public IP Might Not Be What You Expect
Several things can make the address you see different from what you’d assume.
A VPN is running. When connected, lookup sites show the VPN server’s address, not your home connection. That’s the whole point of a VPN, and it’s the most common reason people think their IP “changed.”
You’re behind carrier-grade NAT. Mobile networks and some fiber providers put many customers behind a single public IPv4 address. The shared address space reserved for this practice is defined in RFC 6598, which sets aside a block for carrier-grade NAT deployments. If you’re in this situation, your “public” IP isn’t uniquely yours, and incoming connections from the internet won’t reach your device without extra work.
IPv6 is in play. On an IPv6 connection, your device may hold a globally routable address, blurring the clean private-versus-public split. The current standard is described in RFC 8200, the IPv6 specification. Most people don’t need to worry about this, but it explains why some lookup tools show two very different addresses.
Your ISP rotates addresses. Many home connections get a new public IP every few days or after a router reboot. If you’re trying to set up remote access, an address that keeps changing is a real obstacle, and you’ll want a DNS service that updates automatically rather than memorizing the number.
Common Mistakes People Make
A few habits waste time and cause confusion. Running the wrong command is the big one: ipconfig on a Mac or ifconfig on a stripped-down Linux box returns nothing useful. Copying the default route instead of the device address is another frequent slip, since both appear in the same output. And trusting an IP lookup site’s “location” field as fact leads people to think their connection is compromised when it’s simply how geolocation databases work.
A practical tip that saves headaches: write down your private IP and default route once, stick them in a note, and you’ll never have to look them up mid-troubleshooting again. If you’re curious about what other devices reveal about themselves, the same investigative instinct applies to tracking down where a photo came from, and this guide on how to find the original source of an image shows how that works.
When You Actually Need to Know Your IP
Beyond curiosity, a handful of situations make this knowledge genuinely useful. Setting up port forwarding for a game server requires your private IP. Contacting your ISP about a blocked connection often requires your public IP. Checking whether a VPN is leaking your real address requires comparing the two. And if you run a home security camera or a media server, your private address is the key to reaching it from another room.
None of these tasks require special software. The built-in tools on every operating system are enough.
Conclusion
Finding your IP address comes down to one question: do you need the number inside your home network or the one the internet sees? For the public address, a quick search does the job in seconds. For the private address, ipconfig on Windows, System Settings on Mac, ip addr on Linux, and the Wi-Fi details screen on phones will get you there. Remember that private addresses live in reserved ranges, public addresses can be shared or masked by a VPN, and geolocation results should be taken with a grain of salt. Once you’ve looked it up a time or two, it becomes second nature, and you’ll wonder why it ever seemed mysterious.
Frequently Asked Questions
Is it safe to share my IP address?
It’s generally low-risk but not risk-free. Your public IP reveals your approximate region and internet provider, not your street address. Still, avoid posting it publicly, since it can be used for targeted attacks or unwanted tracking. Share it only with trusted support staff or services.
Why does my IP address keep changing?
Most home internet providers assign addresses that change periodically or after a router restart. VPNs also change the address you appear to have. If you need a stable address for remote access, look into a DNS service that updates automatically.
What is the difference between IPv4 and IPv6?
IPv4 uses 32-bit addresses like 192.168.1.1, while IPv6 uses 128-bit addresses written in hexadecimal. IPv4 addresses ran out years ago, so networks are gradually adding IPv6. Most devices today support both at once.
Can someone find my exact location from my IP address?
No. IP geolocation is approximate and typically resolves to a city or region, sometimes incorrectly. It cannot pinpoint a street address. VPNs and mobile networks make the result even less accurate.
Why does my IP show a different city or country?
You’re likely connected through a VPN, a corporate network, or a mobile carrier whose traffic exits through a distant data center. IP databases also contain outdated records. The address is working correctly even when the location label looks wrong.
Do I need to hide my IP address?
It depends on your comfort level. A VPN hides your address from websites and public Wi-Fi operators, which improves privacy. For ordinary browsing at home, hiding it isn’t strictly necessary, but many people prefer the extra layer.
One last note on privacy: if you decide to use a VPN, test it after connecting by running the same lookup you used before. The address should change to the VPN provider’s, and your real one shouldn’t appear in any leak tests. If it does, reconnect or switch protocols. And when you’re done troubleshooting, disconnect from the VPN if you only needed it temporarily, since it can slow your connection or interfere with local devices like printers. With the tools and commands above, you can check your IP on any device in under a minute, whenever the need arises.


