An IP address has four numbers separated by dots, each between 0 and 255
An IP address is written as four numbers separated by periods, like 192.168.1.5. Each number can be anywhere from 0 to 255. That format — four numbers in that range — is the standard for the most common type of IP address, called IPv4, which is what you'll see on your home network.
When you set up a home network, your router assigns IP addresses to every device that connects to it: your phone, laptop, smart TV, printer, and anything else. Those four numbers are how your router knows which device is which and where to send data. Without them, your network wouldn't know whether a message was meant for your phone or your computer.
The reason each number stops at 255 is technical — it's the highest value you can store in 8 bits of computer memory — but what matters for your network is that this system lets you have up to about 4 billion unique addresses. Your home network uses only a tiny fraction of that.
Key Takeaways
- Every IP address on your home network has exactly four numbers, each between 0 and 255, separated by dots.
- Your router assigns these addresses automatically to each device, so you usually don't have to set them yourself.
- The first one, two, or three numbers identify your network; the last number or two identify the specific device.
- Knowing your device's IP address helps you troubleshoot network problems and find your router's settings page.
Why the four-number format matters for your home network
Your home network is a small, private version of the internet. The internet itself uses IP addresses to route data from one place to another — from a server in California to your house in Ohio, for example. Your home network does the same thing on a much smaller scale, routing data between your devices and your router, and between your router and the internet.
The four-number format is a standard that every device on earth understands. When your phone connects to your WiFi, it gets an IP address like 192.168.1.42. When your laptop connects, it might get 192.168.1.43. Your printer might be 192.168.1.50. Your router itself has an address too, usually something like 192.168.1.1. Because all these addresses follow the same format, every device knows how to talk to every other device.
This matters for security because it means you can see exactly which devices are on your network. If you log into your router and look at the list of connected devices, you'll see their IP addresses. If you see an address you don't recognize, you know something unexpected is connected to your WiFi.
How to find your device's IP address
On Windows, open the Command Prompt (search for "cmd" in the Start menu) and type ipconfig. Look for the line that says "IPv4 Address" — that's your four-number address.
On Mac, go to System Settings, click Network on the left, select your WiFi connection, and look for "IP Address" in the details. It will be four numbers separated by dots.
On iPhone or iPad, go to Settings, tap WiFi, then tap the information icon (i) next to your network name. Scroll down to find "IP Address."
On Android, go to Settings, tap WiFi, long-press your network name, and tap "Manage." The IP address appears under "IP Address."
What each number in the address tells you
In a typical home network address like 192.168.1.42, the first three numbers (192.168.1) identify your network. The last number (42) identifies your specific device. This is why all your devices at home have addresses that start with the same three numbers — they're all on the same network.
The first number is the broadest identifier. Addresses starting with 192 are reserved for home and small business networks. Addresses starting with 10 or 172 are also private networks. Addresses starting with anything else are public — they're routable on the actual internet. Your home network uses private addresses because you don't need the whole world to be able to reach your printer directly.
The second and third numbers narrow it down further. If you have multiple networks in your house (which is rare), they might use different second or third numbers. The last number is what your router uses to distinguish between your devices. Most home routers can assign addresses from .1 to .254 in the last position, which means you can have up to 254 devices on one network — far more than most homes need.
IPv6: the newer format with more numbers
There's a newer type of IP address called IPv6 that uses six groups of numbers instead of four, separated by colons. An IPv6 address looks like 2001:0db8:85a3:0000:0000:8a2e:0370:7334. It was created because the world was running out of IPv4 addresses, and IPv6 can create vastly more unique addresses.
Most home networks still use IPv4, but many devices now support both. Your router might assign your phone an IPv4 address and an IPv6 address at the same time. For the purposes of setting up and securing your home network, you can focus on IPv4 — that's what you'll see in your router's settings and what most home network troubleshooting involves.
If you see an IPv6 address on your device, it's not a problem. It just means your device can also communicate using the newer format. Your router handles both automatically.
How your router assigns these addresses automatically
When you set up your router, you don't manually type in IP addresses for each device. Instead, your router runs a service called DHCP (Dynamic Host Configuration Protocol) that hands out addresses automatically. When your phone connects to your WiFi, it asks the router for an address. The router picks one that isn't already in use and sends it to your phone. Your phone uses that address until it disconnects or the lease expires.
This is why you usually don't have to think about IP addresses at all. The router handles it. But if you're troubleshooting a network problem — like a device that won't connect, or a printer that's unreachable — knowing how to find your device's IP address helps you figure out what's wrong.
Some devices, like security cameras or network printers, work better when they have a fixed IP address that doesn't change. You can set this in your router's settings by telling it to always assign the same address to a specific device. This is called a static IP address, and it's useful when you need to access that device reliably from the same address every time.
Why this matters for network security
Understanding IP addresses helps you spot problems on your network. If you log into your router and see a device with an IP address you don't recognize, that's a sign something unexpected is connected. It might be a guest device, or it might be something that shouldn't be there.
IP addresses also help you access your router's settings page. Most home routers use an address like 192.168.1.1 or 192.168.0.1. You type that address into your browser's address bar, and it takes you to the login page where you can change your WiFi password, see which devices are connected, or update your router's firmware. Knowing this format helps you find that page quickly if you need to make changes.
When you're setting up a find home network, you'll also want to change your router's default password and turn on WPA3 encryption (or WPA2 if WPA3 isn't available). You access those settings through your router's IP address. Understanding how these addresses work makes that process less mysterious.
Frequently Asked Questions
Can two devices have the same IP address on my home network?
Not normally. Your router's DHCP service prevents this by keeping track of which addresses it has handed out. If two devices somehow ended up with the same address, they would interfere with each other and neither would work properly. This is rare because the router prevents it automatically.
What if I see 127.0.0.1 as an IP address?
That's a special address called localhost that means "this computer." It's used for testing and troubleshooting on a single device. You won't see it on other devices on your network — it's only for the device itself.
Does my IP address change every time I restart my device?
Usually not. Your router typically assigns the same address to the same device each time it connects, even after a restart. But DHCP leases do expire eventually, and if your device is disconnected for a long time, it might get a different address when it reconnects. For most home networks, this doesn't matter.
Can someone hack me through my IP address?
Your home network's private IP addresses (like 192.168.1.x) are not directly reachable from the internet. Someone on the internet cannot target your device using its private IP address. Your router sits between your devices and the internet, protecting them. This is one reason home networks are relatively safe by default.
Why do some devices ask for a static IP address?
Devices like security cameras, network printers, or smart home hubs sometimes need a fixed address so you can always reach them at the same location. If the address changed every time, you'd have to look up the new address each time. Setting a static IP in your router ensures the device always gets the same address.