An IP address has four groups of numbers separated by dots, with each group containing up to three digits
An IP address is a set of four numbers, each between 0 and 255, written like this: 192.168.1.1. Each number is called an octet because it represents eight binary digits (bits) — but you do not need to think in binary. What matters is that you have four separate numbers, and each one can be anywhere from 0 to 255.
The total number of digits you see depends on the numbers themselves. If your address is 8.8.8.8, you see four single digits. If it is 255.255.255.255, you see twelve digits. Most home networks use addresses in the 192.168 range, which gives you addresses like 192.168.0.50 — that is eleven digits total, but the structure is always the same: four numbers, each up to three digits long, separated by periods.
This format is called IPv4, and it has been the standard for decades. There is a newer format called IPv6 that uses much longer addresses with letters and colons, but IPv4 is what you will see on most home routers, printers, and computers right now.
Key Takeaways
- An IPv4 address always has four numbers separated by dots, with each number ranging from 0 to 255.
- The total digit count varies depending on the size of each number — anywhere from 4 digits (like 1.1.1.1) to 12 digits (like 255.255.255.255).
- Each number represents eight binary digits, which is why it is called an octet, but you only need to understand the decimal numbers you see.
- IPv6 addresses are longer and use letters and colons instead of just numbers and dots, but most home devices still use IPv4.
Why IP addresses are divided into four parts
The four numbers in an IP address serve different purposes. The first one or two numbers identify the network — the group of devices that are connected together. The remaining numbers identify your specific device on that network. This split lets routers quickly figure out whether a message is meant for someone on your local network or someone far away on the internet.
On a home network, you might have 192.168.1.1 for your router and 192.168.1.50 for your computer. Both start with 192.168.1, which means they are on the same local network. A device with address 10.0.0.5 would be on a different network entirely. This structure is why IP addresses are not random — they follow rules that make routing possible.
The difference between IPv4 and IPv6 addresses
IPv4 addresses like 192.168.1.1 can only create about 4.3 billion unique addresses. That seemed like plenty in the 1980s, but the internet has grown far beyond that. IPv6 was created to solve this problem by using a much longer format: something like 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
IPv6 addresses use hexadecimal notation, which means they include letters (a through f) in addition to numbers. They are separated by colons instead of dots, and they are much longer — typically 32 to 39 characters instead of 7 to 15. However, most home networks and devices still use IPv4. Your internet service provider may assign you an IPv6 address, but your router likely still uses IPv4 for devices on your home network.
You do not need to choose between them. Modern devices and networks support both at the same time. Your computer might have both an IPv4 address (like 192.168.1.50) and an IPv6 address (like fe80::1) simultaneously, and it will use whichever one is appropriate for the connection it is making.
Where to find your device's IP address
On Windows, open Command Prompt and type ipconfig. Look for "IPv4 Address" in the results — that is your current IP address. On Mac or Linux, open Terminal and type ifconfig or ip addr. You will see a line that says "inet" followed by your IPv4 address.
On a phone or tablet, go to Settings, then Network or Wi-Fi, and tap the network you are connected to. The IP address is usually listed there. If you want to find the IP address of another device on your network — like a printer or smart speaker — you can check your router's admin page. Log in with your router's address (usually 192.168.1.1 or 192.168.0.1) and look for a connected devices list.
Private IP addresses versus public IP addresses
The addresses you see on your home network — like 192.168.1.50 — are private IP addresses. They only work on your local network. Your router translates these private addresses into a public IP address when you send data out to the internet. Your public IP address is what websites and services see when you connect to them.
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. These ranges are reserved and never used on the public internet. This separation lets millions of home networks use the same private addresses without conflict — your 192.168.1.1 is completely separate from someone else's 192.168.1.1 because they are on different networks.
You can find your public IP address by visiting a site like whatismyipaddress.com or by searching "what is my IP" in any search engine. This is the address that identifies you to the outside world. It changes periodically unless you pay your internet service provider for a static IP, which is uncommon for home users.
How IP addresses connect to network security
Understanding IP addresses matters for security because they are how devices find and communicate with each other. If someone gains access to your network, they can see the IP addresses of all your devices. They can also use IP addresses to target specific devices — for example, trying to connect to your printer at 192.168.1.100 or your computer at 192.168.1.50.
This is one reason firewalls exist. Your router has a built-in firewall that blocks incoming connections to devices on your private network unless you explicitly allow them. It also hides your private IP addresses from the internet — only your public IP is visible outside your home. If you are concerned about someone on your local network accessing your devices, you can change your router settings to block connections between devices, though this is uncommon in home setups.
Frequently Asked Questions
Can I change my IP address?
Your private IP address can be changed through your router settings or your device settings, though there is usually no reason to do so. Your public IP address is assigned by your internet service provider and changes automatically over time — usually every few days to a few months. You cannot manually change it unless you contact your provider or restart your modem.
What does it mean if two devices have the same IP address?
This is called an IP conflict and it causes problems — usually one or both devices will lose internet connection. It happens when two devices are manually assigned the same address, or when your router's DHCP system (which automatically assigns addresses) makes a mistake. Restarting the affected devices usually fixes it, or you can manually assign them different addresses through your router.
Why does my IP address start with 192.168?
192.168 is one of the three reserved ranges for private networks, and it is the most common one used in home routers. Your router manufacturer chose this range as the default. Some routers use 10.0.0.0 or 172.16.0.0 instead, but 192.168 became the standard because it is easy to remember and provides plenty of addresses for a typical home.
Is my IP address the same as my MAC address?
No. Your IP address is like a mailing address — it tells routers where to send data. Your MAC address is like a serial number — it identifies your device on the local network. Every device has both. IP addresses can change, but MAC addresses are permanent and unique to each device.