An IP address looks like a digital home address for a device. It may look like 192.168.1.1 if it is IPv4. Or it may look like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 if it is IPv6. Same job. Very different outfits.
TLDR: IPv4 uses four number blocks, like 192.168.0.1. IPv6 uses eight groups of letters and numbers, like 2001:db8::1. IPv4 has about 4.3 billion possible addresses, which sounds huge until every phone, laptop, camera, fridge, and game console wants one. In a small home with 12 connected devices, your router may use IPv4 inside the house and IPv6 for the wider internet.
What Is an IP Address?
An IP address is a label for a device on a network.
Think of it like a house number. Your laptop needs one. Your phone needs one. Your smart TV needs one too. Even that printer you forgot existed may have one.
The internet uses IP addresses to send data to the right place. When you open a website, your device says, “Send the page back here.” The IP address tells the internet where “here” is.
There are two main formats:
- IPv4: the older, shorter format
- IPv6: the newer, longer format
Honestly, it feels like IPv6 was built after someone looked at the internet and said, “Well, we ran out of numbers. That was awkward.”
What Does an IPv4 Address Look Like?
An IPv4 address is the one most people recognize.
It looks like this:
192.168.1.1
Or this:
8.8.8.8
Or this:
172.16.254.1
IPv4 has four parts. Each part is a number from 0 to 255. The parts are split by dots.
So the pattern is:
number.number.number.number
Simple enough.
IPv4 Rules
- It has four number groups.
- Each group is called an octet.
- Each octet can be from 0 to 255.
- Dots split the groups.
- No letters are used.
Here are valid IPv4 addresses:
- 10.0.0.1
- 192.168.0.100
- 203.0.113.45
Here are bad ones:
- 300.1.1.1 because 300 is too high
- 192.168.1 because one part is missing
- 192.168.one.1 because letters do not belong here
The most common IPv4 address many people see is 192.168.1.1. That is often the address for a home router. You may type it into a browser to change Wi Fi settings. Then you spend 40 seconds hunting for the router password on a sticker. Classic.
What Does an IPv6 Address Look Like?
An IPv6 address looks longer. Much longer.
It looks like this:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
That is not a typo. IPv6 uses letters and numbers. It also uses colons instead of dots.
The pattern is:
group:group:group:group:group:group:group:group
There are eight groups. Each group has up to four hexadecimal characters.
Hexadecimal is just a base 16 number system. It uses:
- Numbers: 0 to 9
- Letters: a to f
That means b, c, and f are fine in IPv6. But z is not.
IPv6 Can Be Shortened
IPv6 addresses can look scary. So there are shortcuts.
This full address:
2001:0db8:0000:0000:0000:0000:0000:0001
Can become:
2001:db8::1
The double colon :: replaces groups of zeros.
But there is a catch. You can use :: only once in an IPv6 address. If you used it twice, nobody would know how many zero groups belong in each spot. Computers hate guessing. Fair enough.
Leading zeros can also be removed. So 0db8 becomes db8. And 0001 becomes 1.
IPv4 vs IPv6 at a Glance
| Feature | IPv4 | IPv6 |
|---|---|---|
| Example | 192.168.1.1 | 2001:db8::1 |
| Separator | Dots | Colons |
| Groups | 4 | 8 |
| Characters | Numbers only | Numbers and a to f |
| Address space | About 4.3 billion | About 340 undecillion |
Yes, 340 undecillion is a real number. It is 340 followed by 36 zeros. That is enough for a silly number of devices. Your toaster is safe.
Why Do We Need IPv6?
IPv4 was built when the internet was smaller. Much smaller.
Back then, 4.3 billion addresses seemed like plenty. Then came smartphones. Then tablets. Then smart watches. Then doorbells with cameras. Then light bulbs that want software updates at 2 a.m.
We needed more addresses.
IPv6 fixes that. It gives the internet a giant pool of addresses. It also helps with routing and newer network features.
Still, IPv4 has not vanished. Not even close. Many networks use both. This is called dual stack. Your phone may have an IPv4 address and an IPv6 address at the same time.
Private IP vs Public IP
Here is where people often get annoyed.
Your device may have one IP address at home. But websites may see a different one.
That is because there are private and public IP addresses.
- Private IP: Used inside your home or office network.
- Public IP: Used on the wider internet.
For example, your laptop may have:
192.168.1.23
That is a private IPv4 address. Your router may then use one public address to talk to the internet.
Common private IPv4 ranges include:
- 10.0.0.0 to 10.255.255.255
- 172.16.0.0 to 172.31.255.255
- 192.168.0.0 to 192.168.255.255
If you see one of those, it is probably local. It belongs inside a network, not out in the open internet.
How to Spot the Format Fast
Need the quick trick?
- If it has dots, it is probably IPv4.
- If it has colons, it is probably IPv6.
- If it has only four number groups, think IPv4.
- If it has letters a to f, think IPv6.
- If you see ::, it is IPv6 with shortened zeros.
Here are quick examples:
- 127.0.0.1 is IPv4.
- ::1 is IPv6.
- 8.8.4.4 is IPv4.
- 2606:4700:4700::1111 is IPv6.
127.0.0.1 and ::1 both mean “this device.” They are loopback addresses. In plain English, the computer is talking to itself. Weird, but useful.
Can an IP Address Show Your Exact Location?
Not usually.
An IP address can often show a rough area. It may show your city or region. It can show your internet provider. But it does not usually reveal your home address.
Location accuracy varies a lot. In some cases, it may be close. In others, it may be off by many miles. Mobile networks can be even messier.
So yes, an IP address says something. But it is not a magic tracking pin.
The Simple Way to Remember It
IPv4 is the short one with dots.
192.168.1.1
IPv6 is the long one with colons.
2001:db8::1
That is the main idea.
If you are checking router settings, game servers, website logs, or security alerts, look at the separators first. Dots point to IPv4. Colons point to IPv6. Once you see that pattern, IP addresses stop looking like random keyboard soup.
Bottom line: an IP address is just a device address. IPv4 writes it with four dotted numbers. IPv6 writes it with colon separated groups of hexadecimal characters. One is compact. One is huge. Both help data find the right screen, speaker, server, or suspiciously chatty smart fridge.