Your IPv4 address is a set of four numbers that identifies your device on the internet
An IPv4 address looks like this: 192.168.1.5. It is four groups of numbers separated by periods, with each group ranging from 0 to 255. Every device that connects to the internet — your phone, laptop, tablet, printer — gets one of these addresses so that data sent to it arrives at the right place, the same way your home address tells mail carriers where to deliver packages.
Your device actually has two IPv4 addresses at the same time. One is your local address, which only works inside your home or office network. The other is your public address, which is how the rest of the internet sees you. When you visit a website, that website's server sees your public address, not your local one. Your internet service provider assigns your public address, and it can change — sometimes weekly, sometimes monthly, depending on your provider's setup.
You do not need to do anything to get an IPv4 address. Your router and your devices handle this automatically when they connect to the network. But knowing what yours is can help you troubleshoot connection problems, set up devices on your home network, or understand what information websites can see about your location.
Key Takeaways
- Your IPv4 address is four numbers separated by periods (like 192.168.1.5) that identify your device on a network.
- Your local IPv4 address only works on your home or office network, while your public address is how the internet identifies you.
- You can find your local address in your device settings or network information without any special tools.
- Your public address can be found by searching "what is my IP" in any web browser.
- IPv4 addresses are assigned automatically — you do not need to request or configure one yourself.
How to find your local IPv4 address on Windows
Your local address is the one your devices use to talk to each other inside your home. To find it on a Windows computer, right-click the network icon in the bottom right corner of your screen (it looks like a computer or wifi symbol) and select "Open Network & Internet settings." Then click "Advanced network options" and scroll down to find the section labeled "IP settings." Your IPv4 address will be listed there as a four-number sequence.
If that does not work, you can also open Command Prompt by pressing the Windows key and typing "cmd," then hitting Enter. Type ipconfig and press Enter. Look for the line that says "IPv4 Address" — that is your local address. Write it down if you need it for setting up a device or troubleshooting a connection problem.
How to find your local IPv4 address on Mac or Linux
On a Mac, click the Apple menu in the top left, select "System Settings," then click "Network" on the left side. Click your current connection (usually "Wi-Fi" or "Ethernet"), and your IPv4 address will appear under "IP Address." It is usually a number starting with 192.168 or 10.
On Linux, open a terminal window and type hostname -I, then press Enter. Your local IPv4 address will appear on the screen. If you have multiple network connections, you may see more than one address — the one you need is usually the first one listed.
How to find your local IPv4 address on phones and tablets
On an iPhone or iPad, go to Settings, tap "Wi-Fi," and look for the network you are connected to. Tap the information icon (a small circle with an "i") next to the network name. Your IPv4 address is listed under "IP Address." On Android, go to Settings, tap "About phone" or "About tablet," then look for "IP address" in the list — it may be under a "Network" or "Status" section depending on your phone model.
If you cannot find it in those locations, try going to Settings, then "Wi-Fi," holding down on your connected network name, and selecting "Manage network settings" or "View details." The IPv4 address should appear there.
How to find your public IPv4 address
Your public address is what websites see when you visit them. To find it, open any web browser and search for "what is my IP" or "my IP address." The first result will show you a website that displays your public IPv4 address instantly. You do not need to click anything or enter any information — the website detects it automatically.
Common sites that show this information include WhatIsMyIPAddress.com, IPChicken.com, and Google's own search result (if you search "my IP" in Google, it shows your address right at the top). All of these are free and safe to use. Your public address is the one your internet service provider assigned to your home network, and it is visible to every website you visit.
Why the difference between local and public addresses matters
Your local address is used only by devices inside your home network to find each other. If you have a printer, a smart speaker, and a laptop all connected to the same Wi-Fi, they use their local addresses to communicate. These addresses always start with 192.168, 10, or 172.16 — they are reserved for home and office networks and do not work on the public internet.
Your public address is assigned by your internet service provider and is unique to your home connection. Websites, apps, and online services see this address and can use it to figure out roughly where you are (usually your city or region, not your exact location). Your public address changes periodically — sometimes automatically when your router restarts, sometimes on a schedule set by your provider. This is normal and expected.
What to do if you need to keep the same local address
Sometimes you may want a device to always have the same local address — for example, if you are setting up a printer or security camera that other devices need to find. Most routers have a setting called DHCP reservation or static IP assignment that lets you lock a device to a specific local address. To do this, log into your router (usually by typing 192.168.1.1 or 192.168.0.1 into a web browser), find the DHCP or IP settings section, and look for an option to reserve an address for a specific device.
You will need the device's MAC address, which is a unique identifier that looks similar to an IP address but uses letters and numbers. You can find it in the same place you found the IPv4 address — in network settings on the device itself. Once you set up a reservation, that device will always get the same local address when it connects to your network.
Frequently Asked Questions
Can someone find my home address from my IP address?
No. Your IP address shows your general location (usually your city or region) but not your street address or home. Websites can see your public IP address, but they cannot use it to find where you live. Your actual home address is not stored in or connected to your IP address.
Why does my public IP address keep changing?
Your internet service provider assigns public addresses dynamically, meaning they do not stay the same forever. Your address may change when your router restarts, when your provider updates their network, or on a schedule set by your provider. This is normal. If you need a permanent public address, you can contact your provider about a static IP, though this usually costs extra.
Is my local IP address the same as my router's address?
No, they are different. Your router has its own local address (usually 192.168.1.1 or 192.168.0.1) that you use to log into it. Your device has a separate local address that the router assigns to it. Both are on the same home network, but they identify different things.
Do I need to change my IPv4 address?
For most people, no. Your device gets an address automatically and handles everything on its own. You only need to change it if you are setting up a specific device like a printer or security camera that needs a permanent address on your network, or if you are troubleshooting a network problem and a technician tells you to.
What is the difference between IPv4 and IPv6?
IPv4 uses four numbers (like 192.168.1.5), while IPv6 uses a longer format with letters and numbers (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334). IPv6 was created because we were running out of IPv4 addresses. Most devices and networks still use IPv4, but IPv6 is becoming more common. Your device may have both addresses at the same time.