Link copied to clipboard!
Managed IT

How to Find Your IP Address — Windows, Mac, iPhone & Android (2026)

Sreenivasa Reddy G
Sreenivasa Reddy G
Founder & CEO
Apr 5, 20267 min read
24
How to Find Your IP Address — Windows, Mac, iPhone & Android (2026)
Updated: April 2026

Quick Answer — What Is My IP Address?

The fastest way to find your public IP address: open any browser and search "what is my ip" on Google. It shows your IP right at the top.

For your private (local) IP: on Windows, open Command Prompt and type ipconfig. On Mac, open Terminal and type ifconfig.

Your IP address is like your device's mailing address on the internet. You actually have two kinds — a public IP (visible to the internet) and a private IP (used inside your home or office network). This guide shows you how to find both, on any device.

Public vs Private IP — What's the Difference?

FeaturePublic IPPrivate IP
What it isYour address on the internetYour address on your local network (home/office)
Who assigns itYour ISP (Internet Service Provider)Your router
Example203.45.167.89192.168.1.105
Visible to websites?YesNo
Changes?Usually changes periodically (dynamic IP)Usually stays the same on your network
Shared?Shared by all devices on your networkUnique per device on your network
In plain English: Every device in your house shares the same public IP (assigned by your ISP). But each device — your laptop, phone, smart TV — has its own private IP so your router can tell them apart. Think of it like an apartment building: the public IP is the building address, and the private IP is the apartment number.

How to Find Your Public IP Address (Any Device)

Your public IP is the same regardless of which device you check from (as long as you're on the same network). Here are the quickest ways:

1 Google It (Easiest)

Open any browser and search:

Google Search: what is my ip

Google shows your public IP address directly at the top of the search results. No need to visit any website.

2 Use Command Line

Open Command Prompt (Windows) or Terminal (Mac/Linux) and run:

C:\> curl ifconfig.me
203.45.167.89

Or use curl icanhazip.com or curl ipinfo.io/ip — they all do the same thing.

Windows How to Find IP Address on Windows 10 & 11

1 Using Settings (No Command Line)

  1. Press Win + I to open Settings
  2. Click Network & internet
  3. Click Wi-Fi (or Ethernet if wired)
  4. Click your connected network name
  5. Scroll down to IPv4 address — that's your private IP

2 Using Command Prompt (ipconfig)

This is the classic method every IT person uses.

  1. Press Win + R, type cmd, press Enter
  2. Type ipconfig and press Enter
C:\> ipconfig

Wireless LAN adapter Wi-Fi:
   Connection-specific DNS Suffix . :
   IPv4 Address. . . . . . . . . . . : 192.168.1.105
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

The IPv4 Address is your private IP. The Default Gateway is your router's IP.

Pro tip: Use ipconfig /all for detailed info including DNS servers, DHCP status, and MAC address. At Medha Cloud, this is the first command we run when troubleshooting any network issue for our managed IT clients.

3 Using PowerShell

PS C:\> Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.InterfaceAlias -notlike '*Loopback*'} | Select InterfaceAlias, IPAddress

This gives you a clean list of all network adapters and their IP addresses.

Mac How to Find IP Address on Mac

1 Using System Settings

  1. Click the Apple menu (top-left) → System Settings
  2. Click Network in the sidebar
  3. Click Wi-Fi (or Ethernet)
  4. Click Details next to your connected network
  5. Your IP address is shown under IP address

2 Using Terminal (ifconfig)

  1. Open Terminal (Cmd + Space, type "Terminal")
  2. Type ifconfig and press Enter
$ ifconfig | grep "inet " | grep -v 127.0.0.1
   inet 192.168.1.42 netmask 0xffffff00 broadcast 192.168.1.255

The grep command filters out the noise and shows only your actual IP addresses.

3 Quick Way — Option+Click Wi-Fi

Hold the Option key and click the Wi-Fi icon in the menu bar. A detailed dropdown appears showing your IP address, router IP, security type, channel, and more. No need to open Settings or Terminal.

iPhone / iPad How to Find IP Address on iPhone

  1. Open Settings
  2. Tap Wi-Fi
  3. Tap the (i) icon next to your connected network
  4. Your IP address is shown under IP Address

You'll see both your IPv4 and IPv6 addresses here. The IPv4 one (like 192.168.x.x) is what you usually need.

Android How to Find IP Address on Android

  1. Open Settings
  2. Tap Network & internet (or Connections on Samsung)
  3. Tap Wi-Fi
  4. Tap the gear icon next to your connected network
  5. Your IP address is shown under IP address

On some Android versions, you can also go to Settings → About Phone → Status → IP Address.

Linux How to Find IP Address on Linux

Method 1: ip addr (Modern)

$ ip addr show | grep "inet " | grep -v 127.0.0.1
   inet 192.168.1.50/24 brd 192.168.1.255 scope global dynamic eth0

Method 2: hostname -I (Quickest)

$ hostname -I
192.168.1.50

This gives you just the IP with no extra output. The cleanest option.

How to Find Your Router's IP Address

Your router's IP (also called the default gateway) is what you type into a browser to access the router's admin panel.

PlatformCommand / MethodCommon Router IPs
Windowsipconfig → look for "Default Gateway"192.168.1.1 or 192.168.0.1
MacOption+Click Wi-Fi icon, or netstat -nr | grep default192.168.1.1 or 10.0.0.1
iPhoneSettings → Wi-Fi → (i) → Router192.168.1.1
AndroidSettings → Wi-Fi → gear icon → Gateway192.168.1.1
Linuxip route | grep default192.168.1.1

IPv4 vs IPv6 — What's the Difference?

FeatureIPv4IPv6
Format192.168.1.1052001:0db8:85a3:0000:0000:8a2e:0370:7334
Length32 bits (4 groups of numbers)128 bits (8 groups of hex)
Total addresses~4.3 billion (running out)~340 undecillion (practically unlimited)
What you'll seeMost common — used by most home routersIncreasingly used by ISPs and mobile networks
Which one do you need? For most purposes — connecting to a printer, setting up port forwarding, troubleshooting network issues — you need the IPv4 address. It's the shorter one that looks like 192.168.x.x.

Static vs Dynamic IP — Do I Need a Static IP?

Most home internet connections use a dynamic IP — your ISP changes it periodically (every few hours or days). This is fine for normal use.

You need a static IP if you're:

  • Running a server (web server, game server, email server)
  • Setting up remote desktop access
  • Using IP-based security whitelists (like DataForSEO API access)
  • Hosting a VPN

Contact your ISP to get a static IP — it usually costs $5-15/month extra. For businesses, we recommend static IPs for any production infrastructure. Our Windows Server support team can help configure static IPs and DNS for your organization.

Frequently Asked Questions

How do I find my IP address without internet?

Your private IP works without internet — it's assigned by your router. Use ipconfig (Windows) or ifconfig (Mac) even when offline. However, you need an internet connection to find your public IP since it's assigned by your ISP.

Can someone find my location from my IP address?

They can find your approximate city and ISP, but not your exact address. IP geolocation is accurate to the city level, not the street level. Using a VPN hides your real IP and shows the VPN server's location instead.

Why does my IP address keep changing?

Most ISPs assign dynamic IPs — they change periodically. This is normal. If you need a fixed IP (for hosting, remote access, etc.), ask your ISP for a static IP address.

Is my IP address the same on Wi-Fi and mobile data?

No. When you're on Wi-Fi, your phone uses your home network's public IP. When you switch to mobile data (4G/5G), your carrier assigns a completely different public IP. Your private IP also changes.

How do I find someone else's IP address?

You generally can't find a specific person's IP address (and shouldn't try to). However, if someone sends you an email, their IP may be in the email headers. Website owners can see visitor IPs in server logs. For IT troubleshooting, use ping hostname or nslookup domain.com to find a server's IP.

What is 127.0.0.1?

That's the localhost or loopback address. It always refers to "this computer." It's used for testing and development — when you run a local web server, you access it at 127.0.0.1 (or localhost). It's not your actual network IP.

What is 192.168.1.1?

That's typically your router's IP address (default gateway). Type it into your browser to access your router's admin panel. If it doesn't work, try 192.168.0.1, 10.0.0.1, or check your default gateway using the methods above.

Need help with network configuration? Medha Cloud provides 24/7 IT helpdesk services including network troubleshooting, VPN setup, and Linux server administration. Whether you're setting up a static IP, configuring DNS, or troubleshooting connectivity — we're here to help.

Topics

ip-addressnetworkingwindows-11windows-10mactroubleshooting
Sreenivasa Reddy G
Written by

Sreenivasa Reddy G

Founder & CEO15+ years

Sreenivasa Reddy is the Founder and CEO of Medha Cloud, recognized as "Startup of the Year 2024" by The CEO Magazine. With over 15 years of experience in cloud infrastructure and IT services, he leads the company's vision to deliver enterprise-grade cloud solutions to businesses worldwide.

Managed IT SupportCloud InfrastructureDigital Transformation
Follow on LinkedIn

Need Expert Help?

Our certified cloud and IT engineers are ready to tackle your toughest challenges — from migrations to managed services.