Your IPv4 address is a four-part number that identifies your device on your home network

An IPv4 address looks like this: 192.168.1.5. It is four numbers separated by dots, each number between 0 and 255. Your router assigns this address to every device that connects to it — your phone, laptop, smart TV, printer, anything with WiFi or an ethernet cable. Without it, your router would not know where to send the data meant for that device.

The address is temporary. When you restart your device or reconnect to the network, your router may assign a different IPv4 address. This is normal and expected. The address only matters while your device is connected; it does not follow you to a coffee shop or a friend's house, because a different router will assign you a different address there.

IPv4 is the older standard — it has been in use since the 1980s and still powers most home networks today. A newer standard called IPv6 exists and is slowly spreading, but IPv4 remains the default for most routers and devices you will encounter.

Key Takeaways

  • Your IPv4 address is a four-part number your router uses to identify your device on the home network and route data to it.
  • The address changes when you restart your device or reconnect to WiFi, and it is different on every network you join.
  • You can find your IPv4 address in your device settings, your router's admin page, or by searching "what is my IP" in a web browser.
  • Your local IPv4 address (the one your router assigns) is private and invisible to the internet; only your router's public IP address is visible outside your home.

The two types of IPv4 addresses: local and public

Your device actually has two IPv4 addresses, and they do different jobs. The local IPv4 address is the one your router assigns — something like 192.168.1.5 or 10.0.0.3. This address only works inside your home network. Your phone uses it to talk to your printer, your laptop uses it to reach your router, and so on. Devices outside your home cannot see this address.

Your public IPv4 address is the address your internet service provider assigns to your router itself. This is the address that websites and online services see when you visit them. It looks the same as a local address (four numbers separated by dots) but it is routable across the entire internet. When you search "what is my IP" in a web browser, you are seeing your public address, not your local one.

This separation is intentional. Your local addresses stay private — hidden behind your router's firewall. Only your router's public address is exposed to the internet. This design protects your devices from direct attacks and lets your router act as a gatekeeper, deciding what traffic gets through.

How to find your IPv4 address on Windows, Mac, or Linux

On Windows: Open the Command Prompt (search for "cmd" in the Start menu). Type ipconfig and press Enter. Look for "IPv4 Address" in the output. It will be listed under your active network connection, usually labeled "Ethernet adapter" or "Wireless LAN adapter".

On Mac: Open System Preferences, then click Network. Select your active connection (WiFi or Ethernet) from the left sidebar. Your IPv4 address appears in the window as "IP Address". If you prefer the command line, open Terminal and type ifconfig, then look for "inet" (not "inet6").

On Linux: Open a terminal and type ip addr show or ifconfig. Look for the line that starts with "inet" under your active network interface. The address after "inet" is your IPv4 address. Ignore lines that start with "inet6" — those are IPv6 addresses.

How to find your IPv4 address on phones and tablets

On iPhone or iPad: Open Settings, tap WiFi, then tap the information icon (i) next to your connected network name. Your IPv4 address appears as "IP Address" in the list.

On Android: Open Settings, tap Network and Internet (or Connections, depending on your phone), then WiFi. Tap the connected network name and hold it. A menu will appear showing your IP address. Some Android versions require you to tap "Advanced" or "IP settings" to see it.

If you are connected by ethernet instead of WiFi, the process is similar but the menu path varies by device. Check your device's manual or support page for the exact steps.

What the numbers in your IPv4 address mean

Each of the four numbers in an IPv4 address serves a purpose. The first one, two, or three numbers identify the network itself. The last number or two identify your specific device on that network. For example, in 192.168.1.5, the "192.168.1" part is the network, and "5" is your device.

Most home routers use addresses that start with 192.168 or 10.0. These are private address ranges — they are reserved for use inside networks and are never routed across the public internet. This is why your device's local address is invisible to websites and services outside your home.

The last number usually starts at 1 (your router itself) and counts up from there. Your first device might be .2, your second .3, and so on. Some routers let you set a static address — one that does not change — in their settings, but most home users leave this on automatic.

Why your IPv4 address changes and when it stays the same

Your router assigns addresses using a system called DHCP (Dynamic Host Configuration Protocol). DHCP is automatic — when your device connects, the router hands out an address from a pool of available ones. When your device disconnects or the lease expires (usually after hours or days), that address goes back into the pool and can be given to another device.

This is why restarting your device or reconnecting to WiFi often gives you a new address. It is also why you might see the same address for weeks if you never disconnect — your router keeps renewing the lease as long as you stay connected.

If you need a device to keep the same address (for example, to set up port forwarding for a game server), you can configure a static address in your router's settings. This tells the router to always assign the same address to that device. The process varies by router model, but it is usually found in the DHCP or LAN settings section of the admin page.

The difference between IPv4 and IPv6

IPv4 addresses are running out. There are only about 4.3 billion possible IPv4 addresses, and the world has more devices than that now. IPv6 was created to solve this problem. An IPv6 address looks completely different — it uses letters and numbers in a much longer format, like 2001:0db8:85a3:0000:0000:8a2e:0370:7334.

Most home networks today use both IPv4 and IPv6 at the same time. Your device gets both an IPv4 address and an IPv6 address from your router. Websites and services are slowly moving to IPv6, but IPv4 is still the standard for most home networks. You do not need to choose between them or do anything special — your router handles both automatically.

If you want to see your IPv6 address, the steps are the same as finding IPv4, but you look for "inet6" on Linux, "IPv6 Address" on Windows, or "IPv6 Address" on Mac and iPhone. On Android, it appears in the same WiFi settings menu as your IPv4 address.

Frequently Asked Questions

Can someone find my device using my IPv4 address?

Someone outside your home cannot reach your device using only your local IPv4 address — it is not routable on the internet. They would need your router's public IP address and would have to get through your router's firewall. Your router is designed to block unsolicited incoming connections, so this is difficult without you opening a port on purpose.

Is my IPv4 address the same as my WiFi password?

No. Your IPv4 address is assigned by your router and identifies your device on the network. Your WiFi password is what you type to connect to the network in the first place. They are completely separate. Knowing someone's IPv4 address does not let them connect to your WiFi.

Why does my device sometimes show two different IPv4 addresses?

This usually means your device is connected to two networks at once — for example, WiFi and ethernet. Each connection gets its own address. Check which network you actually want to use and disconnect from the other one. If you see two addresses for the same connection, restart your device or reconnect to the network.

Do I need to change my IPv4 address for security?

No. Your local IPv4 address is private and does not affect your security. Changing it will not make you safer online. If you are concerned about your public IP address being visible to websites, that is a different issue and requires a VPN or proxy service, not a change to your local address.

What if my device keeps getting the same IPv4 address even after I restart?

Your router may have assigned a long DHCP lease to that device, or it may be using a static address. Both are normal. If you need a different address, you can release and renew the lease from your device settings, or you can manually change the address in your router's DHCP settings. The exact steps depend on your router model.