“Whats my IP?” is one of the most common questions people type into a search engine when they are setting up a router, fixing a connection, or checking how their device appears on the internet. The answer is one line of numbers, but you need to know whether that number is your public IP or your private IP.
This guide covers the fastest way to check your IP address on any device, what an IP address is, how public and private addresses differ, and what an IP WHOIS lookup can and cannot show.
Whats My IP? The Fastest Way to Check
The fastest way to see your public IP address is to search Google for “what is my IP”. Google shows it right at the top of the results. You can also open an IP checker site such as ifconfig.me, which shows it on a plain page as soon as it loads.
In the terminal, type curl ifconfig.me and press Enter. It prints your public IP address on one line, and it works on Mac, Linux, and Windows PowerShell.
What you see in any of these checks is your public IP address, the one the whole internet sees. If you also want to check my location and GPS coordinates, read our guide on how to find your current location on any device.
What Is an IP Address?
An IP address is a unique numeric label that identifies a device or a connection on a network, so that data can be routed to the right place. Your internet service provider, or ISP, assigns it to you when you connect.
Think of it like your current address. Just as your current address tells a courier where to deliver a parcel, an IP address tells the internet where to send the web page, video, or message you asked for.
Most home connections use a dynamic IP address, which is not fixed. It can change when you restart your router, reconnect, or switch between Wi-Fi and mobile data. A static IP, one that never changes, is mostly used by businesses and servers.
Public IP vs Private IP: What Is the Difference?
Every device on your home network has two IP addresses: a public one and a private one.
| Public IP | Private IP | |
|---|---|---|
| Who assigns it | Your ISP assigns it to your router | Your router assigns it to each device |
| Who can see it | Every website and service you visit | Only devices inside your own network |
| Shared or unique | All devices behind one router share it | Each device has its own |
Your public IP is the internet-facing address your ISP assigns to your router. All devices behind that router share the same public IP, and websites see that address, not each device’s own address.
Your private IP is valid only inside your home or office network. It falls in one of the RFC 1918 ranges: 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16. Your router uses NAT, Network Address Translation, to translate between the two.
That is why the number in your device settings often looks like 192.168.1.105, while a website shows a different number. Settings show your private IP. The website shows your public IP.
IPv4 vs IPv6: The Two Address Formats
IP addresses come in two formats, IPv4 and IPv6. IPv4 is the older and still the most common format. It is 32-bit, written as four decimal numbers from 0 to 255, separated by dots, such as 203.0.113.42. That gives about 4.29 billion possible addresses, which is not enough for every phone, laptop, and smart device today.
IPv6 is the newer format. It is 128-bit, written as eight groups of hexadecimal digits separated by colons, such as 2001:0db8:85a3:0000:0000:8a2e:0370:7334. It allows about 3.4 x 10^38 addresses, far more than IPv4, and it is slowly replacing IPv4 around the world.
Most devices support both formats, and which one you get depends on your ISP and router. A long address with colons is IPv6. Four numbers with dots is IPv4.
How to Find Your IP Address on iPhone and Android
On a phone, the address in settings is your private IP. On iPhone, open Settings, then Wi-Fi, then tap the small information icon next to your connected network. Your private IP is listed under IPv4 Address.
On Android, open Settings, then Network and internet, then Wi-Fi, then tap your connected network. Your private IP is shown under IP Address.
To see your public IP, open your browser and search for “what is my IP”. Switching from Wi-Fi to mobile data changes your public IP, because your mobile network gives you a different one. Your phone also knows your GPS coordinates and can show my location on a map, which is far more precise than anything an IP address can show.
How to Find Your IP Address on Mac and Windows
On Windows, press Win plus R, type cmd, and press Enter. In the window, type ipconfig and press Enter. Look for the line that says IPv4 Address under your active connection. That is your private IP.
On Mac, open System Settings, then Network, select your connection, and click Details. Open the TCP/IP tab to see your private IP. Or open Terminal and type ipconfig getifaddr en0.
On both systems the address in settings is private. For your public IP, search for “what is my IP” or type curl ifconfig.me in the terminal. If the two numbers differ, that is expected.
How to Find Your Router IP Address
Your router IP address, also called the default gateway, is the address your devices use to reach the router itself. It is almost always 192.168.1.1, 192.168.0.1, or 10.0.0.1.
On Windows, run ipconfig and look for the Default Gateway line. On Mac, open System Settings, then Network, then Details, then the TCP/IP tab, and read the Router field.
Type your router IP into a browser address bar to open the router admin page. The admin username and password are usually printed on a sticker on the router, unless you changed them. There you can change your Wi-Fi name and password, restart the router, and see which devices are connected.
What Is an IP WHOIS Lookup and What Does It Show?
An IP WHOIS lookup is a public search that shows who owns a block of IP addresses. You type an IP address into a WHOIS lookup site, and it returns the registered details for that address range.
A WHOIS lookup shows the organisation that holds the IP block, the ISP, the ASN or Autonomous System Number, the network range, the country of allocation, and an abuse contact for reporting spam or attacks.
What it does not show is just as important. A WHOIS lookup does not identify the individual person or household behind an IP address. It names the ISP, not the customer. An IP address reveals only an approximate city-level location, roughly 50 to 75 percent accurate, and the name of the ISP. It never reveals a street address or a name. Our guide on what your IP address location is and how accurate it is explains how that estimate works. If someone claims they can find your exact address from your IP address alone, they are bluffing. Only your ISP holds the link between an IP address and a customer.
Frequently asked questions
What is my IP address right now?
Search Google for “what is my IP” or open an IP checker site such as ifconfig.me. The number shown is your public IP address.
Is my IP address public or private?
Both. Your public IP is the one the internet sees. Your private IP is the one in your device settings, valid only inside your own network.
Why does my IP address change?
Most home connections use a dynamic IP, so the address can change when you restart your router, reconnect, or switch between Wi-Fi and mobile data.
Can someone find my exact location from my IP?
No. An IP address reveals only an approximate city-level location, and it never shows a street address or a name.
What does an IP WHOIS lookup show?
It shows the organisation holding the IP block, the ISP, the ASN, the network range, the country, and an abuse contact. It does not identify the individual person or household.
How do I find my IP address on Mac?
Open System Settings, then Network, then Details, then the TCP/IP tab. Or open Terminal and type ipconfig getifaddr en0.


