- Home
- Tools
- Network Tools
- Subnet Calculator
- /28 Subnet (255.255.255.240)
/28 Subnet (255.255.255.240)
A /28 network has 16 addresses, 14 of them usable, and the subnet mask 255.255.255.240. Sixteen of them fit in a /24.
With or without a prefix: 192.168.1.10/24
Network in CIDR notation
192.168.1.16/28
14 usable hosts, from 192.168.1.17 to 192.168.1.30.
- Network address
- 192.168.1.16
- Broadcast address
- 192.168.1.31
- First usable host
- 192.168.1.17
- Last usable host
- 192.168.1.30
- Usable hosts
- 14
- Total addresses
- 16
- Subnet mask
- 255.255.255.240
- Wildcard mask
- 0.0.0.15
- IP class
- C, default mask /24
- Address type
- Private (RFC 1918), in 192.168.0.0/16
In binary
- Address
- 11000000.10101000.00000001.00010000
- Mask
- 11111111.11111111.11111111.11110000
- Network
- 11000000.10101000.00000001.00010000
- Broadcast
- 11000000.10101000.00000001.00011111
The line marks where the network part ends: 28 network bits to its left, 4 host bits to its right.
Split into smaller subnets
4 subnets of /30, 2 usable hosts each.
- 192.168.1.16/30Hosts 192.168.1.17 – 192.168.1.18Broadcast 192.168.1.19
- 192.168.1.20/30Hosts 192.168.1.21 – 192.168.1.22Broadcast 192.168.1.23
- 192.168.1.24/30Hosts 192.168.1.25 – 192.168.1.26Broadcast 192.168.1.27
- 192.168.1.28/30Hosts 192.168.1.29 – 192.168.1.30Broadcast 192.168.1.31
/28 at a glance
- Subnet mask
- 255.255.255.240
- Mask in binary
- 11111111.11111111.11111111.11110000
- Wildcard mask
- 0.0.0.15
- Addresses in one network
- 16
- Usable for hosts
- 14
- Networks of this size
- 16 in a /24, 4,096 in a /16
Where /28 networks begin
One network covers 16 addresses, so a new network begins wherever the last number of the address is a multiple of 16: 0, 16, 32, 48 and so on up to 240.
192.168.1.0/24 divided into 16 networks of /28
- 192.168.1.0/28Hosts 192.168.1.1 – 192.168.1.14Broadcast 192.168.1.15
- 192.168.1.16/28Hosts 192.168.1.17 – 192.168.1.30Broadcast 192.168.1.31
- 192.168.1.32/28Hosts 192.168.1.33 – 192.168.1.46Broadcast 192.168.1.47
- 192.168.1.48/28Hosts 192.168.1.49 – 192.168.1.62Broadcast 192.168.1.63
- 192.168.1.64/28Hosts 192.168.1.65 – 192.168.1.78Broadcast 192.168.1.79
- 192.168.1.80/28Hosts 192.168.1.81 – 192.168.1.94Broadcast 192.168.1.95
- 192.168.1.96/28Hosts 192.168.1.97 – 192.168.1.110Broadcast 192.168.1.111
- 192.168.1.112/28Hosts 192.168.1.113 – 192.168.1.126Broadcast 192.168.1.127
- 192.168.1.128/28Hosts 192.168.1.129 – 192.168.1.142Broadcast 192.168.1.143
- 192.168.1.144/28Hosts 192.168.1.145 – 192.168.1.158Broadcast 192.168.1.159
- 192.168.1.160/28Hosts 192.168.1.161 – 192.168.1.174Broadcast 192.168.1.175
- 192.168.1.176/28Hosts 192.168.1.177 – 192.168.1.190Broadcast 192.168.1.191
- 192.168.1.192/28Hosts 192.168.1.193 – 192.168.1.206Broadcast 192.168.1.207
- 192.168.1.208/28Hosts 192.168.1.209 – 192.168.1.222Broadcast 192.168.1.223
- 192.168.1.224/28Hosts 192.168.1.225 – 192.168.1.238Broadcast 192.168.1.239
- 192.168.1.240/28Hosts 192.168.1.241 – 192.168.1.254Broadcast 192.168.1.255
In practice
It is the smallest subnet AWS accepts in a VPC. AWS keeps the first four addresses and the last one of every subnet for itself, so of the 16 only 11 are left for your own machines.
On an ordinary network a /28 gives 14 hosts: enough for a handful of servers or a DMZ, and easy to recognise because every network starts on a multiple of 16.
The subnet calculator takes any address with any prefix or mask, explains the address classes and the private ranges, and splits a network into subnets.
Other prefix lengths
- /8 (255.0.0.0)
- /12 (255.240.0.0)
- /16 (255.255.0.0)
- /20 (255.255.240.0)
- /21 (255.255.248.0)
- /22 (255.255.252.0)
- /23 (255.255.254.0)
- /24 (255.255.255.0)
- /25 (255.255.255.128)
- /26 (255.255.255.192)
- /27 (255.255.255.224)
- /29 (255.255.255.248)
- /30 (255.255.255.252)
- /31 (255.255.255.254)
- /32 (255.255.255.255)
- Subnet mask cheat sheet