IPv4 is the address system that lets your device find and talk to other devices on the internet
Internet Protocol Version 4, or IPv4, is the set of rules that assigns a unique address to every device connected to the internet — your phone, laptop, router, and the servers that host websites. Think of it like a postal address: without one, data packets have nowhere to go. IPv4 addresses look like four numbers separated by dots, such as 192.168.1.1 or 8.8.8.8. Each number can range from 0 to 255, which means IPv4 can create about 4.3 billion unique addresses.
IPv4 has been the backbone of the internet since the 1980s. It was designed when the internet was much smaller, and nobody expected we would run out of addresses. Today, we have far more devices than IPv4 addresses available — smartphones, smart home devices, servers, and more all need their own address. This shortage is why a newer system called IPv6 exists, but IPv4 still handles the vast majority of internet traffic because it is deeply embedded in how networks work.
Key Takeaways
- IPv4 addresses are four numbers separated by dots (like 192.168.1.1), and each device on the internet needs one to send and receive data.
- Your device gets an IPv4 address from your internet service provider or from your home router, and this address can change over time.
- IPv4 has a limit of about 4.3 billion addresses, which is why IPv6 was created, but most internet traffic still uses IPv4 today.
- Your public IPv4 address is visible to websites you visit, while your private IPv4 address is only used within your home network.
How IPv4 addresses are assigned to your devices
When you connect to the internet, your device does not automatically know its address. Instead, your internet service provider (ISP) assigns a public IPv4 address to your home router. Your router then assigns private IPv4 addresses to each device in your home — your phone, laptop, smart TV, and so on. This private address only works within your home network; it cannot be used on the public internet.
Your router handles the translation between these two types of addresses. When you visit a website, your device sends data using its private address, but your router rewrites that data to use your public address before sending it out to the internet. When the website responds, your router translates it back to your private address so your device knows the data is meant for it. This translation process is called Network Address Translation, or NAT.
Your public IPv4 address usually changes every time you restart your router or after a set period of time — typically days or weeks, depending on your ISP. Some ISPs offer static addresses (ones that do not change) for an extra fee, but most home users have dynamic addresses that shift regularly. This is one reason why your IP address alone cannot reliably identify you over long periods.
What happens when an IPv4 address runs out
The internet ran out of available IPv4 addresses to assign to new ISPs and organizations around 2011. This does not mean the internet stopped working — it means new devices cannot get brand-new public IPv4 addresses from the pool. Instead, ISPs reuse addresses through techniques like NAT, or they buy addresses from organizations that no longer need them. Some ISPs have also begun transitioning customers to IPv6, the newer system that has vastly more addresses available.
For everyday users, the address shortage is mostly invisible. Your ISP finds a way to give you internet access, whether through a recycled address or through IPv6. However, the shortage does create technical complexity behind the scenes and is one reason why the internet industry has been slowly migrating to IPv6 for the past decade.
The difference between public and private IPv4 addresses
Your public IPv4 address is the one websites see when you visit them. It is assigned by your ISP and is unique across the entire internet. Websites, apps, and online services can log this address and use it to identify your approximate location (usually your city or region, not your exact street address) or to block access from certain regions. This is the address you see when you search "what is my IP" in a search engine.
Your private IPv4 address is assigned by your router and only works within your home network. Other devices on your home network can reach each other using private addresses, but these addresses are not routable on the public internet. Private addresses always fall into specific ranges: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, or 192.168.0.0 to 192.168.255.255. If you look at your router's settings, you will see your device's private address in one of these ranges.
This split between public and private addresses is a security feature. Your home devices do not expose their private addresses to the internet, so external attackers cannot directly target them using those addresses. Your router acts as a barrier, only allowing inbound traffic that matches an outbound request your device made.
IPv4 versus IPv6: why both exist
IPv6 was created because IPv4 addresses were running out. IPv6 uses a different format — long strings of hexadecimal characters like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 — and can create roughly 340 undecillion unique addresses. That is far more than we will ever need. However, IPv6 requires changes to how networks are built, and switching over takes time.
Today, most of the internet still uses IPv4, even though IPv6 has been available since 1998. Your ISP may support IPv6, your router may support it, and major websites like Google and Facebook have IPv6 versions. But many smaller websites, corporate networks, and older devices do not yet support it. This means IPv4 will likely remain in use for many years, even as IPv6 gradually becomes more common.
What your IPv4 address reveals about you
Your public IPv4 address is not a secret — it is visible to every website you visit, every app you use, and every online service you connect to. However, it reveals less than many people think. An IP address can show your approximate geographic location (usually accurate to your city or region, sometimes to your neighborhood, but rarely to your exact address), and it can show which ISP you use. It cannot show your name, your browsing history, or your identity without additional information.
Websites often log IP addresses for legitimate reasons: to detect fraud, to understand traffic patterns, or to comply with legal requirements. However, your ISP knows far more — they can see which websites you visit, when you visit them, and how much data you use. This is why privacy advocates recommend using a VPN (Virtual Private Network) if you want to hide your public IP address from websites, though a VPN does not hide your activity from your ISP unless your ISP is also your VPN provider.
Frequently Asked Questions
Can someone find my home address from my IPv4 address?
No. An IP address shows your approximate city or region, not your street address. Your ISP knows your billing address, but websites and apps that see your IP address cannot access that information. However, if you post your address online elsewhere, someone could connect that to your IP address through other means.
Why does my IPv4 address change sometimes?
Most home users have dynamic IPv4 addresses assigned by their ISP. Your address changes when you restart your router, when your ISP's lease period expires (usually every few days to weeks), or when you move to a different location. You can request a static address from your ISP, though this usually costs extra and is more common for businesses.
Is IPv4 being replaced by IPv6?
IPv6 is gradually replacing IPv4, but the transition is slow. Most internet traffic still uses IPv4, and many devices and networks do not yet support IPv6. Both systems will likely coexist for many more years. Your ISP may already offer IPv6, but you may not notice because your devices and apps work with both.
Do I need to do anything about IPv4 running out of addresses?
No. Your ISP handles the technical details of address management. You will not lose internet access because of the IPv4 shortage. Your ISP will continue to provide you with an address through various technical solutions, whether that is reusing addresses, transitioning to IPv6, or both.