An IP address is a unique number that identifies a device on a network. It tells data where to go and where it came from.
Think of it as a postal address for your phone or laptop. Cloudflare uses the same idea: you must give a pizzeria your address, or dinner never arrives.
This guide draws on the IETF, the Number Resource Organization, the UK's Information Commissioner's Office and Cloudflare. Each fact links to its source, so you can check our homework.
Key takeaways
- An IP address identifies a device so networks can deliver data to it.
- IPv4 uses 32 bits; IPv6 uses 128 bits.
- Private addresses work inside your home; public addresses face the internet.
- In UK data protection law, an IP address may count as personal data.
What does an IP address look like?
An IP address comes in two formats. IPv4 is the older one, and IPv6 is its successor.
Cloudflare gives 192.0.2.1 as an IPv4 example. It has four numbers separated by dots, and each number is called an octet.
IPv4 vs IPv6: what is the difference?
The main difference is size. IPv4 allows about 4.3 billion addresses, which Cloudflare says is not enough for today's devices.
IPv6 fixes that with 128-bit addresses. The total is a 39-digit number, so we will not run out soon.
| Feature | IPv4 | IPv6 |
|---|---|---|
| Length | 32 bits | 128 bits |
| Format | Numbers and dots | Hex numbers and colons |
| Example | 192.0.2.1 | 2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
| Total addresses | About 4.3 billion | 2128 |
| Implemented | 1983 | Successor to IPv4 |
Source: Cloudflare Learning Center.
Public vs private IP addresses
Your router has a public address that websites see. Your devices get private addresses that stay inside your home.
The IETF's RFC 1918 reserves three IPv4 blocks for private use. RIPE notes that packets from these addresses should never appear on the internet.
| Range | Prefix | Addresses |
|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10/8 | 16,777,216 |
| 172.16.0.0 – 172.31.255.255 | 172.16/12 | 1,048,576 |
| 192.168.0.0 – 192.168.255.255 | 192.168/16 | 65,536 |
Source: RFC 1918. Address counts follow from the prefix lengths.
Most home routers hand out addresses starting with 192.168. Now you know why every router login page looks suspiciously similar.
Static vs dynamic IP addresses
Most homes use dynamic addresses. Your internet provider lends you one from a shared pool, as Cloudflare explains.
| Type | How it works | Typical user |
|---|---|---|
| Dynamic | Temporary address from an ISP pool | Most home users |
| Static | Fixed address that does not change | Large enterprises |
Self-hosting is where this matters. A changing address can make DNS queries fail and take your server offline.
Why did IPv4 addresses run out?
Four billion sounded huge in 1983. Then phones, laptops, TVs and kettles joined the party.
- 1983: IPv4 is implemented (Cloudflare).
- 3 February 2011: the global free pool of IPv4 addresses is depleted (NRO).
- 28 March 2026: native IPv6 carries 50.10% of users reaching Google, a first (Internet Society).
That last figure is a single-day milestone. Expect it to wobble, and expect IPv4 to stick around for years.
Are IP addresses personal data in the UK?
They can be. The ICO lists online identifiers in its definition of personal data, and IP addresses are an example.
Privacy International adds that an IP address can be linked to a real person, especially with ISP records. An address alone does not show your street, but it is not harmless either.
If you run a website, these are sensible habits (this is general guidance, not legal advice):
- Say in your privacy notice if you log visitor IP addresses.
- Collect only what you genuinely need.
- Check the ICO's guidance before storing IP data long term.
Common IP address mistakes
- Assuming every 172.x address is private. Only 172.16.0.0 to 172.31.255.255 is reserved.
- Confusing router and device addresses. The router shows one public address; your devices each have a private one.
- Believing an IP gives a street address. Identifying a person normally needs extra records.
- Expecting a dynamic address to stay put. Your provider can change it.
How to check your IP address
- Open your device's network settings to see its private address.
- Look for a number starting with 192.168, 10 or 172.16 to 172.31.
- Use a "what is my IP" tool to see the public address your router shows the web. Cloudflare has a helpful explainer on what you will find.
Keep learning
IP addresses sit behind many everyday tools. These guides from our technology section show them in action:
- How to Implement a WiFi Time Clock System Without Ongoing Costs
- How to Scan a QR Code Online Without Downloading an App (UK Guide)
Frequently asked questions
What is an IP address in simple words?
It is a unique number that identifies a device on a network. Data uses it to find where to go.
Is IPv6 replacing IPv4?
Slowly. Both run side by side today, and IPv6 passed 50% of Google users on 28 March 2026.
Can an IP address reveal my exact location?
Not on its own. Linking it to a person usually needs records held by your internet provider.
Is an IP address personal data in the UK?
It can be. The ICO names IP addresses as online identifiers that may be personal data.
An IP address is a unique number that identifies a device on a network. It tells data where to go and where it came from.
Think of it as a postal address for your phone or laptop. Cloudflare uses the same idea: you must give a pizzeria your address, or dinner never arrives.
This guide draws on the IETF, the Number Resource Organization, the UK's Information Commissioner's Office and Cloudflare. Each fact links to its source, so you can check our homework.
Key takeaways
- An IP address identifies a device so networks can deliver data to it.
- IPv4 uses 32 bits; IPv6 uses 128 bits.
- Private addresses work inside your home; public addresses face the internet.
- In UK data protection law, an IP address may count as personal data.
What does an IP address look like?
An IP address comes in two formats. IPv4 is the older one, and IPv6 is its successor.
Cloudflare gives 192.0.2.1 as an IPv4 example. It has four numbers separated by dots, and each number is called an octet.
IPv4 vs IPv6: what is the difference?
The main difference is size. IPv4 allows about 4.3 billion addresses, which Cloudflare says is not enough for today's devices.
IPv6 fixes that with 128-bit addresses. The total is a 39-digit number, so we will not run out soon.
| Feature | IPv4 | IPv6 |
|---|---|---|
| Length | 32 bits | 128 bits |
| Format | Numbers and dots | Hex numbers and colons |
| Example | 192.0.2.1 | 2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
| Total addresses | About 4.3 billion | 2128 |
| Implemented | 1983 | Successor to IPv4 |
Source: Cloudflare Learning Center.
Public vs private IP addresses
Your router has a public address that websites see. Your devices get private addresses that stay inside your home.
The IETF's RFC 1918 reserves three IPv4 blocks for private use. RIPE notes that packets from these addresses should never appear on the internet.
| Range | Prefix | Addresses |
|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10/8 | 16,777,216 |
| 172.16.0.0 – 172.31.255.255 | 172.16/12 | 1,048,576 |
| 192.168.0.0 – 192.168.255.255 | 192.168/16 | 65,536 |
Source: RFC 1918. Address counts follow from the prefix lengths.
Most home routers hand out addresses starting with 192.168. Now you know why every router login page looks suspiciously similar.
Static vs dynamic IP addresses
Most homes use dynamic addresses. Your internet provider lends you one from a shared pool, as Cloudflare explains.
| Type | How it works | Typical user |
|---|---|---|
| Dynamic | Temporary address from an ISP pool | Most home users |
| Static | Fixed address that does not change | Large enterprises |
Self-hosting is where this matters. A changing address can make DNS queries fail and take your server offline.
Why did IPv4 addresses run out?
Four billion sounded huge in 1983. Then phones, laptops, TVs and kettles joined the party.
- 1983: IPv4 is implemented (Cloudflare).
- 3 February 2011: the global free pool of IPv4 addresses is depleted (NRO).
- 28 March 2026: native IPv6 carries 50.10% of users reaching Google, a first (Internet Society).
That last figure is a single-day milestone. Expect it to wobble, and expect IPv4 to stick around for years.
Are IP addresses personal data in the UK?
They can be. The ICO lists online identifiers in its definition of personal data, and IP addresses are an example.
Privacy International adds that an IP address can be linked to a real person, especially with ISP records. An address alone does not show your street, but it is not harmless either.
If you run a website, these are sensible habits (this is general guidance, not legal advice):
- Say in your privacy notice if you log visitor IP addresses.
- Collect only what you genuinely need.
- Check the ICO's guidance before storing IP data long term.
Common IP address mistakes
- Assuming every 172.x address is private. Only 172.16.0.0 to 172.31.255.255 is reserved.
- Confusing router and device addresses. The router shows one public address; your devices each have a private one.
- Believing an IP gives a street address. Identifying a person normally needs extra records.
- Expecting a dynamic address to stay put. Your provider can change it.
How to check your IP address
- Open your device's network settings to see its private address.
- Look for a number starting with 192.168, 10 or 172.16 to 172.31.
- Use a "what is my IP" tool to see the public address your router shows the web. Cloudflare has a helpful explainer on what you will find.
Keep learning
IP addresses sit behind many everyday tools. These guides from our technology section show them in action:
- How to Implement a WiFi Time Clock System Without Ongoing Costs
- How to Scan a QR Code Online Without Downloading an App (UK Guide)
Frequently asked questions
What is an IP address in simple words?
It is a unique number that identifies a device on a network. Data uses it to find where to go.
Is IPv6 replacing IPv4?
Slowly. Both run side by side today, and IPv6 passed 50% of Google users on 28 March 2026.
Can an IP address reveal my exact location?
Not on its own. Linking it to a person usually needs records held by your internet provider.
Is an IP address personal data in the UK?
It can be. The ICO names IP addresses as online identifiers that may be personal data.