A /28 subnet mask is 255.255.255.240, with a wildcard mask of 0.0.0.15. It leaves 4 host bits, so it holds 16 total addresses and 14 usable hosts, after reserving the network and broadcast addresses. A /28 is one sixteenth of a /24, so a single /24 network splits into 16 /28 subnets. It suits small groups of devices such as a branch office segment, a management VLAN, or a small cloud subnet.
Key takeaways
- A /28 is 255.255.255.240: 16 addresses, 14 usable hosts, wildcard 0.0.0.15.
- Usable hosts follow 2^(32 - prefix) - 2, so a /28 gives 2^4 - 2 = 14.
- A /24 splits into sixteen /28 subnets, each starting at a multiple of 16 in the last octet.
A /28 is one of the smallest subnets network engineers use every day — small enough to carve a network into tidy pieces, big enough for a small office or a management VLAN. The whole thing comes down to one number: 14 usable hosts.
What is a /28 subnet mask?
A /28 subnet mask is 255.255.255.240. It means the first 28 bits of a 32-bit IPv4 address identify the network, and the remaining 4 bits identify hosts inside that network.
CIDR notation, defined in RFC 4632, writes the prefix length after a slash: 192.168.1.0/28 means the address 192.168.1.0 with a 28-bit network prefix. The subnet mask is the same information written as four octets: 28 one-bits followed by 4 zero-bits, which is 11111111.11111111.11111111.11110000, or 255.255.255.240.
The wildcard mask — the inverse of the subnet mask, used in Cisco access lists — is 0.0.0.15. Where the subnet mask has 1s, the wildcard has 0s, and vice versa. If you work with firewalls or routers, you will meet both forms.
How many hosts does a /28 subnet have?
A /28 subnet has 16 total addresses and 14 usable hosts. The 4 host bits give 2 to the power of 4, which is 16 addresses, and two of those are reserved.
The formula is the same for every prefix: total addresses equal 2 raised to the power of (32 minus the prefix), and usable hosts equal that number minus 2. For a /28, that is 2^4 = 16 total, minus 2, leaving 14 usable hosts.
The two reserved addresses are the network address, where all host bits are 0, and the broadcast address, where all host bits are 1. You cannot assign either one to a device. So in 192.168.1.0/28, the network is .0, the broadcast is .15, and devices use .1 through .14.
How do you calculate a /28 subnet by hand?
You can work out any /28 block with three steps and no calculator. The key number is the block size: 256 minus the mask value in the interesting octet, which is the octet where the mask is neither 255 nor 0.
For a /28, the interesting octet is the fourth one, and the mask value there is 240. So the block size is 256 − 240 = 16. That means /28 networks start every 16 in the last octet: 0, 16, 32, 48, and so on up to 240.
Take the address 192.168.1.150. Round the last octet down to the nearest multiple of 16, which is 144. So the network is 192.168.1.144/28, the first usable host is .145, the last usable host is .158, and the broadcast is .159. You can verify the result with a subnet calculator such as the one from OpenVPN.
- Find the block size: 256 − 240 = 16.
- Find the network address: round the last octet down to a multiple of 16.
- Find the range: first usable is network + 1, last usable is broadcast − 1, broadcast is network + 15.
How many /28 subnets fit in a /24?
Sixteen /28 subnets fit in one /24. A /24 holds 256 addresses, a /28 holds 16, and 256 divided by 16 is 16 — so carving a /24 into /28s gives you sixteen equal segments of 14 usable hosts each.
This is the most common /28 exercise in networking exams and in real network design: take a small office /24 such as 192.168.10.0/24 and split it into departments or VLANs. The table below shows the first eight of the sixteen blocks; the pattern continues to .240.
| Subnet | Network | First usable | Last usable | Broadcast |
|---|---|---|---|---|
| 1 | 192.168.10.0/28 | .1 | .14 | .15 |
| 2 | 192.168.10.16/28 | .17 | .30 | .31 |
| 3 | 192.168.10.32/28 | .33 | .46 | .47 |
| 4 | 192.168.10.48/28 | .49 | .62 | .63 |
| 5 | 192.168.10.64/28 | .65 | .78 | .79 |
| 6 | 192.168.10.80/28 | .81 | .94 | .95 |
| 7 | 192.168.10.96/28 | .97 | .110 | .111 |
| 8 | 192.168.10.112/28 | .113 | .126 | .127 |
The same math scales up. The private range 192.168.0.0/16 holds 4,096 /28 subnets, 172.16.0.0/12 holds 65,536, and 10.0.0.0/8 holds 1,048,576. Those private ranges are defined in RFC 1918 and are not routable on the public internet.
How does a /28 compare with /27 and /29?
Each prefix bit you add halves the block, so neighboring sizes differ more than they look. One bit shorter, a /27 holds 32 addresses and 30 usable hosts; one bit longer, a /29 holds 8 addresses and 6 usable hosts.
| Prefix | Subnet mask | Total addresses | Usable hosts | Wildcard | Blocks per /24 |
|---|---|---|---|---|---|
| /25 | 255.255.255.128 | 128 | 126 | 0.0.0.127 | 2 |
| /26 | 255.255.255.192 | 64 | 62 | 0.0.0.63 | 4 |
| /27 | 255.255.255.224 | 32 | 30 | 0.0.0.31 | 8 |
| /28 | 255.255.255.240 | 16 | 14 | 0.0.0.15 | 16 |
| /29 | 255.255.255.248 | 8 | 6 | 0.0.0.7 | 32 |
| /30 | 255.255.255.252 | 4 | 2 | 0.0.0.3 | 64 |
The practical rule: pick the smallest prefix that fits your host count plus room to grow. If you need 7 to 14 hosts, a /28 fits. If you need 15 to 30, use a /27. Sizing too tightly is the classic mistake — a /28 that fills up forces a renumbering, which is far more painful than wasting a few addresses.
When should you use a /28 subnet?
A /28 is a good fit when you have a small, well-defined group of devices that should be isolated from the rest of the network. Common uses include a management VLAN for switches and access points, a small branch-office segment, a printer and IoT segment, or a DMZ holding a handful of servers.
Cloud platforms use /28s too. AWS, for example, sets /28 as the smallest subnet size allowed in a VPC, which makes it the natural choice for a tiny subnet holding a few NAT gateways or load balancer nodes. Other providers reserve a few addresses of their own inside every subnet, so always check your provider's documentation before sizing a subnet tightly.
Segmentation is also a security control. Splitting a flat network into small subnets limits how far an attacker or malware can move sideways once inside. A compromised printer on its own /28 cannot directly reach workstations on another subnet unless a router or firewall allows it.
If you are securing a home network, our guide to how to secure your Wi-Fi covers the same isolation idea for home gear.
Can you split a /28 into smaller subnets?
Yes. Each extra prefix bit halves the block, so a /28 splits into two /29 subnets with 6 usable hosts each, four /30 subnets with 2 usable hosts each, or eight /31 subnets. But every split costs addresses: two /29s together hold only 12 usable hosts, two fewer than the /28 they came from, because each half gives up its own network and broadcast addresses.
That loss is why you should not over-subnet. Splitting a /28 into /30s for point-to-point links makes sense, since a /30 is the standard size for a link between two routers. Splitting it into /29s just to separate two groups of three devices usually does not, because you burn a quarter of your addresses on overhead.
What are the most common /28 mistakes?
Most /28 mistakes are arithmetic slips or sizing errors, and they show up as devices that cannot talk to each other or addresses that collide.
- Forgetting the two reserved addresses. A /28 holds 14 usable hosts, not 16. Planning for 16 devices guarantees two of them will not work.
- Starting a subnet at the wrong boundary. /28 networks must start at multiples of 16 in the last octet. 192.168.1.20/28 is not a valid network address — the network is 192.168.1.16/28, and .20 is a host inside it.
- Mixing up the mask and the wildcard. 255.255.255.240 is the subnet mask; 0.0.0.15 is the wildcard. Using one where the other belongs breaks access lists and firewall rules.
- Sizing too tightly. A /28 with 14 devices has no room for a new printer, a new access point, or a temporary device. Leave headroom or size up to a /27.
- Using a /28 where DHCP needs more room. A guest network or a busy office floor can exhaust 14 addresses fast. Check how many devices actually connect before choosing.
Should you use a /28 or a /24 for a small network?
For a home network or a tiny office, a /24 is usually simpler: 254 usable hosts, no subnet math to maintain, and room for every device you will ever add. The cost is a flat network where every device can reach every other device.
A /28 earns its place when you want isolation or conservation. If you are carving one /24 into segments for departments, device types, or security zones, /28s give you sixteen tidy compartments. If you are renting public address space, smaller subnets waste less of a scarce resource. And in cloud environments, small subnets keep routing tables and security groups easier to reason about.
If you are still mapping your network, start by finding what is already on it. Our free what is my IP tool shows your public address.
A DNS lookup also helps you check how your names resolve before you redesign anything.
The bottom line
A /28 subnet mask is 255.255.255.240, giving 16 addresses and 14 usable hosts in each block. It is the right size for a small, isolated group of devices — a management VLAN, a branch segment, or a small cloud subnet — and sixteen of them fit neatly into a /24.
Remember the two rules that prevent most mistakes: usable hosts are always total addresses minus two, and /28 networks start at multiples of 16. Size up to a /27 if you expect growth, and your network will not need renumbering six months from now.
Frequently asked questions
How many hosts does a /28 subnet have?
A /28 has 16 total addresses and 14 usable hosts. Two addresses are reserved: the network address, with all host bits set to 0, and the broadcast address, with all host bits set to 1.
What is the subnet mask for a /28?
The /28 subnet mask is 255.255.255.240 in dotted decimal, or 11111111.11111111.11111111.11110000 in binary. Its wildcard mask is 0.0.0.15.
How many /28 subnets are in a /24?
Sixteen. A /24 holds 256 addresses and a /28 holds 16, so 256 divided by 16 gives 16 subnets, each starting at a multiple of 16 in the last octet: 0, 16, 32, and so on up to 240.
What is the difference between a /28 and a /29?
A /28 has 16 addresses and 14 usable hosts, while a /29 has 8 addresses and 6 usable hosts. Each extra prefix bit halves the block, so a /28 splits into two /29 subnets.
When should I use a /28 subnet?
Use a /28 when you need 7 to 14 hosts in one segment, such as a small office, a management network, a printer VLAN, or a small cloud subnet. If you may need more than 14 hosts soon, size up to a /27 instead.
What is the broadcast address of 192.168.1.0/28?
The broadcast address is 192.168.1.15. The network address is 192.168.1.0, usable hosts run from 192.168.1.1 to 192.168.1.14, and the last address, 192.168.1.15, is the broadcast address.
Is a /28 the smallest subnet I can use?
No. Smaller prefixes exist: a /29 gives 6 usable hosts, a /30 gives 2 and is used for point-to-point links, and a /31 gives 2 usable addresses under RFC 3021 for point-to-point links without a broadcast address.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against RFC 4632 and RFC 1918, and cross-checked with OpenVPN's subnet calculator and published CIDR tables.
How we write and fact-check →