How Many Ips In A /28: Exact Answer & Steps

5 min read

How Many IPs Are in a /28? The Inside Story You Need to Know

Ever stared at a subnet mask and felt like you’d stumbled into a math puzzle? You’re not alone. But in networking, those four slash‑numbers are the key to unlocking how many addresses you can actually use. When you see “/28,” your mind might jump to coffee, flights, or that embarrassing math test you failed. Let’s cut through the jargon and get straight to the numbers—because knowing how many IPs are in a /28 can save you time, money, and a few headaches Took long enough..

Honestly, this part trips people up more than it should.


What Is a /28?

A /28 is a way of writing a subnet mask in CIDR (Classless Inter-Domain Routing) notation. Think of it like a shorthand for “the first 28 bits of the IP address are fixed, and the rest can change.” In IPv4, that means you’re working with a 32‑bit address, so 32 – 28 = 4 bits are left for host addresses.

That might sound abstract, but here’s the practical takeaway: a /28 gives you 16 IP addresses total. Why 16? Because 2⁴ equals 16. One of those addresses is the network address, another is the broadcast address, and the remaining 14 are usable by devices.


Why It Matters / Why People Care

You might wonder why the distinction between usable and total IPs matters. In real life, it’s the difference between a room that can actually hold people and the theoretical capacity of the building Took long enough..

  1. Planning networks – If you’re setting up a small office or a home lab, knowing you have 14 usable IPs can help you decide whether you need a /28 or a larger subnet.
  2. Avoiding waste – Buying or allocating a /24 (256 IPs) for a tiny network is like buying a house with 200 rooms you’ll never fill. It’s expensive and inefficient.
  3. Security – Smaller subnets limit broadcast traffic and can make network segmentation easier to manage.

So, next time you see a /28, remember: you’re looking at a tight, efficient block of 16 addresses, 14 of which are actually usable.


How It Works (or How to Do It)

Breaking Down the Math

Let’s walk through the numbers step by step:

  1. Start with 32 bits – every IPv4 address is 32 bits long.
  2. Subtract the prefix – /28 means 28 bits are fixed for the network.
  3. The rest is for hosts – 32 – 28 = 4 bits.
  4. Calculate total addresses – 2⁴ = 16.
  5. Subtract network and broadcast – 16 – 2 = 14 usable addresses.

Visualizing the Subnet

Imagine a block of 16 houses on a street. The last house is the “broadcast” house—used to send messages to everyone. The first house is the “network” house—no one lives there. The 14 houses in between are where people (devices) actually live.

Common Subnet Mask for /28

  • CIDR: /28
  • Subnet mask: 255.255.255.240
  • Network address: First address in the block
  • Broadcast address: Last address in the block

Common Mistakes / What Most People Get Wrong

  1. Counting the network and broadcast as usable – Many newbies add the two special addresses to the usable count, ending up with 16 instead of 14.
  2. Assuming /28 is a “small” subnet – In practice, /28 is perfect for a handful of devices, not a single device. If you only need one host, a /30 might be more appropriate.
  3. Overlooking subnet boundaries – When you jump from /27 to /28, you’re cutting the address space in half. Forgetting that can lead to misconfigured networks.
  4. Using the wrong subnet mask – Mixing up 255.255.255.240 with 255.255.255.248 (which is /29) will throw off your address count.

Practical Tips / What Actually Works

  1. Plan ahead – Sketch your network layout and calculate how many hosts you’ll need per subnet before you reserve IPs.
  2. Use a subnet calculator – Quick online tools can confirm your math and show you the exact network/broadcast addresses.
  3. Document everything – Keep a spreadsheet of each subnet’s range, purpose, and device list. It saves headaches when troubleshooting.
  4. Consider future growth – If you anticipate adding a few more devices, bump up to a /27 (30 usable IPs) instead of a /28.
  5. use DHCP – For small networks, let a DHCP server handle IP allocation within the /28 to avoid manual errors.

FAQ

Q1: Can I use a /28 for a single device?
A1: Technically yes, but you’ll waste 13 of the 14 usable IPs. A /30 (2 usable IPs) is more efficient for point‑to‑point links Easy to understand, harder to ignore. Practical, not theoretical..

Q2: What’s the difference between /28 and /29?
A2: /28 gives 14 usable IPs; /29 gives 6. Pick based on how many devices you need Worth knowing..

Q3: Are /28 subnets common in home networks?
A3: Not usually. Home routers often use /24 (256 addresses). But if you’re running a small lab or a dedicated VLAN, a /28 can be handy Worth keeping that in mind..

Q4: How do I find the broadcast address of a /28?
A4: Take the network address, flip all host bits to 1, and that’s your broadcast. Here's one way to look at it: 192.168.1.0/28 → broadcast 192.168.1.15.

Q5: Why do some tutorials say “/28 = 16 IPs” but only 14 are usable?
A5: They’re counting total addresses, not usable ones. Remember the network and broadcast addresses are reserved.


Closing Thought

Knowing exactly how many IPs a /28 holds isn’t just a nerdy trivia fact—it’s a practical skill that keeps your network lean, efficient, and ready for the next device you want to add. So next time you see that /28, you’ll be able to say with confidence: “I’ve got 14 usable IPs to play with.” And that’s a win for anyone who likes to keep things tidy and well‑understood Which is the point..

Latest Drops

Hot New Posts

Dig Deeper Here

You Might Want to Read

Thank you for reading about How Many Ips In A /28: Exact Answer & Steps. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home