Every home or office internet router is assigned a unique Public IP address by its Internet Service Provider (ISP). This numerical address identifies your connection on the global internet, enabling gaming servers, VPNs, remote desktop connections, and web services to route traffic to you.
Here is how to quickly find your public IP address on any computer, phone, or tablet.
Method 1: The 5-Second Google Search
The fastest way to look up your public IP address requires only a browser:
- Open any web browser (Chrome, Safari, Edge, or Firefox).
- Go to Google.com.
- Type:
what is my ipand press Enter. - Google will display your Public IP address (either IPv4 or IPv6) in a prominent card at the top of search results.
Method 2: Use Dedicated IP Lookup Tools (IPLocation / WhatIsMyIPAddress)
If you need detailed ISP, country, city, and geolocation information:
- Navigate to whatismyipaddress.com or iplocation.net.
- The webpage displays:
- IPv4 Address: (e.g.,
198.51.100.42) - IPv6 Address: (e.g.,
2001:0db8:85a3::8a2e:0370:7334) - ISP Name: (e.g., Comcast, AT&T, Verizon, Vodafone)
- Approximate Geolocation: (City, State, Postal Area)
Method 3: Find Public IP via Terminal / Command Prompt
For developers and system administrators:
On Windows PowerShell:
```powershell
(Invoke-WebRequest -Uri "https://api.ipify.org").Content
```
On Mac & Linux Terminal:
```bash
curl ifconfig.me
```
Public IP vs. Private (Local) IP: What is the Difference?
- Public IP Address: Assigned to your router by your ISP. Visible to external websites and game servers on the worldwide web.
- Private IP Address: Assigned to your specific laptop or phone by your home router (typically starts with
192.168.1.Xor10.0.0.X). Only visible within your local home network.