What Is an IP Address? A Complete Beginner's Guide

IP Address & Networking6 min read
Illustration of a laptop connected to a network node labeled with an example IP address

Every time you open a website, send a message or stream a video, data travels between your device and another computer somewhere on the internet. For that to work, both ends need an address. That address is an IP address, short for Internet Protocol address. This guide explains what it is, how it works, and what it does and does not say about you.

What an IP address actually is

An IP address is a number assigned to a device, or more precisely to a network interface, so that other devices can find it and send data to it. The Internet Protocol defines how information is cut into small packets, labeled with a source and a destination address, and forwarded from network to network until it arrives.

A postal address is a useful comparison. The street address lets a courier deliver a parcel to the right building, and the IP address lets routers deliver a packet to the right network connection. One nuance matters, though: an IP address identifies a connection, not a person. A laptop with both Wi-Fi and an Ethernet port has two interfaces and can hold two addresses at the same time, while a whole household may appear to the outside world under a single address.

What IP addresses look like

There are two versions in use today. IPv4 addresses consist of four numbers between 0 and 255 separated by dots, for example 203.0.113.42. They are 32 bits long, which allows about 4.3 billion unique values. IPv6 addresses are 128 bits long and written as eight groups of hexadecimal digits separated by colons, for example 2001:db8:85a3::8a2e:370:7334. A double colon stands for one or more groups of zeros, which keeps long addresses shorter.

The examples above come from ranges reserved for documentation, so they never belong to a real device. IPv6 exists because the world ran out of spare IPv4 blocks; our comparison IPv4 vs IPv6 covers the differences in depth.

How a device gets its address

Most devices do not have an address typed in by hand. When your phone joins a Wi-Fi network, it asks the router for one using DHCP (Dynamic Host Configuration Protocol). The router picks a free address from its pool, hands it out together with other settings such as the gateway and DNS servers, and "leases" it for a limited time. When the lease runs out, the device renews it or receives a different one.

The router itself receives a public address from your internet service provider, usually through the same DHCP mechanism or through a login-based protocol. The details are covered in How Does Your ISP Assign IP Addresses?, and the difference between addresses that change and addresses that stay fixed is explained in Dynamic vs Static IP.

Public and private addresses

Not every address can be reached from the internet. Three blocks are reserved for private networks: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Your home devices almost certainly use one of them, such as 192.168.1.23. These addresses are only meaningful inside your local network, and thousands of other homes use the very same numbers.

To reach the internet, the router replaces the private address with its own public address through a technique called NAT. That is why a phone and a laptop in the same room show different local addresses but the same public one. Two companion articles dig deeper: Public IP vs Private IP and What Is NAT?

What your IP address reveals

A website that sees your public IP address can usually work out the country, often the region or city, and the name of your internet provider. It can also tell whether the address belongs to a residential provider, a mobile network, a company or a data center, which is how many services spot VPN and server traffic.

It cannot see your name, your home address, your browsing history or the files on your device. Only your provider can link an address, at a given moment, to a customer account, and it normally discloses that only under legal process. Location data is also far less precise than most people assume, as explained in What Is IP Geolocation and How Accurate Is It?

How to find your IP address

Your public address is what the internet sees. The tool on the stor10 home page shows it together with your provider and an approximate map position. Your private address is local to your network. On Windows, open Command Prompt and run ipconfig. On macOS or Linux, use ifconfig or ip addr in a terminal. On a phone, open the details of the connected Wi-Fi network in the settings.

Common misconceptions

  • "An IP address is my exact location." It is not. It points to a network, and the location data attached to it is an estimate.
  • "Every device has its own public address." In most homes, all devices share one public IPv4 address.
  • "If someone knows my IP, I will be hacked." An address alone is not a key. Risk comes from open services and weak passwords, discussed in Can Someone Hack You Using Your IP Address?
  • "Hiding my IP makes me anonymous." It changes what websites see, but accounts, cookies and device fingerprints can still identify you.

Conclusion

An IP address is the addressing system that makes the internet work: a number that tells routers where to send data. It comes in two versions, is usually assigned automatically, and exists in public and private forms. It reveals your network and rough region, but not who you are. Understanding these basics makes every other networking topic, from VPNs to DNS, much easier to follow.

Frequently asked questions

Can two devices have the same IP address?

Not on the same network, because that causes a conflict. Different private networks can reuse the same private numbers, and a public address is unique across the internet at any given moment.

Does my IP address change?

Often yes. Most home connections use dynamic addresses that can change when the router restarts or a lease expires.