What Is My IP Address in IPv4? How It Works and What It Tells You
Your IPv4 address is a unique numerical label assigned to your device on a network — it's how the internet knows where to send the data you request. Whether you're troubleshooting a connection, setting up a server, or just curious, understanding what your IPv4 address is and how it works gives you a clearer picture of how your device fits into the wider internet.
What Is an IPv4 Address?
IPv4 stands for Internet Protocol version 4. It's the fourth revision of the Internet Protocol and the most widely used system for identifying devices on a network. An IPv4 address looks like this:
192.168.1.1 or 203.0.113.47
It's made up of four groups of numbers (called octets), separated by dots. Each octet ranges from 0 to 255, which means there are about 4.3 billion possible IPv4 addresses in total. That sounds like a lot — but with billions of devices online, those addresses are running out, which is why IPv6 was developed. More on that shortly.
Your Public IP vs. Your Private IP 🌐
This is where most people get confused — and it's genuinely important to understand.
You actually have two IPv4 addresses at any given moment:
| Type | What It Is | Who Sees It |
|---|---|---|
| Public IP | Assigned by your ISP to your router | Websites, servers, anyone on the internet |
| Private IP | Assigned by your router to your device | Only visible inside your local network |
Your public IP address is what the outside world sees. When you visit a website, that site logs your public IP, not your device's private one. Your router acts as a middleman — it has the public IP, and it distributes private IPs to every device connected to your home or office network.
Your private IP is internal. It's how your router distinguishes your laptop from your phone from your smart TV. Devices on different networks can share identical private IPs without any conflict, because those addresses never leave the local network.
How to Find Your IPv4 Address
Finding Your Public IP
The simplest way is to search "what is my IP" in any browser. Numerous websites display your current public IPv4 address immediately.
Finding Your Private IP
The method depends on your operating system:
- Windows: Open Command Prompt and type
ipconfig. Look for the IPv4 Address under your active network adapter. - macOS: Go to System Settings → Network → select your connection → look for the IP address listed.
- Linux: Open a terminal and run
ip addrorifconfig. Your IPv4 address appears next toinet. - iPhone/iPad: Settings → Wi-Fi → tap the connected network → the IP address is listed under the IPv4 section.
- Android: Settings → Network & Internet → Wi-Fi → tap the network → expand "Advanced" to find the IP address.
What the Numbers in an IPv4 Address Mean
IPv4 addresses aren't random. They're divided into a network portion and a host portion, which tells routers how to route traffic across the internet.
Addresses are grouped into classes and ranges with specific purposes:
- 10.x.x.x, 172.16.x.x – 172.31.x.x, and 192.168.x.x are all private address ranges — reserved for internal networks and never routed on the public internet.
- 127.0.0.1 is the loopback address — your device talking to itself, used for testing.
- Everything else in the valid range is a public address, routable across the internet.
The subnet mask (something like 255.255.255.0) works alongside the IP address to define which part identifies the network and which part identifies the specific device.
Static vs. Dynamic IPv4 Addresses
Another variable that affects your setup is whether your IP address is static or dynamic.
- A dynamic IP changes periodically. Most home internet connections use dynamic IPs assigned by your ISP through a system called DHCP (Dynamic Host Configuration Protocol). Your router's public IP might change every few days, weeks, or after a reboot.
- A static IP stays fixed. Businesses, servers, and remote access setups often require a static IP so that connections can always reach the same address. ISPs typically charge extra for static IP assignments.
Inside your local network, your router also assigns private IPs dynamically by default — but you can configure DHCP reservations to give a specific device the same private IP every time. 🔧
IPv4 vs. IPv6: Why Both Still Matter
Because IPv4's ~4.3 billion addresses are essentially exhausted at the global level, IPv6 was introduced with a vastly larger address space. IPv6 addresses look very different — eight groups of hexadecimal characters, like 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Most modern devices and networks support both simultaneously through a setup called dual-stack. When you check "what is my IP," the result might show either format depending on the site and how your network is configured.
Despite IPv6's growth, IPv4 remains dominant in everyday networking — especially within private networks and in regions where ISP infrastructure hasn't fully transitioned.
The Factors That Shape Your Specific IPv4 Situation
What your IPv4 address looks like in practice — and whether it behaves the way you expect — depends on several variables: 🔍
- Your ISP and whether they provide a dynamic or static public IP
- Your router's configuration, including DHCP settings and any IP reservations
- Whether you're on Wi-Fi or a wired connection, which can sometimes result in different private IPs on the same network
- VPN or proxy use, which masks your real public IP and replaces it with one from another location
- Carrier-grade NAT (CGNAT), used by some ISPs where multiple customers share a single public IP — meaning your "public" IP at the router level still isn't truly unique on the internet
Each of those factors can change what address your device shows, what's visible to external services, and what kind of access or configuration options you have available to you.