What Is an IP Address? Meaning, Types and Examples
An IP address is the number that identifies a device or network on the internet, so data knows where to go and where it came from. The letters stand for Internet Protocol. It works like the address on an envelope: a website sends the page you asked for to your IP address, and routers along the way read it to pass the data in the right direction. You can see yours on our IP checker.
In brief:
- IP stands for Internet Protocol, the rules that carry data across networks in addressed packets.
- An IPv4 address is 32 bits written as four numbers from 0 to 255, such as 192.168.1.10. An IPv6 address is 128 bits written in hexadecimal, such as 2001:db8::1.
- Every address has a network part and a device part. The prefix length, such as /24, says where one ends and the other begins.
- With IPv4, your router usually shares one public address among all the devices at home, and each device has a private one.
IP address meaning
An IP address is a numeric label for a network connection. Every packet of data on the internet carries two of them: the address it came from and the address it is going to. RFC 791, the 1981 specification of the Internet Protocol, describes the job as carrying blocks of data called datagrams from sources to destinations identified by fixed-length addresses. Names such as example.com are for people; the DNS turns them into IP addresses for computers.
The address belongs to a connection, not to the device for life. A laptop gets one address on your home Wi-Fi and a different one at a café, and its hardware identifier is a separate thing called a MAC address.
What does IP stand for?
IP stands for Internet Protocol, the set of rules that splits data into packets and addresses each one so it can cross many networks. RFC 1122 calls it a connectionless datagram service with no end-to-end delivery guarantee: IP moves each packet toward its address, and the layers above it handle reliable delivery when it is required. TCP is the transport that adds that reliability, and the two names together, TCP/IP, are often used for the whole family of protocols. IPv4 was specified in RFC 791 in September 1981. IPv6 is defined by RFC 8200, published in July 2017, which replaced the earlier RFC 2460.
What does an IP address look like?
| Version | Example | Size | Possible addresses |
|---|---|---|---|
| IPv4 | 203.0.113.42 | 32 bits, four numbers from 0 to 255 | About 4.3 billion |
| IPv6 | 2001:db8:85a3::8a2e:370:7334 | 128 bits, eight groups of hexadecimal | 2 to the power 128 |
An IPv4 address is four bytes. Each byte holds 8 bits, which is 256 possible values, so each of the four numbers runs from 0 to 255 and something like 192.168.1.300 is not a valid address. An IPv6 address is eight groups of 16 bits, each written as up to four hexadecimal digits. RFC 4291 lets you drop leading zeros in a group and replace one run of all-zero groups with a double colon, so 2001:0db8:0000:0000:0000:0000:0000:0001 and 2001:db8::1 are the same address.
Both versions do the same job, and a device can have one of each at the same time. Read what IPv6 is or the side-by-side IPv4 vs IPv6 comparison.
How to read an IP address: network part and device part
An IP address has two parts. The first bits name the network, and the rest name one device on that network. Routers on the internet only look at the network part to decide where to send a packet; the last router uses the device part to deliver it.
The prefix length is the number after the slash, and it counts how many bits belong to the network. RFC 4632, which describes this notation, gives 192.168.99.0/24 as an example in which the most significant 24 bits are ones in the mask and the last 8 are zeros. A subnet mask is the same split written like an address, so /24 becomes 255.255.255.0. For a home network like 192.168.1.0/24:
| Piece | Value | What it means |
|---|---|---|
| Address | 192.168.1.10/24 | One device on the network |
| Network part | 192.168.1 | The first 24 bits, shared by every device at home |
| Device part | .10 | The last 8 bits, unique to this device |
| Subnet mask | 255.255.255.0 | The same /24 split written as an address |
| Usable addresses | 254 | 8 bits give 256 values; the all-zeros and all-ones values are reserved |
RFC 1122 does not allow a device part of all zeros or all ones on an ordinary device, and uses all ones for broadcast, which is why a /24 holds 254 devices rather than 256. Our subnet calculator does this arithmetic for any prefix, and CIDR and subnet masks explained goes through the bit maths.
How does an IP address work?
When you open a website, four things happen with addresses:
- Your device asks a DNS server for the site's IP address.
- It sends a packet with the site's address as the destination and its own address as the source.
- Your router swaps the private source address for its public one (this is NAT), and routers across the internet pass the packet along by its network part.
- The site replies to the public address, and your router hands the reply back to the device that asked.
You can watch the first step yourself. On 3 November 2026 I ran dig +short example.com and then dig +short example.com AAAA from a Mac. The first returned two IPv4 addresses, 172.66.147.243 and 104.20.23.154, and the second returned one IPv6 address, 2606:4700:8395:72db:f20c:0:ef6b:ff98. The output looked like this:
$ dig +short example.com
172.66.147.243
104.20.23.154
$ dig +short example.com AAAA
2606:4700:8395:72db:f20c:0:ef6b:ff98One name can point at several addresses, and the answer can change over time. Our DNS lookup shows the same records in a browser.
Types of IP addresses
The first numbers of an address tell you what kind it is. These ranges are set aside in the IANA special-purpose registries and the RFCs listed for each:
| Starts with | Type | Where you see it |
|---|---|---|
| 10., 172.16. to 172.31., 192.168. | Private (RFC 1918) | Devices on a home or office network |
| 100.64. to 100.127. | Shared address space (RFC 6598) | Your router's outside address under carrier-grade NAT |
| 169.254. | Link-local (RFC 3927) | A device that could not get an address from the router |
| 127. | Loopback (RFC 1122) | The device talking to itself, usually 127.0.0.1 |
| 192.0.2., 198.51.100., 203.0.113. | Documentation (RFC 5737) | Examples in guides like this one |
| fe80: | IPv6 link-local (RFC 4291) | IPv6 on the local link only; routers must not forward it |
| fc or fd | IPv6 unique local (RFC 4193) | The IPv6 counterpart of a private address |
| ::1 | IPv6 loopback (RFC 4291) | The device talking to itself over IPv6 |
| 2001:db8: | IPv6 documentation (RFC 3849) | Examples only |
| Most other unicast addresses | Public | Addresses that are reachable on the internet |
- Public and private. Your router has one public address that the internet sees, and gives each device inside a private address. RFC 1918 says packets with private source or destination addresses should not be forwarded between organizations, and the IANA special-purpose registry marks these ranges as not globally reachable. See public vs private IP addresses.
- Dynamic and static. Most home connections get a dynamic address that can change; businesses often pay for a static one. See static vs dynamic IP addresses.
Example: one Mac's public, private and link-local addresses
To show how these pieces fit, I checked one real connection. Test setup: a Mac running macOS 26.7.1 on a wired network, 3 November 2026, using the built-in Terminal commands below. I have hidden the exact numbers, because a public address points to a provider and an area.
curl -4 https://ipcomet.com/api/ipreturned the public IPv4 address, which sits outside every private and special range in the table above. This is the address websites see.ifconfig en6showed a private address starting 172.20, inside the RFC 1918 block 172.16.0.0/12, with netmask 0xfffffc00. That is 255.255.252.0, or /22: 22 bits for the network and 10 for devices, so 1,024 values and 1,022 usable addresses.route -n get defaultshowed the gateway, the router's own private address, also starting 172.20.- The only IPv6 address on the interface started with fe80, the link-local range. This network had no public IPv6, so traffic left over IPv4 only.
So three addresses were in play: the router's public address, which the Mac shared with everything behind it, the Mac's private address on the local network, and a link-local IPv6 address that stays on the local network. To read your own the same way, see how to get your public IP from the command line.
Who assigns IP addresses?
Addresses are handed down in blocks. IANA (the Internet Assigned Numbers Authority) allocates pools of addresses to five regional internet registries:
- AFRINIC: Africa
- APNIC: Asia Pacific
- ARIN: the United States, Canada and many Caribbean and North Atlantic islands
- LACNIC: Latin America and the Caribbean
- RIPE NCC: Europe, the Middle East and parts of Central Asia
On 3 February 2011 IANA gave out its last five IPv4 blocks of the /8 size, one to each registry, and ARIN announced that the central free pool was fully depleted. In April 2012 RFC 6598 set aside 100.64.0.0/10 for carrier-grade NAT, which lets a provider share one public IPv4 address between many customers. IPv6 avoids the shortage with its far larger pool. The registries assign blocks to internet providers and large organizations, and your provider gives your router its public address, usually automatically. Our ASN lookup shows which network announces any address.
What does your IP address reveal?
A public IP address usually reveals your internet provider, your country and often your city or region. It does not reveal your name, your street address or what you do online. Linking an address to a person needs your provider's subscriber records, which websites do not have. Our IP lookup shows exactly what anyone can see for an address, and can someone track you by your IP address? goes further.
How to find your IP address
Your public address is at the top of our home page, with your IPv6 address underneath if you have one. Our guide to what each line of your IP result means explains the location, ISP and network details shown with it. To find the private address of a device:
- Windows: open Command Prompt and run
ipconfig. Microsoft's reference says that without options it shows the IPv4 and IPv6 addresses, subnet mask and default gateway of every adapter. - Mac: run
ipconfig getifaddr en0in Terminal. en0 is often Wi-Fi; on the wired Mac above the right name was en6, whichifconfiglists. - Linux: run
ip address show, the iproute2 command for looking at protocol addresses.
Phone steps differ by model and system version. For iPhone, Android and every other device, see how to find your IP address.
Frequently asked questions
What is an IP address in simple words?
It is your internet connection's address. Websites use it to send data back to you, the same way a letter needs a return address.
Is 192.168.1.1 an IP address?
Yes. It is a private IPv4 address from the 192.168.0.0/16 block, and many home routers use it for themselves. It only works inside your own network; see how to find your router's IP address.
Can two devices have the same IP address?
Two devices on different home networks can have the same private address, such as 192.168.1.10, because private addresses only matter inside each network. On the same network, two devices should never share an address; that is called an address conflict. On the internet, all the devices behind one router share its single public address.
Does my IP address change?
Often, yes. Most home connections have a dynamic address that the provider can change, and your address also changes when you switch networks. You can also change it yourself.
Is my IP address the same on my phone and computer?
On the same Wi-Fi they share your router's public IPv4 address. If your network has IPv6, each device usually has its own IPv6 address. On mobile data, your phone uses the carrier's address instead.
Sources and further reading
- RFC 791: Internet Protocol (IETF, September 1981)
- RFC 1122: Requirements for Internet Hosts, Communication Layers (IETF)
- RFC 8200: Internet Protocol, Version 6 (IPv6) Specification (IETF)
- RFC 4291: IP Version 6 Addressing Architecture (IETF)
- RFC 4632: Classless Inter-domain Routing (CIDR) (IETF)
- RFC 1918: Address Allocation for Private Internets (IETF)
- RFC 6598: IANA-Reserved IPv4 Prefix for Shared Address Space (IETF)
- RFC 3927: Dynamic Configuration of IPv4 Link-Local Addresses (IETF)
- RFC 5737: IPv4 Address Blocks Reserved for Documentation (IETF)
- RFC 4193: Unique Local IPv6 Unicast Addresses (IETF)
- RFC 3849: IPv6 Address Prefix Reserved for Documentation (IETF)
- IANA IPv4 Special-Purpose Address Registry
- IANA IPv6 Special-Purpose Address Registry
- Number Resource Organization: the five regional internet registries
- ARIN: IANA IPv4 free pool depleted (3 February 2011)
- Microsoft Learn: ipconfig
- ip-address(8) manual page (iproute2)
Try it yourself
See the real numbers for your own connection with our free tools.