Your IPv4 address is the four-number identifier your device uses to send and receive data on your home network and the internet

An IPv4 address is written as four numbers separated by dots, like 192.168.1.5 or 10.0.0.42. Each number can range from 0 to 255. Your device gets this address so routers, websites, and other devices know where to send information back to you. Every device on your network — your computer, phone, printer, smart TV — has its own IPv4 address, either assigned by your router or set manually.

You have two IPv4 addresses at any given time: one for your home network (called a private address) and one for the internet (called a public address). Your router translates between them. When you visit a website, the website sees your public IPv4 address. When you print to your home printer, your computer uses your private IPv4 address.

Key Takeaways

  • Your private IPv4 address usually starts with 192.168, 10.0, or 172.16 and is assigned by your router to devices on your home network.
  • Your public IPv4 address is assigned by your internet service provider and is what websites and online services see when you connect.
  • You can find your private IPv4 address in your device's network settings or by typing ipconfig (Windows) or ifconfig (Mac/Linux) in the command line.
  • You can find your public IPv4 address by visiting a website like whatismyipaddress.com or by checking your router's admin page.
  • Knowing your IPv4 address helps you troubleshoot network problems, set up port forwarding, or connect to devices remotely.

Finding your private IPv4 address on Windows

Open the Start menu and type "cmd" to open Command Prompt. Type ipconfig and press Enter. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on how you are connected. Your private IPv4 address appears next to "IPv4 Address:" — it will look something like 192.168.1.105.

If you prefer not to use Command Prompt, you can find it in Settings instead. Go to Settings > Network & Internet > Wi-Fi (or Ethernet). Click on your network name, then scroll down to find "IPv4 address" listed under the connection details.

Finding your private IPv4 address on Mac and Linux

Open Terminal. On Mac, you can find it in Applications > Utilities. Type ifconfig and press Enter. Look for the section that matches your connection type — "en0" for Ethernet or "en1" for Wi-Fi on most Macs. Your IPv4 address appears next to "inet" and will look like 192.168.1.50.

On Linux, the process is the same: open a terminal, type ifconfig or ip addr, and look for "inet" followed by your IPv4 address. If ifconfig does not work, your system may use ip addr instead.

Finding your public IPv4 address

Your public IPv4 address is what the internet sees when you connect. To find it, visit a website like whatismyipaddress.com, myipaddress.com, or iplocation.net. These sites display your public IPv4 address when ready — no login or read needed. You can also search "what is my IP" in any search engine and the result will appear at the top of the page.

Your public IPv4 address changes periodically depending on your internet service provider. Some providers assign the same address for months or years; others change it every few days. If you need to know your public address for remote access or port forwarding, check it regularly or contact your provider to ask about a static public address (one that does not change).

Why you might need to know your IPv4 address

Knowing your private IPv4 address helps when you are troubleshooting network problems. If a device will not connect to your printer or a smart home device, you may need to enter its IPv4 address manually. You also need your private IPv4 address if you want to access a device remotely from outside your home — for example, checking a security camera or connecting to a home computer.

Your public IPv4 address matters if you are setting up port forwarding (directing traffic from the internet to a specific device on your home network) or if a service asks for your IP address for security reasons. Some online games, video conferencing software, or remote access tools may ask for your public IPv4 address to establish a connection.

The difference between private and public IPv4 addresses

Private IPv4 addresses are used only on your home network and are never sent to the internet. They always start with 192.168, 10.0, or 172.16. Your router assigns these addresses to your devices automatically using a system called DHCP (Dynamic Host Configuration Protocol). Because private addresses are not routed on the internet, millions of home networks can use the same private addresses without conflict.

Public IPv4 addresses are unique across the entire internet. Your internet service provider assigns one to your router, and that address is visible to every website you visit, every online service you use, and every device you connect to outside your home network. Your router hides your devices' private addresses behind your public address — this is called Network Address Translation (NAT), and it is one reason your home network is more find than if every device had a public address.

What to do if you cannot find your IPv4 address

If ipconfig or ifconfig does not show an IPv4 address, or if it shows 169.254.x.x, your device is not connected to the network properly. Check that your Ethernet cable is plugged in or that you are connected to your Wi-Fi network. Restart your device and try again. If the problem persists, restart your router by unplugging it for 30 seconds, then plugging it back in.

If you see an IPv4 address but cannot reach other devices or the internet, the problem may be with your router or internet service provider. Check that your router is powered on and that the lights indicate an active connection. If your internet is down, contact your provider. If only one device cannot connect, try forgetting the Wi-Fi network and reconnecting, or restart the device.

Frequently Asked Questions

Can someone find my home address from my IPv4 address?

Your public IPv4 address can be traced to your internet service provider and your general location (usually your city or region), but not to your exact street address. Your ISP has that information, but they do not share it publicly. Websites and online services see your public IP but not your private network or devices.

Why do I have multiple IPv4 addresses?

Each device on your network gets its own private IPv4 address. Your computer, phone, printer, and smart TV all have different private addresses so your router knows which device to send data to. You also have a public IPv4 address for the internet, which is separate from your private addresses.

What does 192.168.1.1 mean?

192.168.1.1 is the default private IPv4 address for most home routers. It is the address you use to log into your router's settings page. You can type 192.168.1.1 into a web browser to access your router's admin panel, though some routers use a different address like 10.0.0.1 or 192.168.0.1.

Is IPv4 the same as my MAC address?

No. Your IPv4 address is a network address that changes depending on your network and can be reassigned. Your MAC address is a hardware address that stays the same and identifies your device's network card. Both are used on networks, but they serve different purposes.

Will my IPv4 address change if I restart my router?

Your private IPv4 address may change if you restart your router, depending on your router's settings. Your public IPv4 address may also change, depending on your internet service provider. If you need an address that does not change, you can set a static private address in your device settings or ask your ISP about a static public address.