Your IP address is a number that identifies your device on a network, the same way a street address identifies your house
An IP address is a set of numbers separated by periods — something like 192.168.1.5 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Every device that connects to the internet or to a home network gets one. Your phone, laptop, printer, and smart TV all have IP addresses right now. The address tells other devices and networks where to send information so it reaches the right place.
Think of it like a mailing address. When you send a letter, the postal service needs to know where to deliver it. When your laptop asks a website for a page, the website needs to know where to send the data back. Your IP address is how the network knows where you are.
You have two kinds of IP addresses working at the same time. Your local IP address (or private IP address) identifies your device within your home network — it's how your router talks to your laptop. Your public IP address is what the outside internet sees when you visit a website — it's assigned by your internet service provider and identifies your whole home network to the rest of the world.
Key Takeaways
- Your local IP address is assigned by your router and lets devices in your home network find each other; it usually starts with 192.168 or 10.
- Your public IP address is assigned by your internet service provider and is what websites see when you visit them.
- You can find your local IP address in your device settings or by typing a command into your terminal or command prompt.
- Most home networks use DHCP, which means your local IP address can change, but your public IP address usually stays the same unless you restart your modem.
- Knowing your local IP address is useful when you need to connect to your router, set up a printer, or troubleshoot network problems.
How to find your local IP address on Windows
On a Windows computer, the fastest way is to open Command Prompt and type a single command. Click the Start button, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter.
Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" — whichever one you use to connect to the internet. Find the line that says "IPv4 Address". The number next to it is your local IP address. It will look something like 192.168.1.42. Write it down if you need it.
You can also find it in Settings. Go to Settings, then Network & Internet, then WiFi (or Ethernet if you use a cable). Click "Advanced" and scroll down to "IPv4 address". It's the same number you would see in Command Prompt.
How to find your local IP address on Mac
On a Mac, open System Settings and click Network on the left side. Select the connection you use — WiFi or Ethernet. Click "Details" or "Advanced". Look for "IPv4 Address" or just "IP Address". That's your local IP address.
You can also use Terminal if you prefer the command line. Open Terminal (search for it in Spotlight), type ifconfig, and press Enter. Look for the section that matches your connection type. Find the line that starts with "inet" — the number after it is your local IP address.
How to find your local IP address on iPhone, iPad, or Android
On an iPhone or iPad, go to Settings, tap WiFi, and look for the network you're connected to. Tap the information icon (the small "i" in a circle) next to the network name. Scroll down and you'll see "IP Address".
On Android, go to Settings, tap Network & Internet or Connections, then WiFi. Tap the network you're connected to. You'll see "IP address" listed there. Some Android phones put this under "Advanced" — if you don't see it right away, look for that section.
How to find your public IP address
Your public IP address is what the internet sees. To find it, open any web browser and search for "what is my IP" or "my IP address". Google will show your public IP address at the top of the search results. You can also visit websites like whatismyipaddress.com or ipinfo.io — they all show the same thing.
Your public IP address is assigned by your internet service provider. It's the address that websites log when you visit them. It usually stays the same for weeks or months, but it can change if you restart your modem or if your service provider reassigns it.
Why you might need to know your IP address
The most common reason is to connect to your router's settings page. Your router has its own address — usually 192.168.1.1 or 10.0.0.1 — and you type that into a browser to change your WiFi password, restart the router, or adjust network settings. Knowing how to find IP addresses helps you troubleshoot when something isn't working.
You might also need your local IP address to set up a printer on your network, to connect to a security camera, or to give technical support someone the information they need to help you. If you're sharing files between computers at home, you might need to know the IP address of the computer you're connecting to.
Your public IP address matters less often, but it's useful to know if you're troubleshooting internet problems with your service provider or if you want to understand what information websites can see about your location.
The difference between static and dynamic IP addresses
Most home networks use DHCP (Dynamic Host Configuration Protocol), which means your router assigns a new local IP address to each device automatically. Your laptop might be 192.168.1.5 today and 192.168.1.8 tomorrow. This is called a dynamic IP address, and it's fine for most people because your devices find each other by name, not by address.
A static IP address is one that doesn't change. Some people set a static address for a printer or security camera so they always know where to find it on the network. You can usually set this in your router's settings or in the device itself. If you're having trouble connecting to something, making it static sometimes helps.
Your public IP address from your service provider is usually dynamic too — it can change if you restart your modem. If you need it to stay the same (for example, to run a server from home), you can contact your service provider about a static public IP, though this usually costs extra.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No. Your MAC address is a different number that identifies your device on your local network. Your IP address identifies where to send data. Think of MAC as your device's serial number and IP as your location. Your router uses both — it uses your MAC address to find your device and your IP address to send data to it.
Can someone find my home address from my IP address?
Your public IP address is assigned by your service provider to your area, but it doesn't pinpoint your exact address. A website can see roughly what city or region you're in, but not your street address. Your local IP address (like 192.168.1.5) only works inside your home network — the outside internet can't see it at all.
Why does my IP address keep changing?
If your local IP address changes, it's because your router uses DHCP to assign addresses automatically. This is normal and not a problem. If your public IP address changes, your service provider reassigned it — this happens occasionally but usually takes weeks or months. Restarting your modem can trigger a change.
What should I do if I can't find my IP address?
Make sure you're connected to your network first — check that WiFi is on or your ethernet cable is plugged in. Then try the steps for your device type again. If you're still stuck, restart your device and try once more. If you need help, write down what you see on the screen and contact your internet service provider or router manufacturer.
Do I need to memorize my IP address?
No. You only need to look it up when you actually need it — to connect to your router, set up a printer, or troubleshoot a problem. You don't need to remember it day to day. Most of the time your devices find each other automatically without you thinking about IP addresses at all.