An IP address is a number that identifies your device on a network, the same way a street address identifies your house

Every device that connects to the internet or to a local network — your laptop, phone, printer, smart TV, security camera — gets assigned an IP address. This address is a series of numbers separated by periods, like 192.168.1.5 or 8.8.8.8. When your device sends data (an email, a web page request, a video stream), that data includes your IP address so the receiving computer knows where to send the response back to.

Without an IP address, your router would have no way to know which device in your home asked for a web page, and the internet would have no way to send that page back to you instead of to someone else. The address serves the same function as your home's street address — it tells the network exactly where to deliver what you asked for.

Your device actually has two IP addresses at work at the same time. One is your local IP address, which identifies your device within your home network. The other is your public IP address, which is how the outside internet sees you. Your router translates between these two, so websites see your router's public address, not your device's local one.

Key Takeaways

  • An IP address is a unique number assigned to each device on a network, used to send and receive data to the correct location.
  • Local IP addresses (like 192.168.x.x) identify devices within your home network, while public IP addresses identify your entire home to the internet.
  • Your router assigns local IP addresses to your devices automatically through DHCP, and this assignment can change when you restart devices or your router.
  • You can find your device's local IP address in your network settings, and your public IP address by searching "what is my IP" in a web browser.

Local IP addresses: how your router talks to your devices

Inside your home network, your router assigns each device a local IP address from a range it controls. These addresses almost always start with 192.168 or 10.0, followed by two more sets of numbers. Your laptop might be 192.168.1.5, your phone 192.168.1.10, your printer 192.168.1.20. These numbers are private — they only work within your home network and the internet cannot see them.

Your router hands out these addresses automatically using a system called DHCP (Dynamic Host Configuration Protocol). When you turn on a device and connect it to your Wi-Fi, it asks the router for an address. The router picks one from its available pool and assigns it. This assignment is temporary — it lasts until you restart the device, restart the router, or the lease expires (usually after several days or weeks). That is why your device's local IP address can change over time.

If you want a device to keep the same local IP address — useful for a printer or security camera that other devices need to find reliably — you can set up a static local IP address in your router's settings. This tells the router to always give that device the same number. Most home routers have this option in their admin panel, though the exact steps vary by manufacturer.

Public IP addresses: how the internet identifies your home

Your public IP address is assigned by your internet service provider (ISP) and identifies your entire home to the outside internet. When you visit a website, that website sees your public IP address, not the local addresses of your individual devices. Your router sits between your devices and the internet, translating outgoing requests from local addresses to your public address, and translating incoming responses back to the correct local device.

Public IP addresses follow the same format as local ones — four sets of numbers separated by periods — but they are globally unique. No two homes on the internet have the same public IP address at the same time. Your ISP owns a pool of these addresses and assigns one to your home's internet connection. If you restart your modem or go without internet for a while, your ISP may assign you a different public address. Some ISPs offer static public IP addresses for a monthly fee, which keeps your address the same permanently — useful if you run a home server or need remote access to your network.

You can find your public IP address by opening any web browser and searching "what is my IP." The result will show you the address the internet sees. This is also the address that appears in your router's logs and in websites' access records.

How IP addresses route data to the right place

When your laptop requests a web page, the data travels in small packets, each one labeled with your device's local IP address as the sender and the website's server IP address as the destination. Your router reads that label, sees it is going to the internet, and rewrites the sender address to your public IP. The website's server receives the request, sees your public IP, and sends the page back to that address. Your router receives it, sees it came in response to a request from your laptop's local address, and forwards it to your laptop.

This process happens thousands of times per second when you are browsing, streaming, or downloading. The router keeps track of which local device made which request so it knows where to send each response. If two devices request web pages at the same time, the router keeps them separate and delivers each response to the correct device, even though both responses arrive at your public IP address.

This system is called Network Address Translation or NAT. It is why your home network can have dozens of devices all sharing one public IP address without confusion. The router is the traffic controller, making sure every packet goes to the right place.

Finding your device's IP address in your settings

On Windows, open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties." Your local IP address appears next to "IPv4 address." Alternatively, open Command Prompt and type ipconfig, then press Enter. Your local IP address is listed as "IPv4 Address."

On Mac, open System Preferences (or System Settings on newer versions), click Network, select your Wi-Fi connection, and click Advanced. Your local IP address appears under the TCP/IP tab next to "IPv4 Address." On iPhone or iPad, go to Settings, tap Wi-Fi, then tap the information icon next to your network name. Your local IP address is listed as "IP Address." On Android, go to Settings, tap About Phone (or About Device), then tap Status. Scroll down to find "IP Address."

If you need to find the IP address of another device on your network — like a printer or security camera — you can usually log into your router's admin panel and view the list of connected devices. Most routers have an admin page at 192.168.1.1 or 192.168.0.1. You will need your router's username and password, which are usually printed on the router itself or in the manual.

Why IP addresses matter for your home network

Understanding IP addresses helps you troubleshoot network problems. If a device will not connect to your printer, it might be because the printer's IP address changed and your device is looking for it at the old address. If you cannot access a security camera remotely, you might need to set up port forwarding on your router, which requires knowing your public IP address. If your internet is slow, your router's logs (which track IP addresses) can show you which device is using the most bandwidth.

IP addresses also matter for security. Your public IP address can be used to locate your approximate geographic location and is visible to every website you visit. Your local IP addresses are private and only visible within your home network, but devices on your network can see each other's addresses. If you want to prevent a guest device from accessing your printer or security camera, you can use your router's access controls, which work by blocking or allowing specific IP addresses.

IPv4 and IPv6: two versions of IP addresses

Most home networks still use IPv4, the older standard that produces addresses like 192.168.1.5. IPv4 addresses are 32 bits long, which means there are about 4.3 billion possible unique addresses. The internet ran out of new IPv4 addresses to assign years ago, which is why ISPs now reuse addresses and why your address can change.

IPv6 is the newer standard, designed to replace IPv4. IPv6 addresses are 128 bits long and look like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 — much longer and using letters as well as numbers. IPv6 provides trillions of trillions of unique addresses, so every device on Earth could have its own permanent public address. Most home routers now support IPv6, and many ISPs have begun assigning IPv6 addresses alongside IPv4. However, IPv4 is still the standard for most home networks, and you do not need to do anything to use IPv6 — your router and ISP handle it automatically if both support it.

Frequently Asked Questions

Can someone find my home address from my IP address?

Your IP address reveals your approximate geographic location — usually your city or region, sometimes your neighborhood — but not your street address. Websites can see your public IP and estimate where you are, but they cannot see your home address without additional information. Your ISP knows which street address is connected to your public IP, but they do not share that with websites.

Why does my device's IP address change?

Your router assigns local IP addresses temporarily through DHCP. When you restart your device, restart your router, or the lease expires (usually after days or weeks), your device gets a new address from the available pool. This is normal and does not affect your internet connection. If you want a device to keep the same local address, you can set a static IP in your router's settings.

What is the difference between my IP address and my MAC address?

Your IP address identifies your device on a network and is used to route data. Your MAC address is a unique hardware identifier for your device's network card and is used only within your local network to find devices on the same Wi-Fi or ethernet connection. Your router uses MAC addresses to assign IP addresses and to control which devices can connect.

Do I need to know my IP address to use the internet?

No. Your device and router handle IP addresses automatically. You do not need to think about them for everyday internet use. You only need to know your IP address if you are troubleshooting a network problem, setting up port forwarding, or trying to access a device remotely.

Is my public IP address the same as my router's IP address?

Your public IP address is assigned to your internet connection, which your router manages. In that sense, it is your router's public address. Your router also has a local IP address (usually 192.168.1.1) that you use to access its settings. These are different — one faces the internet, one faces your home network.