How to Find Your IP Address on Any Device

Knowing how to find your IP address is a useful basic networking skill. Whether you are troubleshooting a Wi-Fi connection, setting up a device, checking your network configuration, or simply trying to understand how the internet works, finding your IP address usually takes less than a minute.
The process is slightly different depending on whether you are using Windows, macOS, Android, iPhone, Linux, or another device.
Before getting into the different methods, however, there is one important thing to understand: your device can have a private IP address while your internet connection has a public IP address.
If you are new to the topic, start with What Is an IP Address and How Does It Work?, which explains the basic concept and how IP addresses are used to communicate across networks.
What Is an IP Address?
An IP address, or Internet Protocol address, is a numerical address used to identify a device or network interface when communicating over a network.
Think of it as an address that helps network traffic reach the correct destination.
For example, a device on a home network might have a private IPv4 address such as:
192.168.1.25
Your internet connection may also have a public-facing IP address.
These two addresses serve different purposes.
Your private IP address is normally used inside your local network, while your public IP address is associated with communication between your network and the wider internet.
This distinction is especially important when you are checking the IP address shown in your device settings versus the IP address shown by an online IP-checking service.
Private IP vs Public IP
Before learning how to find your IP address, it helps to know which type you are looking for.
Private IP Address
A private IP address identifies your device within a local network.
For example, your home router might assign your laptop:
192.168.1.20
Your phone might have:
192.168.1.21
And your smart TV could have:
192.168.1.22
These addresses are used within the local network.
Public IP Address
A public IP address is associated with communication over the public internet.
Your ISP may assign a public-facing IP address to your connection. Websites and online services can generally see the public-facing address from which your connection reaches them.
For a deeper explanation of this distinction, see Public IP vs Private IP: What's the Difference?.
How to Find Your IP Address on Windows

Windows provides several ways to find your private IP address.
The easiest method for many users is through Windows Settings.
Method 1: Using Windows Settings
Open Settings.
Select Network & Internet.
Choose Wi-Fi if you are connected wirelessly.
Select the network you are currently connected to.
Look for the network properties.
Find IPv4 address.
You should see an address similar to:
192.168.1.15
If your computer is connected using an Ethernet cable, select Ethernet instead of Wi-Fi.
Method 2: Using Command Prompt
You can also use Command Prompt.
Press Windows + R.
Type
cmd.Press Enter.
Type:
ipconfig
Press Enter.
Windows will display information about your network adapters.
Look for the adapter you are currently using and find:
IPv4 Address
For example:
IPv4 Address . . . . . . : 192.168.1.15
You may also see a Default Gateway, which is usually the address of your router.
How to Find Your IP Address on macOS

Finding your local IP address on a Mac is also straightforward.
Using System Settings
Open System Settings.
Select Network.
Choose your active connection.
Select Details or the relevant network information.
Look for the IP address.
If you are connected through Wi-Fi, you will normally select Wi-Fi.
If you are using Ethernet, select the Ethernet connection.
The displayed address may look like:
192.168.1.18
macOS may also provide information about the router, DNS servers, subnet mask, and other networking details.
If you are interested in broader technology concepts and how modern computing systems work, you can also explore What Is Artificial Intelligence (AI)? Definition, Types, Benefits & Future.
How to Find Your IP Address on Android

The exact menu names can vary depending on the Android version and manufacturer, but the general process is similar.
Open Settings.
Go to Network & Internet, Connections, or Wi-Fi.
Select the Wi-Fi network you are connected to.
Open the network details.
Look for IP address.
You may see an address such as:
192.168.1.30
Some Android phones provide additional network information, including the gateway, DNS servers, subnet mask, and MAC address.
If you do not immediately see the IP address, look for an option such as Advanced, Network details, or View more.
How to Find Your IP Address on iPhone

On an iPhone, you can find your private IP address through the Wi-Fi settings.
Open Settings.
Tap Wi-Fi.
Find the network you are currently connected to.
Tap the information icon next to the network.
Look under the IPv4 section.
Find IP Address.
You may see something like:
192.168.1.35
You can also see other information such as the subnet mask, router address, and DNS configuration.
Remember that this is normally your private IP address, not necessarily the public IP address visible to websites.
How to Find Your Public IP Address
Finding your public IP address is different.
Your device settings normally show the private IP address assigned within your local network.
To find the public IP address associated with your internet connection, you can use a reputable online IP-checking service.
The result might look something like:
203.0.113.25
The public IP address can be different from the address shown in your device's Wi-Fi settings.
This is completely normal.
For example:
Your laptop
192.168.1.20
↓
Router
192.168.1.1
↓
Public-facing connection
203.0.113.25
↓
Internet
The router and network infrastructure handle the communication between the private and public sides.
How to Find Your IP Address on Linux
Linux provides several ways to check your local IP address.
One of the most common methods is through the terminal.
Open a terminal and enter:
ip addr
Press Enter.
You will see information about the network interfaces on your computer.
Look for an active interface and find an inet address.
For example:
inet 192.168.1.40/24
The 192.168.1.40 portion is the IPv4 address assigned to that interface.
Another command that may be useful is:
hostname -I
This can display the local IP addresses associated with the machine.
Linux distributions can have different graphical interfaces, so the exact steps through Settings may vary.
How to Find the IP Address of Your Router
Sometimes you are not looking for your computer's IP address.
You may actually need your router's IP address.
This address is commonly called the default gateway.
Typical examples include:
192.168.1.1
or
192.168.0.1
On Windows, you can find it by running:
ipconfig
Then look for:
Default Gateway
On phones and computers, the router address can also appear in the network connection details.
The router's address is useful when you need to access the router's administration interface or troubleshoot your local network.
Why Does My IP Address Change?
You may notice that your IP address is not always the same.
This can happen because many networks use dynamic IP addressing.
Your router can receive an address from a DHCP service, while devices inside your home network can also receive private IP addresses automatically.
For example, your laptop might receive:
192.168.1.20
Today and later receive:
192.168.1.24
depending on the network configuration.
This does not necessarily mean anything is wrong.
Public IP addresses can also change depending on how your ISP manages your internet connection.
Can a VPN Change Your IP Address?
A VPN can change the public-facing IP address that websites see.
For example:
Your device
↓
Home network
↓
VPN
↓
VPN server
↓
Internet
Instead of a website seeing the public IP associated with your ordinary internet connection, it may see the public-facing IP address of the VPN server.
However, your device can still have a private IP address on your local network.
So using a VPN does not mean your device suddenly stops having a local IP address.
If you want to understand more about modern digital systems and online services, What Are Large Language Models (LLMs)? A Beginner's Guide is another useful technology topic to explore.
How to Find Your IP Address for Troubleshooting
Knowing your IP address can be useful when troubleshooting network problems.
For example, imagine your computer is connected to Wi-Fi but cannot access another device on the same network.
You can check:
Your computer's private IP
The router's IP address
The subnet information
Whether another device is using the same address
Whether the computer received an address automatically
If your computer has an unexpected address such as:
169.254.x.x
that can indicate that the device did not receive a normal IPv4 address from the DHCP server.
The exact cause requires further troubleshooting, but checking the IP configuration is often a useful first step.
Does Every Device Have an IP Address?

Most network-connected devices use an IP address when communicating over an IP network.
That can include:
Computers
Smartphones
Tablets
Smart TVs
Printers
Game consoles
Security cameras
Smart home devices
Servers
Network equipment
A device can also have multiple IP addresses.
For example, a computer may have:
An IPv4 address
An IPv6 address
A private address on Wi-Fi
Another address on a VPN interface
Therefore, seeing multiple network addresses does not automatically mean there is a problem.
IPv4 vs IPv6
When looking for your IP address, you may encounter both IPv4 and IPv6.
IPv4 addresses look like:
192.168.1.20
They contain four numerical sections separated by periods.
IPv6 addresses use a much larger address space and look different.
For example:
2001:db8::1
IPv6 was developed partly because the number of available IPv4 addresses is limited.
Modern devices and networks can support both IPv4 and IPv6.
If your device displays several addresses, check whether you are looking at an IPv4 or IPv6 address before troubleshooting.
Is It Safe to Share Your IP Address?
It depends on which IP address you are sharing and why.
A private address such as:
192.168.1.20
is normally only meaningful within your local network.
A public IP address is different because it identifies the public-facing side of your internet connection.
You generally do not need to publicly share your public IP address unless there is a specific reason to do so.
When asking for technical support, it is often better to share only the information necessary to diagnose the problem and avoid unnecessarily exposing network details.
Common Mistakes When Checking an IP Address
Mistake 1: Confusing Private and Public IPs
The IP address in your Wi-Fi settings may not be the same address that websites see.
Mistake 2: Assuming 192.168.x.x Is a Public IP
Addresses beginning with 192.168. are commonly private IPv4 addresses.
Mistake 3: Assuming Your IP Never Changes
Both private and public IP addresses can change depending on how your network is configured.
Mistake 4: Thinking a VPN Removes Your Local IP
A VPN can change the public-facing IP seen by external services while your device continues to use a private local address.
Mistake 5: Looking at the Wrong Network Adapter
Computers can have multiple network interfaces, including Wi-Fi, Ethernet, VPN adapters, and virtual network interfaces.
Make sure you check the interface that is actually being used.
FAQ
How do I find my IP address quickly?
On Windows, open Command Prompt and run ipconfig. On macOS, open Network settings. On Android and iPhone, open the details for your connected Wi-Fi network.
What is my private IP address?
Your private IP address is the address assigned to your device within your local network. It often looks like 192.168.x.x, 10.x.x.x, or an address within the private 172.16.x.x through 172.31.x.x range.
How do I find my public IP address?
You can use a reputable online IP-checking service. Your public IP is different from the private IP shown in your device's network settings.
Why are my public and private IP addresses different?
They serve different purposes. Your private IP identifies your device within your local network, while your public IP is associated with communication between your network and the internet.
Can my phone have an IP address?
Yes. When your phone connects to Wi-Fi or a mobile network, it uses IP networking to communicate with other systems.
Can my computer have more than one IP address?
Yes. A computer can have multiple network interfaces and may have both IPv4 and IPv6 addresses.
Does restarting my router change my public IP?
It can, depending on how your ISP assigns addresses. A restart does not guarantee that your public IP will change.
Does a VPN change my IP address?
A VPN can change the public-facing IP address that websites and other external services see. Your device can still have a private IP address on your local network.
Is 192.168.1.1 my IP address?
It may be your router's private IP address rather than your computer's address. On many networks, addresses such as 192.168.1.1 are used as the default gateway.
Why does my computer show several IP addresses?
This can happen when your computer has multiple network interfaces or supports both IPv4 and IPv6. VPNs and virtual networking software can also create additional interfaces.
Final Thoughts
Finding your IP address is a simple task, but understanding what that address actually represents is more important than simply knowing the numbers.
On Windows, macOS, Android, iPhone, and Linux, you can usually find your private IP address through the network settings. Your public IP address is different and represents the public-facing side of your internet connection.
The most important distinction to remember is:
Private IP = your device inside the local network.
Public IP = the address associated with your connection to the wider internet.
Once you understand this difference, troubleshooting Wi-Fi problems, configuring routers, understanding VPNs, and learning about networking become much easier.
For readers interested in learning more about modern technology, How Does Generative AI Work? A Simple Guide provides another beginner-friendly explanation of how complex digital systems work.