Your IPv4 address is a set of four numbers separated by periods that identifies your device on the internet
An IPv4 address looks like this: 192.168.1.5 or 8.8.8.8. Each number can range from 0 to 255. This address is assigned to your device — your computer, phone, or tablet — whenever it connects to a network. Think of it like a mailing address: the internet uses it to know where to send data back to you.
You actually have two IPv4 addresses at any given time. Your local IP address (like 192.168.1.5) is used only within your home or office network. Your public IP address (like 203.45.67.89) is what websites and services see when you connect to the internet. Your router translates between the two, so data meant for you finds its way home.
Key Takeaways
- Your public IPv4 address is visible to websites you visit and can be found instantly using a search engine or a dedicated IP lookup site.
- Your local IPv4 address is used only within your home network and is found in your device settings or network preferences.
- Public IP addresses change when you restart your router or when your internet provider assigns you a new one, which can happen without warning.
- Knowing your IPv4 address is useful for troubleshooting network problems, setting up remote access, or checking whether a website has blocked your connection.
How to find your public IPv4 address
The fastest way is to open a search engine and type "what is my IP address" or "my IP". Google, Bing, and most search engines will display your public IPv4 address at the top of the results page in large text. No special tool or registration is needed.
If you prefer a dedicated site, you can visit whatismyipaddress.com, ipinfo.io, or iplocation.net. These sites show your public IPv4 address along with additional information like your approximate location (based on where your internet provider is registered) and your internet service provider's name. The information shown is the same information any website you visit can see about you.
How to find your local IPv4 address on Windows
On a Windows computer, open the Command Prompt by pressing the Windows key, typing "cmd", and pressing Enter. Type ipconfig and press Enter. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on how you are connected. Your local IPv4 address appears next to "IPv4 Address:" and usually starts with 192.168 or 10.
Alternatively, you can find it in Settings. Open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties". Your IPv4 address is listed under "IPv4 address".
How to find your local IPv4 address on Mac
On a Mac, click the Apple menu and select System Settings (or System Preferences on older versions). Click Network on the left side. Select your active connection — either Wi-Fi or Ethernet — and your local IPv4 address appears on the right side of the window next to "IPv4 Address".
You can also open Terminal (found in Applications > Utilities) and type ifconfig, then press Enter. Look for "inet" followed by a number starting with 192.168 or 10. That is your local IPv4 address.
How to find your local IPv4 address on a phone or tablet
On an iPhone or iPad, go to Settings, tap Wi-Fi, and tap the information icon (i) next to your connected network. Your local IPv4 address appears under "IPv4 Address".
On an Android phone, go to Settings, tap About Phone (or Device), then tap Status or Network. Your local IPv4 address is listed as "IP Address". On some Android versions, you may need to go to Settings > System > About Phone > Status instead.
Why your IPv4 address changes and what that means
Your public IPv4 address can change without your control. Most home internet providers assign addresses temporarily using a system called DHCP (Dynamic Host Configuration Protocol). When you restart your router, your provider may assign you a different public address. Some providers change addresses automatically every few months or even more frequently.
Your local IPv4 address is more stable but can also change. If you turn your device off and back on, or if you disconnect and reconnect to your Wi-Fi, your router may assign you a different local address the next time. If you need a device to keep the same local address — for example, to set up remote access or port forwarding — you can configure your router to assign a static local IP address to that device.
When you need to know your IPv4 address
Knowing your public IPv4 address is useful if a website or service tells you that your connection has been blocked or restricted. You can check whether the block applies to your current address or to a range of addresses. It is also helpful if you are troubleshooting internet problems and need to contact your internet provider — they may ask for your public IP to look up your account.
Knowing your local IPv4 address matters when you are setting up devices on your home network. If you want to access a printer, security camera, or computer from another device on the same network, you often need its local IP address. You also need your local address if you are configuring port forwarding on your router or setting up remote access to a device at home.
Frequently Asked Questions
Is my IPv4 address private information?
Your public IPv4 address is visible to every website you visit and is not considered private. However, it is not the same as your name or home address — it identifies your internet connection, not you personally. Your local IPv4 address is only visible to devices on your home network and is not exposed to the internet.
Can someone find my location from my IPv4 address?
Someone can see your approximate location based on where your internet provider is registered, but this is usually accurate only to the city or region level, not to your street address. The location shown by IP lookup sites is based on the provider's registered headquarters, not your actual physical location.
What is the difference between IPv4 and IPv6?
IPv6 is a newer address format that uses longer addresses (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334) and provides far more possible addresses than IPv4. Most devices and networks still use IPv4, but IPv6 is gradually becoming more common. You may have both an IPv4 and an IPv6 address on the same device.
Why does my IPv4 address start with 192.168 or 10?
These ranges are reserved for local networks and are never used on the public internet. Your router uses these addresses to identify devices within your home or office. Every home network uses addresses from these same ranges, which is why your local address looks similar to everyone else's.